public class JohnsonSUDistribution extends Distribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name| Constructor and Description |
|---|
JohnsonSUDistribution()
Default constructor: creates a beta distribution with xi and lambda
parameters equal to 1
|
JohnsonSUDistribution(double _xi,
double _lambda,
double _gamma,
double _delta)
This general constructor creates a new JohnsonSBDistribution distribution with
specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCDF(double x)
This method computes the cumulative distribution function
|
double |
getDelta()
Get delta
|
double |
getDensity(double x)
Define the beta getDensity function
|
double |
getGamma()
Get gamma
|
double |
getLambda()
Get lambda
|
double |
getMean()
This method returns the Johnson SU mean
http://www.mathwave.com/articles/johnson_su_distribution.html
|
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
double[] |
getParameters()
This method gets the 4 parameters
|
double |
getSD()
This method returns the Johnson SU SD
http://www.mathwave.com/articles/johnson_su_distribution.html
|
double |
getVariance()
This method returns the Johnson SU Variance
http://www.mathwave.com/articles/johnson_su_distribution.html
|
double |
getXi() |
void |
initialize()
used for some subclass to initialize before being used
|
double |
inverseCDF(double probability)
Computes the inverse Johnson SU CDF function
|
void |
setDelta(double _delta)
This method sets Kurtosis
|
void |
setGamma(double _gamma)
This method sets skewness
|
void |
setLambda(double _lambda)
This method sets sigma
|
void |
setParameters(double _xi,
double _lambda,
double _gamma,
double _delta)
This method sets the parameters, computes the default interval
|
void |
setXi(double _xi)
This method sets mean
|
double |
simulate()
This method simulates a value from the distribution
|
void |
valueChanged(java.util.Observable o,
java.lang.Object arg) |
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMaxDensity, getMean, getMedian, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, logGamma, paramEstimate, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, update, valueChangedcreateComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetterspublic JohnsonSUDistribution(double _xi,
double _lambda,
double _gamma,
double _delta)
xi - = location meanlambda - = scale SDgamma - = shape skewnessdelta - = shape kurtosispublic JohnsonSUDistribution()
public void initialize()
Distributioninitialize in class Distributionpublic void valueChanged(java.util.Observable o,
java.lang.Object arg)
valueChanged in class Distributionpublic void setParameters(double _xi,
double _lambda,
double _gamma,
double _delta)
_xi - = location_lambda - = scale_gamma - = shape_delta - = shapepublic double[] getParameters()
public double getXi()
public void setXi(double _xi)
public double getLambda()
public void setLambda(double _lambda)
public double getGamma()
public void setGamma(double _gamma)
public double getDelta()
public void setDelta(double _delta)
public double getDensity(double x)
getDensity in class Distributionpublic double getCDF(double x)
getCDF in class Distributionx - = value to evaluate the CDF at
http://www.mathwave.com/articles/johnson_su_distribution.htmlpublic double inverseCDF(double probability)
inverseCDF in class Distributionprobability - - a probability value in [0, 1]public double simulate()
simulate in class Distributionpublic double getMean()
getMean in class Distributionpublic double getVariance()
getVariance in class Distributionpublic double getSD()
getSD in class Distributionpublic java.lang.String getOnlineDescription()
getOnlineDescription in class Distribution