|
||||||||||
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.NonCentralChiSquareDistribution
public class NonCentralChiSquareDistribution
This class encapsulates the Non-Central Chi-Square distribution with specified: k > 0\, degrees of freedom, and \lambda > 0, non-centrality parameters parameters. http://en.wikipedia.org/wiki/Noncentral_chi-square_distribution .
Field Summary |
---|
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution |
---|
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name |
Constructor Summary | |
---|---|
NonCentralChiSquareDistribution()
This default constructor creates a new standard normal distribution |
|
NonCentralChiSquareDistribution(int _df,
double _lambda)
This general constructor creates a new normal distribution with specified parameter values |
Method Summary | |
---|---|
double |
getDensity(double x)
This method defines the getDensity function |
double |
getDF()
This method gets the DF parameter |
double |
getLambda()
This method returns the location parameter |
double |
getMean()
These methods return the mean |
double |
getMGF(double t)
Computes the moment generating function in closed form for a parameter t < 0.5 |
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution. |
double |
getSD()
These methods return the variance |
double |
getVariance()
These methods return the variance |
void |
initialize()
used for some subclass to initialize before being used |
void |
setDF(int _df)
This method sets the scale parameter |
void |
setLambda(double l)
This method sets the location parameter |
void |
setParameters(int _df,
double _lambda)
This method sets the parameters |
void |
valueChanged()
|
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, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, inverseCDF, logGamma, paramEstimate, 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 NonCentralChiSquareDistribution(int _df, double _lambda)
public NonCentralChiSquareDistribution()
Method Detail |
---|
public void initialize()
Distribution
initialize
in class Distribution
public void valueChanged()
valueChanged
in class Distribution
public void setParameters(int _df, double _lambda)
public double getDensity(double x)
getDensity
in class Distribution
public double getMean()
getMean
in class Distribution
public double getVariance()
getVariance
in class Distribution
public double getSD()
getSD
in class Distribution
public double getLambda()
public void setLambda(double l)
public double getDF()
public void setDF(int _df)
public double getMGF(double t)
getMGF
in class Distribution
public java.lang.String getOnlineDescription()
getOnlineDescription
in class Distribution
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |