Image

Imageemperor wrote in Imagepython_dev

Chi-squared tests?

I want to do some chi-squared tests in python. I can calculate the test statistic myself, but I then want to see if it's statistically significant, given I know the number of degrees of freedom.

numarray contains chi_square, but that just gives numbers from a chi-squared distribution, which isn't terribly helpful.

Surely this must be a standard piece of code?