indchisq {Mychisq}R Documentation

Independence test

Description

This function is for independence test

Usage

indchisq(O, conf.level = 0.95)

Arguments

O

an observed matrix has a rows and b columns

conf.level

confidence level

Value

output for independence test

References

Plackett, R. L. (1983). <doi:10.2307/1402731>.

Examples

v <- c(80,60,150,50,40,20)
X<- matrix(v,ncol=2,byrow = TRUE)  # 3x2
indchisq(X)


[Package Mychisq version 0.1.3 Index]