t_test_unequal_variance Subroutine

public subroutine t_test_unequal_variance(x1, x2, stat, p, dof)

Computes the 2-tailed Student's T-Test for two data sets of assumed non-equivalent variances.

See Also

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x1(:)

An N-element array containing the first data set.

real(kind=real64), intent(in) :: x2(:)

An M-element array containing the second data set.

real(kind=real64), intent(out) :: stat

The Student-'s T-Test statistic.

real(kind=real64), intent(out) :: p

The probability value that the two samples are likely to have come from two underlying populations that have the same mean.

real(kind=real64), intent(out) :: dof

The degrees of freedom.


Contents