The Read-Cressie test 2nI^{lambda}
for uniformity is used
- to compute its statistic and p-value by calling function statcompute
;
- to compute its quantiles by calling function compquant
or many.crit
;
- to compute its power by calling function powcomp.fast
or powcomp.easy
.
If \(\lambda\) is not specified it assumes the default value of 1. Note that n
is the sample size.
Pierre Lafaye de Micheaux, Viet Anh Tran (2016). PoweR: A Reproducible Research Tool to Ease Monte Carlo Power Simulation Studies for Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1--42. doi:10.18637/jss.v069.i03
Read, Timothy R. C. and Cressie, Noel A. C. (1988), Goodness-of-fit statistics for discrete multivariate data, Springer Series in Statistics. Springer-Verlag, New York.
See Uniformity.tests
for other goodness-of-fit tests for uniformity.