[SciPy-Dev] Independent T-tests with unequal variances

Junkshops junkshops@gmail....
Mon Apr 30 19:12:51 CDT 2012


Hello all,

I hope, as an utter newb poking my nose into this list, that I'm not 
giving the author of Miss Manner's Book of Netiquette the vapours.

This is a follow up to Deniz Turgut's recent email: 
http://article.gmane.org/gmane.comp.python.scientific.devel/16291/

"There is also a form of t-test for independent samples with different 
variances, also known as Welch's t-test [2]. I think it is better to 
include the 'identical variance' assumption in the doc to avoid confusion."

I was just caught by this problem and heartily agree with Deniz's views. 
However, I didn't see any explicit plans to add Welch's test to 
scipy/stats/stats.py, and I needed an implementation of the test and so 
implemented it. A diff against scipy 0.10.1 is attached if anyone might 
find it useful.

Cheers,

Gavin


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stats.py.diff
Url: http://mail.scipy.org/pipermail/scipy-dev/attachments/20120430/8ea08d3b/attachment.pl 


More information about the SciPy-Dev mailing list