Class TStudent

java.lang.Object
math.TStudent

public class TStudent extends Object
This Class computes Cumulative Distribution Function and ICDF for the TStudent distribution
Version:
Author:
Federico Granata
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    ICDF(double quantile, int freedomDegrees)
    return the t_student Inverse Cumulative Distribution Function prob = 1 - quantile/2
    static double
    qnorm(double p, boolean upper)
     
    static double
    tStudent(double p, double ndf, boolean lower_tail)
    tStudent return the t_student table for the assigned percentile and degrees of freedom.

    Methods inherited from class Object

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

    • TStudent

      public TStudent()
  • Method Details

    • ICDF

      public static double ICDF(double quantile, int freedomDegrees)
      return the t_student Inverse Cumulative Distribution Function prob = 1 - quantile/2
      Parameters:
      quantile -
      freedomDegrees -
    • tStudent

      public static double tStudent(double p, double ndf, boolean lower_tail)
      tStudent return the t_student table for the assigned percentile and degrees of freedom.
      Parameters:
      p - quantile
      ndf - degrees of freedom
      lower_tail - if it the lower tail part
    • qnorm

      public static double qnorm(double p, boolean upper)