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, simulategetDomain, getFailureRate, getMedian, getMGF, getPGF, getSD, getType, setDomain, setDomainpublic double getCDF(double x)
getCDF in class StudentDistributionx - a number in the domain of the distributionbetaCDFpublic double getQuantile(double p)
getQuantile in class Distributionp - a probability in (0, 1)public void setDegrees(int n)
setDegrees in class StudentDistributionn - the degrees of freedompublic java.lang.String toString()
toString in class StudentDistribution