Class TTest.Result

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double degreesOfFreedom
      Degrees of freedom.
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(double statistic, double degreesOfFreedom, double p)
      Create an instance.
    • Field Detail

      • degreesOfFreedom

        private final double degreesOfFreedom
        Degrees of freedom.
    • Constructor Detail

      • Result

        Result​(double statistic,
               double degreesOfFreedom,
               double p)
        Create an instance.
        Parameters:
        statistic - Test statistic.
        degreesOfFreedom - Degrees of freedom.
        p - Result p-value.
    • Method Detail

      • getDegreesOfFreedom

        public double getDegreesOfFreedom()
        Gets the degrees of freedom.
        Returns:
        the degrees of freedom