[Tutor] chi-squared calculations

Tesla Coil tescoil@irtc.net
Tue, 02 Jan 2001 09:36:12 -0600


On 2 Jan 2001, Catriona Johnston wrote:
> I really don't want to reinvent the wheel if I can at all help it
> and so was wondering if anyone out there knows of a Python
> module which can calculate chi-squares?

http://numpy.sourceforge.net/

--From the documentation:
chi_square (df, shape=ReturnFloat)
The chi_square() function returns an array of the specified
shape that contains double precision floating point numbers
with the chi square distribution with df degrees of freedom.
If no shape is specified, a single number is returned.