|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucla.stat.SOCR.core.SOCRValueSettable
edu.ucla.stat.SOCR.core.Distribution
edu.ucla.stat.SOCR.distributions.WeibullDistribution
public class WeibullDistribution
This class models the Weibull distribution with specified shape and scale parameters. http://mathworld.wolfram.com/WeibullDistribution.html .
| Field Summary |
|---|
| Fields inherited from class edu.ucla.stat.SOCR.core.Distribution |
|---|
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class edu.ucla.stat.SOCR.core.Distribution |
|---|
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 |
| Methods inherited from class edu.ucla.stat.SOCR.core.SOCRValueSettable |
|---|
createComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeibullDistribution(double k,
double b)
public WeibullDistribution()
| Method Detail |
|---|
public void initialize()
Distribution
initialize in class Distributionpublic void valueChanged()
valueChanged in class Distribution
public void setParameters(double k,
double b)
public double getDensity(double x)
getDensity in class Distributionpublic double getMaxDensity()
getMaxDensity in class Distributionpublic double getMean()
getMean in class Distributionpublic double getVariance()
getVariance in class Distributionpublic double getCDF(double x)
getCDF in class Distributionpublic double getQuantile(double p)
getQuantile in class Distributionpublic double getFailureRate(double x)
getFailureRate in class Distributionpublic double getShape()
public void setShape(double k)
public double getScale()
public void setScale(double b)
public java.lang.String getOnlineDescription()
getOnlineDescription in class Distribution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||