chi_stat_disc {Rgof} | R Documentation |
chi square statistic for discrete data
chi_stat_disc(param, x, pnull, bins, formula, rate = 0)
param |
parameter for pnull |
x |
Vector of observations |
pnull |
cumulative distribution function under the null hypothesis |
bins |
vector of indices of bins |
formula |
type of chi square formula to use |
rate |
rate of Poisson if sample size is random, 0 otherwise |
chi square statistic