Learn R Programming

PoweR (version 1.0.7)

stat0075.Cressie2: The 2nd Cressie test for uniformity

Description

The 2nd Cressie test S_{n}^{(m)} 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.

Arguments

Details

If m is not specified it assumes the default value of 2. Note that n is the sample size.

References

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

Cressie, N. (1979), An optimal statistic based on higher order gaps, Biometrika, 66, 619--627.

See Also

See Uniformity.tests for other goodness-of-fit tests for uniformity.