chi_test_disc {Rgof} | R Documentation |
This function performs a number of chisquare gof tests for discrete data
chi_test_disc(
x,
pnull,
param,
nbins = as.integer(c(100, 10)),
formula = "Pearson",
rate = 0,
Minimize = 0L,
minexpcount = 2
)
x |
data set |
pnull |
cdf under the null hypothesis |
param |
starting values of multi-D minimum chi square minimization |
nbins |
=c(100, 10) number of bins for chisquare tests |
formula |
type of chi square formula to use |
rate |
rate of Poisson if sample size is random, 0 otherwise |
Minimize |
Should minimum chi square be found? |
minexpcount |
=2 minimal expected bin count required |
A numeric matrix of test statistics, degrees of freedom and p values