Welch's t-test: Difference between revisions

Content added Content deleted
(change to draft; change description; link to WP)
Line 4: Line 4:


=={{header|C}}==
=={{header|C}}==
{{works with|C99}}
This shows how pvalue can be calculated from any two arrays, using Welch's 2-sided t-test, which doesn't assume equal variance.
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 17 digits convergence with Simpson's integral approximation.
The high "n" value ensures roughly 17 digits convergence with Simpson's integral approximation.