Class 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.
      • Methods inherited from class java.lang.Object

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

      • tTable

        private static java.util.ArrayList<java.lang.Double[]> tTable
        t-statistics table
    • Constructor Detail

      • StatisticsTable

        public StatisticsTable()
    • 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 freedom
        significance - 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 freedom
        significance - 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.