This function performs a number of gof tests for continuous data and finds the adjusted p value
gof_test_cont_adj(
x,
pnull,
rnull,
w = function(x) -99,
phat = function(x) 0,
TS,
TSextra = NA,
nbins = c(50, 10),
rate = 0,
Range = c(-Inf, Inf),
B = c(5000, 1000),
minexpcount = 5,
ChiUsePhat = TRUE,
doMethods = c("W", "ZC", "AD", "ES-s-P")
)
None
data set
cdf under the null hypothesis
routine to generate data under the null hypothesis
=function(x) =99 (Optional) function to calculate weights, returns -99 if no weights
=function(x) -99, function to estimate parameters from the data, or -99 if no parameters aare estimated
user supplied function to find test statistics, if any
=NA, list passed to TS, if desired
=c(50, 10) number of bins for chi-square tests
=0 rate of Poisson if sample size is random, 0 if sample size is fixed
=c(-Inf, Inf) limits of possible observations, if any, for chi-square tests
=c(5000,1000) number of simulation runs for p values and for p value distribution
=5 minimal expected bin count required
=TRUE, if TRUE param is estimated parameter, otherwise minimum chi square method is used.
Methods to include in tests