
public class StudentsTDistribution extends Object implements Distribution
| Modifier and Type | Field and Description | 
|---|---|
private int | 
v
Degrees of freedom 
 | 
| Constructor and Description | 
|---|
StudentsTDistribution(int v)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
cdf(double val)
Return the cumulative density function at the given value. 
 | 
static double | 
cdf(double val,
   int v)
Static version of the CDF of the t-distribution for t > 0 
 | 
double | 
pdf(double val)
Return the density of an existing value 
 | 
static double | 
pdf(double val,
   int v)
Static version of the t distribution's PDF. 
 | 
double | 
quantile(double val)
Quantile aka probit (for normal) aka inverse CDF (invcdf, cdf^-1) function. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic StudentsTDistribution(int v)
v - Degrees of freedompublic double pdf(double val)
Distributionpdf in interface Distributionval - existing valuepublic double cdf(double val)
Distributioncdf in interface Distributionval - existing valuepublic double quantile(double val)
Distributionquantile in interface Distributionval - Quantile to findpublic static double pdf(double val,
         int v)
val - value to evaluatev - degrees of freedompublic static double cdf(double val,
         int v)
val - value to evaluatev - degrees of freedom