Discrete Goodness-of-Fit Tests

A revision to the stats::ks.test() function and the associated ks.test.Rd help page. With one minor exception, it does not change the existing behavior of ks.test(), and it adds features necessary for doing one-sample tests with hypothesized discrete distributions. The package also contains cvm.test(), for doing one-sample Cramer-von Mises goodness-of-fit tests.


READMETaylor Arnold and Jay Emerson 24 October 2013

This revision to ks.test() complements the applied paper "Statistical sleuthing by leveraging human nature: A study of Olympic figure skating", JW Emerson, TB Arnold - The American Statistician, 2011, and the technical paper "Nonparametric Goodness-of-Fit Tests for Discrete Null Distributions", TB Arnold, JW Emerson, The R Journal Vol. 3/2, December 2011

Please send questions or comments to Jay [email protected] and Taylor [email protected]

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dgof")

1.5.1 by Taylor B. Arnold, 2 years ago


Browse source code at https://github.com/cran/dgof


Authors: Taylor B. Arnold [aut, cre] , John W. Emerson [aut] , R Core Team and contributors worldwide [aut]


Documentation:   PDF Manual  


GPL (>= 2.0) license



Imported by KSgeneral, cpd, dpcR, mlrpro, nestfs.

Suggested by RVAideMemoire, discretefit.


See at CRAN