|
||||||||||
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.VonMisesDistribution
public class VonMisesDistribution
This class models the Von-Mises (Circular Gaussian) distribution on [-Pi; Pi]. http://mathworld.wolfram.com/vonMisesDistribution.html .
Field Summary |
---|
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution |
---|
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name |
Constructor Summary | |
---|---|
VonMisesDistribution()
This default constructor creates a new Von Mises distribuiton on (0, 1). |
|
VonMisesDistribution(double mu,
double k)
This general constructor creates a new Von Mises distribution on a specified interval. |
Method Summary | |
---|---|
double |
getDensity(double x)
This method computes the density function. |
double |
getK()
|
double |
getMaxDensity()
This method computes the maximum value of the getDensity function. |
double |
getMaxValue()
This method returns the maximum value. |
double |
getMean()
This method computes the mean. |
double |
getMinValue()
This method gets the minimum value. |
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution. |
double |
getSD()
This method computes the Standard Diviation |
double |
getVariance()
This method computes the variance. |
double |
I0(double x)
This method Calls the Bessel Function defined in edu.ucla.stat.SOCR.util.BesselFunction |
double |
I1(double x)
This method Calls the Bessel Function defined in edu.ucla.stat.SOCR.util.BesselFunction |
void |
initialize()
used for some subclass to initialize before being used |
void |
paramEstimate(double[] distData)
|
void |
setParameters(double mu,
double k)
This method sets the parameters: the minimum and maximum values of the interval. |
void |
valueChanged(java.util.Observable o,
java.lang.Object arg)
|
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, 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, 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 VonMisesDistribution(double mu, double k)
public VonMisesDistribution()
Method Detail |
---|
public void initialize()
Distribution
initialize
in class Distribution
public void valueChanged(java.util.Observable o, java.lang.Object arg)
valueChanged
in class Distribution
public void setParameters(double mu, double k)
public double getDensity(double x)
getDensity
in class Distribution
public double getMaxDensity()
getMaxDensity
in class Distribution
public double getMean()
getMean
in class Distribution
public double getVariance()
getVariance
in class Distribution
public double I0(double x)
public double I1(double x)
public double getSD()
getSD
in class Distribution
public double getMinValue()
public double getMaxValue()
public java.lang.String getOnlineDescription()
getOnlineDescription
in class Distribution
public void paramEstimate(double[] distData)
paramEstimate
in class Distribution
public double getK()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |