|
||||||||||
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.KolmogorovDistribution
public class KolmogorovDistribution
This class defines the Kolmogorov distribution with a specifed parameter n>=1. http://www.jstatsoft.org/v08/i18 and http://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test
Field Summary | |
---|---|
protected static int |
n
|
protected static int |
nMax
|
Fields inherited from class edu.ucla.stat.SOCR.core.Distribution |
---|
applet, CONTINUOUS, DISCRETE, MAXMGFXVAL, MAXMGFYVAL, MINMGFXVAL, MIXED, name |
Constructor Summary | |
---|---|
KolmogorovDistribution()
|
|
KolmogorovDistribution(int n)
This general constructor creates a new Kolmogorov distribuiton with a specified parameter number of independent observations (degrees) |
Method Summary | |
---|---|
protected static double |
cdfConst(double x)
|
protected static double |
densityConstant(double x)
This method gets the density-constant term |
double |
getCDF(double x)
Computes the Kolmogorov distribution function. |
static int |
getDegrees()
This method returns the degrees parameter |
double |
getDensity(double x)
This method computed the Kolmogorov density function |
java.lang.String |
getOnlineDescription()
This method returns an online description of this distribution. |
static int |
getParameters()
This method returns the degrees parameter |
void |
initialize()
used for some subclass to initialize before being used |
void |
setDegrees(int n)
This method sets the degrees parameter |
void |
setParameters(int n)
This method sets the degrees parameter |
void |
valueChanged()
|
Methods inherited from class edu.ucla.stat.SOCR.core.Distribution |
---|
addObserver, betaCDF, comb, factorial, findGFRoot, findRoot, gamma, gammaCDF, getDisplayPane, getDomain, getFailureRate, getGFDerivative, getGFSecondDerivative, getInstance, getLocalHelp, getMaxDensity, getMean, getMean, getMedian, getMGF, getMgfDomain, getName, getPGF, getPGFDomain, getQuantile, getSampleMoment, getSD, getSOCRDistributionFunctors, getSOCRDistributions, getType, getVariance, 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 |
Field Detail |
---|
protected static int n
protected static final int nMax
Constructor Detail |
---|
public KolmogorovDistribution(int n)
n
- number of independent observations (degrees)public KolmogorovDistribution()
Method Detail |
---|
public void initialize()
Distribution
initialize
in class Distribution
public void valueChanged()
valueChanged
in class Distribution
public void setDegrees(int n)
n
- number of independent observations (degrees)public void setParameters(int n)
n
- number of independent observations (degrees)public static int getDegrees()
public static int getParameters()
protected static double densityConstant(double x)
x
- value to assess the density constant atpublic double getDensity(double x)
getDensity
in class Distribution
x
- value to assess the density atpublic double getCDF(double x)
getCDF
in class Distribution
x
- value to assess the CDF atprotected static double cdfConst(double x)
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 |