|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.statistics.Distribution
org.jscience.mathematics.statistics.StudentDistribution
org.jscience.mathematics.statistics.CauchyDistribution
public class CauchyDistribution
This class models the Cauchy distribution.
| Field Summary |
|---|
| Fields inherited from class org.jscience.mathematics.statistics.Distribution |
|---|
CONTINUOUS, DISCRETE, MIXED |
| Constructor Summary | |
|---|---|
CauchyDistribution()
Creates a new CauchyDistribution object. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jscience.mathematics.statistics.StudentDistribution |
|---|
getDegrees, getDensity, getMaxDensity, getMean, getMoment, getMoment, getVariance, simulate |
| Methods inherited from class org.jscience.mathematics.statistics.Distribution |
|---|
getDomain, getFailureRate, getMedian, getMGF, getPGF, getSD, getType, setDomain, setDomain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CauchyDistribution()
| Method Detail |
|---|
public double getCDF(double x)
getCDF in class StudentDistributionx - a number in the domain of the distribution
betaCDFpublic 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||