public class WeibullDistribution extends Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name
Constructor and Description |
---|
WeibullDistribution()
This default constructor creates a new Weibull distribution with shape
parameter 1 and scale parameter 1
|
WeibullDistribution(double k,
double b)
This general constructor creates a new Weibull distribution with spcified
shape and scale parameters
|
Modifier and Type | Method and Description |
---|---|
double |
getCDF(double x)
This method computes the cumulative distribution function
|
double |
getDensity(double x)
This method compues teh denstiy function
|
double |
getFailureRate(double x)
This method computes the failure rate function
|
double |
getMaxDensity()
This method returns the maximum value of the getDensity function
|
double |
getMean()
The method returns the mean
|
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
double |
getQuantile(double p)
This method returns the getQuantile function
|
double |
getScale()
This method returns the scale parameter
|
double |
getShape()
This method returns the shape parameter
|
double |
getVariance()
This method returns the variance
|
void |
initialize()
used for some subclass to initialize before being used
|
void |
setParameters(double k,
double b)
This method sets the shape and scale parameter.
|
void |
setScale(double b)
This method sets the shape parameter
|
void |
setShape(double k)
This method sets the shape parameter
|
void |
valueChanged() |
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMedian, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, inverseCDF, logGamma, paramEstimate, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, simulate, update, valueChanged
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters
public WeibullDistribution(double k, double b)
public WeibullDistribution()
public void initialize()
Distribution
initialize
in class Distribution
public void valueChanged()
valueChanged
in class Distribution
public void setParameters(double k, double b)
public double getDensity(double x)
getDensity
in class Distribution
public double getMaxDensity()
getMaxDensity
in class Distribution
public double getMean()
getMean
in class Distribution
public double getVariance()
getVariance
in class Distribution
public double getCDF(double x)
getCDF
in class Distribution
public double getQuantile(double p)
getQuantile
in class Distribution
public double getFailureRate(double x)
getFailureRate
in class Distribution
public double getShape()
public void setShape(double k)
public double getScale()
public void setScale(double b)
public java.lang.String getOnlineDescription()
getOnlineDescription
in class Distribution