public class CauchyDistribution extends StudentDistribution implements java.io.Serializable
CONTINUOUS, DISCRETE, MIXED
Constructor and Description |
---|
CauchyDistribution() |
Modifier and Type | Method and Description |
---|---|
double |
getCDF(double x)
This method computes the cumulative distribuiton function in closed form.
|
double |
getQuantile(double p)
This method computes the quantile function in closed form.
|
void |
setDegrees(int n)
This method sets the degrees of freedom which is fixed at 1.
|
java.lang.String |
toString()
This method returns a string that gives the name of the distribution and the values of
the parameters.
|
getDegrees, getDensity, getMaxDensity, getMean, getMoment, getMoment, getVariance, simulate
getDomain, getFailureRate, getMedian, getMGF, getPGF, getSD, getType, setDomain, setDomain
public double getCDF(double x)
getCDF
in class StudentDistribution
x
- a number in the domain of the distributionbetaCDF
public double getQuantile(double p)
getQuantile
in class Distribution
p
- a probability in (0, 1)public void setDegrees(int n)
setDegrees
in class StudentDistribution
n
- the degrees of freedompublic java.lang.String toString()
toString
in class StudentDistribution