Welch's t-test: Difference between revisions
m
→{{header|C}}
m (→{{header|C}}) |
|||
Line 44:
=={{header|C}}==
{{works with|C99}}
Link with <code>-lm</code>
This shows how pvalue can be calculated from any two arrays, using Welch's 2-sided t-test, which doesn't assume equal variance.
The high "n" value ensures roughly 6 digits convergence with Simpson's integral approximation.
|