t_test Interface

public interface t_test

T 检验


Contents


Module Procedures

private impure subroutine welch_t_test(x, y, pval, t, dof)

Welch T 检验

Arguments

TypeIntentOptionalAttributesName
real(kind=wp), intent(in) :: x(:)
real(kind=wp), intent(in) :: y(:)
real(kind=wp), intent(out) :: pval

p-value

real(kind=wp), intent(out) :: t

T 值

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

自由度

private impure subroutine student_t_test(x, mean, pval, t, dof)

单样本 Student T 检验

Arguments

TypeIntentOptionalAttributesName
real(kind=wp), intent(in) :: x(:)
real(kind=wp), intent(in) :: mean

均值

real(kind=wp), intent(out) :: pval

p-value

real(kind=wp), intent(out) :: t

T 值

integer, intent(out) :: dof

自由度