|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.probdist.ContinuousDistribution umontreal.iro.lecuyer.probdist.StudentDist umontreal.iro.lecuyer.probdist.StudentDistQuick
public class StudentDistQuick
Extends the class StudentDist
for
the Student t-distribution. Uses methods that are faster but less precise
than StudentDist
.
Field Summary |
---|
Fields inherited from class umontreal.iro.lecuyer.probdist.ContinuousDistribution |
---|
decPrec |
Constructor Summary | |
---|---|
StudentDistQuick(int n)
Constructs a StudentDistQuick object with n degrees of freedom. |
Method Summary | |
---|---|
double |
barF(double x)
Returns the complementary distribution function. |
static double |
barF(int n,
double x)
Computes the complementary distribution function bar(F)(x). |
double |
cdf(double x)
Returns the distribution function F(x). |
static double |
cdf(int n,
double x)
Returns an approximation of the Student t-distribution function with n degrees of freedom. |
double |
inverseF(double u)
Returns the inverse distribution function x = F-1(u). |
static double |
inverseF(int n,
double u)
Returns an approximation of F-1(u), where F is the Student t-distribution function with n degrees of freedom. |
Methods inherited from class umontreal.iro.lecuyer.probdist.StudentDist |
---|
cdf2, density, density, getInstanceFromMLE, getMean, getMean, getMLE, getN, getParams, getStandardDeviation, getStandardDeviation, getVariance, getVariance, setN, toString |
Methods inherited from class umontreal.iro.lecuyer.probdist.ContinuousDistribution |
---|
getXinf, getXsup, inverseBisection, inverseBrent, setXinf, setXsup |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StudentDistQuick(int n)
Method Detail |
---|
public double cdf(double x)
Distribution
cdf
in interface Distribution
cdf
in class StudentDist
x
- value at which the distribution function is evaluated
public double barF(double x)
ContinuousDistribution
barF
in interface Distribution
barF
in class StudentDist
x
- value at which the complementary distribution function is evaluated
public double inverseF(double u)
ContinuousDistribution
inverseF
in interface Distribution
inverseF
in class StudentDist
u
- value at which the inverse distribution function is evaluated
public static double cdf(int n, double x)
public static double barF(int n, double x)
public static double inverseF(int n, double u)
|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |