| 
 | ||||||||||
| 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.RiceDistribution
public class RiceDistribution
This class models the Rice (Rician) distribution. http://en.wikipedia.org/wiki/Rice_distribution .
| Field Summary | 
|---|
| Fields inherited from class edu.ucla.stat.SOCR.core.Distribution | 
|---|
| applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name | 
| Constructor Summary | |
|---|---|
| RiceDistribution()This default constructor creates a new Von Mises distribuiton on (0, 1). | |
| RiceDistribution(double[] distData) | |
| RiceDistribution(double[] distData,
                 boolean calledByModeler) | |
| RiceDistribution(double _nu,
                 double _sigma)This general constructor creates a new Rician distribution. | |
| RiceDistribution(float[] distData) | |
| RiceDistribution(float[] distData,
                 boolean calledByModeler) | |
| Method Summary | |
|---|---|
|  double | getDensity(double x)This method computes the Rician density function. | 
|  double | getMean()This method computes the Rician mean. | 
|  double | getNu()This method returns the NU value. | 
|  java.lang.String | getOnlineDescription()This method returns an online description of this distribution. | 
|  double | getSD()This method computes the Standard Diviation | 
|  double | getSigma()This method returns the SIGMA value. | 
|  double | getVariance()This method computes the Rician variance. | 
|  double | I0(double x)This method Calls the Bessel Function of the ZERO kind defined in edu.ucla.stat.SOCR.util.BesselFunction | 
|  double | I1(double x)This method Calls the Bessel Function of the FIRST kind defined in edu.ucla.stat.SOCR.util.BesselFunction | 
|  void | initialize()used for some subclass to initialize before being used | 
|  double | L_half(double x)This method computes the maximum value of the getDensity function. | 
|  void | paramEstimate(double[] distData)This method returns the Nu and Sigma parameter estimates from a sample dataset. | 
|  void | setParameters(double _nu,
              double _sigma)This method sets the parameters: the minimum and maximum values of the interval. | 
|  double | simulate()This method simulates a value from the Rice distribution. | 
|  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, getMaxDensity, 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, 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 RiceDistribution(double _nu,
                        double _sigma)
public RiceDistribution()
public RiceDistribution(double[] distData)
public RiceDistribution(float[] distData)
public RiceDistribution(double[] distData,
                        boolean calledByModeler)
public RiceDistribution(float[] distData,
                        boolean calledByModeler)
| 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 _nu,
                          double _sigma)
public double getDensity(double x)
getDensity in class Distributionpublic double L_half(double x)
public double getMean()
getMean in class Distributionpublic double getVariance()
getVariance in class Distributionpublic double I0(double x)
public double I1(double x)
public double getSD()
getSD in class Distributionpublic void paramEstimate(double[] distData)
paramEstimate in class Distributionpublic double getNu()
public double getSigma()
public double simulate()
simulate in class Distributionpublic java.lang.String getOnlineDescription()
getOnlineDescription in class Distribution| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||