Interface BetaDistribution
- 
- All Superinterfaces:
 ContinuousDistribution,Distribution,HasDensity<java.lang.Double>
- All Known Implementing Classes:
 BetaDistributionImpl
public interface BetaDistribution extends ContinuousDistribution, HasDensity<java.lang.Double>
Computes the cumulative, inverse cumulative and density functions for the beta distribuiton.- Since:
 - 2.0
 - See Also:
 - Beta_distribution
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description doubledensity(java.lang.Double x)Return the probability density for a particular point.doublegetAlpha()Access the shape parameter, alphadoublegetBeta()Access the shape parameter, betavoidsetAlpha(double alpha)Deprecated.as of 2.1voidsetBeta(double beta)Deprecated.as of 2.1- 
Methods inherited from interface org.apache.commons.math.distribution.ContinuousDistribution
inverseCumulativeProbability 
- 
Methods inherited from interface org.apache.commons.math.distribution.Distribution
cumulativeProbability, cumulativeProbability 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setAlpha
@Deprecated void setAlpha(double alpha)
Deprecated.as of 2.1Modify the shape parameter, alpha.- Parameters:
 alpha- the new shape parameter.
 
- 
getAlpha
double getAlpha()
Access the shape parameter, alpha- Returns:
 - alpha.
 
 
- 
setBeta
@Deprecated void setBeta(double beta)
Deprecated.as of 2.1Modify the shape parameter, beta.- Parameters:
 beta- the new scale parameter.
 
- 
getBeta
double getBeta()
Access the shape parameter, beta- Returns:
 - beta.
 
 
- 
density
double density(java.lang.Double x) throws MathExceptionReturn the probability density for a particular point.- Specified by:
 densityin interfaceHasDensity<java.lang.Double>- Parameters:
 x- The point at which the density should be computed.- Returns:
 - The pdf at point x.
 - Throws:
 MathException- if probability density cannot be computed
 
 - 
 
 -