Class JSci.maths.statistics.ChiSqrDistribution
All Packages Class Hierarchy This Package Previous Next Index
Class JSci.maths.statistics.ChiSqrDistribution
java.lang.Object
|
+----JSci.maths.statistics.ProbabilityDistribution
|
+----JSci.maths.statistics.ChiSqrDistribution
- public final class ChiSqrDistribution
- extends ProbabilityDistribution
The ChiSqrDistribution class provides an object for encapsulating chi-squared distributions.
-
ChiSqrDistribution(double)
- Constructs a chi-squared distribution.
-
cumulative(double)
- Cumulative chi-squared distribution function.
-
getDegreesOfFreedom()
- Returns the degrees of freedom.
-
inverse(double)
- Inverse of the cumulative chi-squared distribution function.
-
probability(double)
- Probability density function of a chi-squared distribution.
ChiSqrDistribution
public ChiSqrDistribution(double dgr)
- Constructs a chi-squared distribution.
- Parameters:
- dgr - degrees of freedom
getDegreesOfFreedom
public double getDegreesOfFreedom()
- Returns the degrees of freedom.
probability
public double probability(double X)
- Probability density function of a chi-squared distribution.
- Returns:
- the probability that a stochastic variable x has the value X, i.e. P(x=X)
- Overrides:
- probability in class ProbabilityDistribution
cumulative
public double cumulative(double X)
- Cumulative chi-squared distribution function.
- Returns:
- the probability that a stochastic variable x is less then X, i.e. P(x<X)
- Overrides:
- cumulative in class ProbabilityDistribution
inverse
public double inverse(double probability)
- Inverse of the cumulative chi-squared distribution function.
- Returns:
- the value X for which P(x<X)
- Overrides:
- inverse in class ProbabilityDistribution
All Packages Class Hierarchy This Package Previous Next Index