Simulate p-values from a goodness-of-fit test.
Arguments
- object
An object of class
ordinal::clm(),stats::glm(),rms::lrm(),rms::orm(),MASS::polr(), orVGAM::vglm().- nsim
Integer specifying the number of bootstrap replicates to use.
- test
Character string specifying which goodness-of-fit test to use. Current options include:
"ks"for the Kolmogorov-Smirnov test,"ad"for the Anderson-Darling test, and"cvm"for the Cramer-Von Mises test. Default is"ks".- ...
Additional optional arguments. (Currently ignored.)
- x
An object of class
"gof".