Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

unif.test.statistic

Statistic of some uniformity tests


Description

Computes the statistic of a uniformity test (see available tests below).

Usage

unif.test.statistic(x, type, transform=NULL)

Arguments

x

a vector containing the sample values.

type

a character indicating which test is used. The choices are the following: "greenwood", "qm" (for Quesenberry-Miller), "ks" (Kolmogorov-Smirnov), "cvm" (Cramer-Von Mises) and "V" (D+ + D- from Kolmogorov-Smirnov).

transform

an optional character indicating what type of transformation should be applied before testing uniformity. Default is NULL.

Value

A real number equal to the statistic of the specified test.

Author(s)

O. Roustant

References

D Agostino R.B., Stephens M.A. (1986), Goodness-of-fit techniques, CRC Press, New York.

See Also


DiceDesign

Designs of Computer Experiments

v1.9
GPL-3
Authors
Jessica Franco, Delphine Dupuy, Olivier Roustant, Patrice Kiener, Guillaume Damblin and Bertrand Iooss.
Initial release
2021-02-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.