Welch's t-test: Difference between revisions
Content added Content deleted
(→{{header|Python}}: added lower level calculation, with benchmarks to make more similar to other languages) |
m (→Using Burkardt's betain: added output) |
||
Line 1,358: | Line 1,358: | ||
print 'the cumulative error is %g' % error</lang> |
print 'the cumulative error is %g' % error</lang> |
||
{{out}} |
|||
<pre> |
|||
Test sets 1 p-value = 0.021378001462867 |
|||
Test sets 2 p-value = 0.14884169660533 |
|||
Test sets 3 p-value = 0.035972271029797 |
|||
Test sets 4 p-value = 0.090773324285661 |
|||
Test sets 5 p-value = 0.010751561149784 |
|||
Test sets 6 p-value = 0.0033990716271375 |
|||
Test sets 7 p-value = 0.52726574965384 |
|||
Test sets z p-value = 0.54526686697779 |
|||
the cumulative error is 1.13104e-14 |
|||
</pre> |
|||
=== Using NumPy & SciPy === |
=== Using NumPy & SciPy === |