Class StatisticsTable

java.lang.Object
gov.nih.mipav.model.algorithms.StatisticsTable

public class StatisticsTable extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static ArrayList<Double[]>
    t-statistics table
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static ArrayList<Double[]>
    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 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 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • StatisticsTable

      public StatisticsTable()
  • Method Details

    • getTwoTailInvTStatsitic

      public static 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 freedom
      significance - sig level
      Returns:
      t-statistic value
    • getOneTailInvTStatsitic

      public static 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 freedom
      significance - sig level
      Returns:
      t-statistic value
    • buildTinvTable

      private static ArrayList<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.