Description Usage Arguments Value Author(s) Examples
This function takes 1 or 2 arguments to calculate the chi squared goodness of fit value from these arguments.
1  | chi.test(x,p)
 | 
x | 
 is a categorical variable vector of numbers, counting number of each incident.  | 
p | 
 is an optional vector of probabilities. If unused, replaced by a uniformly distributed vector of probabilities.  | 
returns the Chi-squared goodness of fit value, calculated using Pearson's Chi-squared test
Nguyen Khanh Le Ho & Emil H. Andersen 
Department of Mathematics and Computer Science (IMADA) 
University of Southern Denmark, Denmark 
emila14@student.sdu.dk 
ngho14@student.sdu.dk 
1  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.