Stats 0.4.0 ttest - CyrilB1531/lodestar GitHub Wiki
Lodestar.Stats 0.4.0. This page is frozen at that release. Read the current documentation for what
mainsays now. A link to a decision or a migration page followsmain, and leaves the archive.
TTest
Student's and Welch's t-tests: independent, paired and one-sample.
Arrays in, a statistic and a p-value out; every entry point is static.
Independent defaults to Variance.Welch, where
scipy.stats.ttest_ind defaults to Student's equal_var=True — pooling is only correct when
the two populations really share a variance, so the safer default costs a word at the call site
rather than a wrong answer.
Members
| Member | What it does |
|---|---|
TTest.Independent |
Compares the means of two independent samples. |
TTest.Paired |
The paired t-test: a one-sample test on the differences. |
TTest.OneSample |
Compares a sample's mean against a stated population mean. |