|
||||||||||
| 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.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(int k,
double p)
Override set parameters |
void |
setSuccesses(int k)
Override set successes |
void |
valueChanged()
|
| Methods inherited from class edu.ucla.stat.SOCR.distributions.NegativeBinomialDistribution |
|---|
getDensity, getMaxDensity, getMean, getMGF, getPGF, getProbability, getSuccesses, getVariance, setProbability, 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, 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 NegativeBinomialDistributionpublic void valueChanged()
valueChanged in class NegativeBinomialDistribution
public 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||