chisquare.test {simgof} | R Documentation |
This function does the chisquare test
chisquare.test(x, case, which = "RGd")
x |
data set |
case |
setup info |
which |
type of binning (either RGd, Equal Size or Equal Prob) |
A numeric vector of length 1 with the value of the chi-square statistic.
case <- list(B=1000, param = NULL, n = 1000, pnull = function(x, param) punif(x),
rnull = function(n, param) runif(n), qnull = function(x, param) qunif(x),
est.mle = function(x) NA, nbins = 10)
x <- runif(1000)
chisquare.test(x, case)