|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.core.SOCRValueSettable edu.ucla.stat.SOCR.core.Distribution edu.ucla.stat.SOCR.distributions.NegativeBinomialDistribution edu.ucla.stat.SOCR.distributions.GeometricDistribution
public class GeometricDistribution
The geometric distribution with parameter p. http://mathworld.wolfram.com/GeometricDistribution.html .
Field Summary |
---|
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution |
---|
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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(double p)
Override set parameters |
void |
valueChanged()
|
Methods inherited from class edu.ucla.stat.SOCR.distributions.NegativeBinomialDistribution |
---|
getDensity, getMaxDensity, getMean, getMGF, getPGF, getProbability, getSuccesses, getVariance, setParameters, setProbability, setSuccesses, simulate |
Methods inherited from class edu.ucla.stat.SOCR.core.Distribution |
---|
addObserver, 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, 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 GeometricDistribution(double p)
public GeometricDistribution()
public GeometricDistribution(double[] distData)
public GeometricDistribution(float[] distData)
Method Detail |
---|
public void initialize()
Distribution
initialize
in class NegativeBinomialDistribution
public void valueChanged()
valueChanged
in class NegativeBinomialDistribution
public void setParameters(double p)
public void paramEstimate(double[] distData)
paramEstimate
in class Distribution
public java.lang.String getOnlineDescription()
getOnlineDescription
in class NegativeBinomialDistribution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |