public class GeometricDistribution extends NegativeBinomialDistribution
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name| Constructor and Description |
|---|
GeometricDistribution()
Default Constructor: creates a new geometric distribution with parameter
0.5
|
GeometricDistribution(double p)
General Constructor: creates a new geometric distribution with parameter
p
|
GeometricDistribution(double[] distData)
Constructor: Creates a new Geometric distribution from
a series of observations by parameter estimation.
|
GeometricDistribution(float[] distData)
Constructor: Creates a new Geometric distribution from
a series of observations by parameter estimation.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution.
|
void |
initialize()
used for some subclass to initialize before being used
|
void |
paramEstimate(double[] distData)
Overwrites the method in distribution for estimating parameters
REF: MOM estimates according to:
http://en.wikipedia.org/wiki/Geometric_distribution
|
void |
setParameters(int k,
double p)
Override set parameters
|
void |
setSuccesses(int k)
Override set successes
|
void |
valueChanged() |
getDensity, getMaxDensity, getMean, getMGF, getPGF, getProbability, getSuccesses, getVariance, setProbability, simulateaddObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMean, getMedian, getMgfDomain, getName, getPGFDomain, getQuantile, getSampleMoment, getSD, 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, update, valueChangedcreateComponentSetter, createValueSetter, createValueSetter, createValueSetter, createValueSetter, getComponentSetter, getComponentSetters, getValueSetter, getValueSetterspublic GeometricDistribution(double p)
public GeometricDistribution()
public GeometricDistribution(double[] distData)
public GeometricDistribution(float[] distData)
public void initialize()
Distributioninitialize in class NegativeBinomialDistributionpublic void valueChanged()
valueChanged in class NegativeBinomialDistributionpublic void setParameters(int k,
double p)
setParameters in class NegativeBinomialDistributionpublic void setSuccesses(int k)
setSuccesses in class NegativeBinomialDistributionpublic void paramEstimate(double[] distData)
paramEstimate in class Distributionpublic java.lang.String getOnlineDescription()
getOnlineDescription in class NegativeBinomialDistribution