[SciPy-user] Some help with chisquare

Erik Wickstrom erik at erikwickstrom.com
Wed Oct 22 13:55:25 EDT 2008


Hi,

I'm trying to port an application to python, and want to use scipy to handle
the statistics.

The app takes several tests and uses chi-square to determines which has the
highest success rate with a confidence of 95% or better (critical
values/degrees of freedom).

For example:
Test a:
Total trials = 100
Total successes = 60

Test b:
Total trials = 105
Total successes = 46

Test c:
Total trials = 98
Total successes = 52

It then puts the data through some sort of chi-square formula (or so the
comments say) and produces a chi-square value that can be compared against
the critical values for 95% confidence.

Trouble is, I'm not sure which of the many scipy chi-square functions to
use, and what data I need to feed into them....

Any suggestions?
Thanks!
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20081022/82d44e4f/attachment.html>


More information about the SciPy-User mailing list