| java.lang.Object org.apache.commons.math.distribution.AbstractDistribution org.apache.commons.math.distribution.AbstractContinuousDistribution
All known Subclasses: org.apache.commons.math.distribution.WeibullDistributionImpl, org.apache.commons.math.distribution.FDistributionImpl, org.apache.commons.math.distribution.NormalDistributionImpl, org.apache.commons.math.distribution.GammaDistributionImpl, org.apache.commons.math.distribution.TDistributionImpl, org.apache.commons.math.distribution.ChiSquaredDistributionImpl, org.apache.commons.math.distribution.ExponentialDistributionImpl, org.apache.commons.math.distribution.CauchyDistributionImpl,
AbstractContinuousDistribution | abstract public class AbstractContinuousDistribution extends AbstractDistribution implements ContinuousDistribution,Serializable(Code) | | Base class for continuous distributions. Default implementations are
provided for some of the methods that do not vary from distribution to
distribution.
version: $Revision: 348519 $ $Date: 2005-11-23 12:12:18 -0700 (Wed, 23 Nov 2005) $ |
Method Summary | |
abstract protected double | getDomainLowerBound(double p) Access the domain value lower bound, based on p , used to
bracket a CDF root. | abstract protected double | getDomainUpperBound(double p) Access the domain value upper bound, based on p , used to
bracket a CDF root. | abstract protected double | getInitialDomain(double p) Access the initial domain value, based on p , used to
bracket a CDF root. | public double | inverseCumulativeProbability(double p) For this distribution, X, this method returns the critical point x, such
that P(X < x) = p . |
AbstractContinuousDistribution | protected AbstractContinuousDistribution()(Code) | | Default constructor.
|
getDomainLowerBound | abstract protected double getDomainLowerBound(double p)(Code) | | Access the domain value lower bound, based on p , used to
bracket a CDF root. This method is used by
AbstractContinuousDistribution.inverseCumulativeProbability(double) to find critical values.
Parameters: p - the desired probability for the critical value domain value lower bound, i.e.P(X < lower bound) < p |
getDomainUpperBound | abstract protected double getDomainUpperBound(double p)(Code) | | Access the domain value upper bound, based on p , used to
bracket a CDF root. This method is used by
AbstractContinuousDistribution.inverseCumulativeProbability(double) to find critical values.
Parameters: p - the desired probability for the critical value domain value upper bound, i.e.P(X < upper bound) > p |
inverseCumulativeProbability | public double inverseCumulativeProbability(double p) throws MathException(Code) | | For this distribution, X, this method returns the critical point x, such
that P(X < x) = p .
Parameters: p - the desired probability x, such that P(X < x) = p throws: MathException - if the inverse cumulative probability can not becomputed due to convergence or other numerical errors. throws: IllegalArgumentException - if p is not a validprobability. |
Methods inherited from org.apache.commons.math.distribution.AbstractDistribution | public double cumulativeProbability(double x0, double x1) throws MathException(Code)(Java Doc)
|
|
|