Package gov.nih.mipav.model.algorithms
Class StatisticsTable
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.StatisticsTable
-
public class StatisticsTable extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.ArrayList<java.lang.Double[]>
tTable
t-statistics table
-
Constructor Summary
Constructors Constructor Description StatisticsTable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.util.ArrayList<java.lang.Double[]>
buildTinvTable()
Builds the t-statistic table, first numerical row is list of significant values, subsequent rows are the t-statistic values for incremental degrees of freedom.static java.lang.Double
getOneTailInvTStatsitic(int dof, double significance)
Finds the value of the one-tail t-statistic that produces the given level of significance for the given number of degrees of freedom.static java.lang.Double
getTwoTailInvTStatsitic(int dof, double significance)
Finds the value of the two-tail t-statistic that produces the given level of significance for the given number of degrees of freedom.
-
-
-
Method Detail
-
getTwoTailInvTStatsitic
public static java.lang.Double getTwoTailInvTStatsitic(int dof, double significance)
Finds the value of the two-tail t-statistic that produces the given level of significance for the given number of degrees of freedom.- Parameters:
dof
- degrees of freedomsignificance
- sig level- Returns:
- t-statistic value
-
getOneTailInvTStatsitic
public static java.lang.Double getOneTailInvTStatsitic(int dof, double significance)
Finds the value of the one-tail t-statistic that produces the given level of significance for the given number of degrees of freedom.- Parameters:
dof
- degrees of freedomsignificance
- sig level- Returns:
- t-statistic value
-
buildTinvTable
private static java.util.ArrayList<java.lang.Double[]> buildTinvTable()
Builds the t-statistic table, first numerical row is list of significant values, subsequent rows are the t-statistic values for incremental degrees of freedom.
-
-