Take a look at Statistics::ChiSquare. If you are being asked to write this from scratch by your boss, professor or whoever check out: http://en.wikipedia.org/wiki/Chi-squared_test.
In reply to Re: calculate Chi-Square test
by blue_cowdawg
in thread calculate Chi-Square test
by dicty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |