public class GeneralizedExtremeValueDistribution extends Distribution
| Modifier and Type | Field and Description |
|---|---|
static double |
EulerConstant |
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name| Constructor and Description |
|---|
GeneralizedExtremeValueDistribution()
Default constructor: creates a beta distribution with mu and sigma
parameters equal to 1
|
GeneralizedExtremeValueDistribution(double[] distData) |
GeneralizedExtremeValueDistribution(double _mu,
double _sigma,
double _zeta)
This general constructor creates a new GEV GeneralizedExtremeValueDistribution with
specified parameters
|
GeneralizedExtremeValueDistribution(float[] distData) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCDF(double x)
This method computes the cumulative distribution function
|
double |
getDensity(double x)
Define the GEV getDensity function
|
double |
getMean()
This method returns the mean
http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution
|
double |
getMedian()
This method returns the median
http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution
|
double |
getMode()
This method returns the Mode
http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution
|
double |
getMu() |
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
double[] |
getParameters()
This method gets the 3 parameters
|
double |
getSD()
This method returns the SD
http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution
|
double |
getSigma()
Get sigma
|
double |
getVariance()
This method returns the Variance
http://en.wikipedia.org/wiki/Generalized_extreme_value_distribution
|
double |
getZeta()
Get zeta
|
void |
initialize()
used for some subclass to initialize before being used
|
void |
paramEstimate(double[] distData)
Estimate the 3 GEV Distribution parameters
|
void |
setMu(double _mu)
This method sets mean
|
void |
setParameters(double _mu,
double _sigma,
double _zeta)
This method sets the parameters, computes the default interval
|
void |
setSigma(double _sigma)
This method sets Sigma
|
void |
setZeta(double _zeta)
This method sets zeta
|
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, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, inverseCDF, logGamma, perm, sampleMean, sampleVar, setApplet, setDomain, setDomain, setMGFDomain, setMGFDomain, setMGFParameters, setMGFParameters, setMGFParameters, setMGFParameters, setParameters, setPGFDomain, setPGFDomain, setPGFParameters, setPGFParameters, setPGFParameters, setPGFParameters, simulate, update, valueChangedcreateComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetterspublic GeneralizedExtremeValueDistribution(double _mu,
double _sigma,
double _zeta)
mu - = location meansigma - = scale SDzeta - = shape skewnesspublic GeneralizedExtremeValueDistribution()
public GeneralizedExtremeValueDistribution(double[] distData)
public GeneralizedExtremeValueDistribution(float[] distData)
public void initialize()
Distributioninitialize in class Distributionpublic void valueChanged(java.util.Observable o,
java.lang.Object arg)
valueChanged in class Distributionpublic void setParameters(double _mu,
double _sigma,
double _zeta)
_zeta - = location_lambda - = scale_gamma - = shape_delta - = shapepublic double[] getParameters()
public void paramEstimate(double[] distData)
paramEstimate in class DistributiondistData - = an array of sample data (loss)public double getMu()
public void setMu(double _mu)
public double getSigma()
public void setSigma(double _sigma)
public double getZeta()
public void setZeta(double _zeta)
public double getDensity(double x)
getDensity in class Distributionx - value to evaluate the Density atpublic double getCDF(double x)
getCDF in class Distributionx - = value to evaluate the CDF at
http://www.aainformatics.co.uk/Finance/mc/topic9.htmlpublic double getMean()
getMean in class Distributionpublic double getMedian()
getMedian in class Distributionpublic double getMode()
public double getVariance()
getVariance in class Distributionpublic double getSD()
getSD in class Distributionpublic java.lang.String getOnlineDescription()
getOnlineDescription in class Distribution