Welch's t-test: Difference between revisions

Content added Content deleted
(mean1==mean2 is not necessary (will lead to x=1 in betain, which will return 1) + n1<=1 or n2<=1 is actually an error)
Line 423: Line 423:
=== Using SLATEC ===
=== Using SLATEC ===


With Absoft Pro Fortran, compile with <code>af90 pvalue.f90 %SLATEC_LINK%</code>.
With Absoft Pro Fortran, compile with <code>af90 -m64 pvalue.f90 %SLATEC_LINK%</code>.


<lang fortran>subroutine welch_ttest(n1, x1, n2, x2, t, df, p)
<lang fortran>subroutine welch_ttest(n1, x1, n2, x2, t, df, p)