|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.test.distribution.kolmogorov.KolmogorovOneSidedDistribution
public class KolmogorovOneSidedDistribution
Compute Pn(ε) = Pr{F(x) < min{Fn(x) + ε, 1}, for all x}, i.e., the probability that F(x) is dominated by the upper confidence contour.
| Field Summary | |
|---|---|
int |
bigN
the big N for which n > bigN we use the asymptotic distribution |
int |
n
the number of observations |
| Constructor Summary | |
|---|---|
KolmogorovOneSidedDistribution(int n)
Construct a one-sided Kolmogorov distribution. |
|
KolmogorovOneSidedDistribution(int n,
int bigN)
Construct a one-sided Kolmogorov distribution. |
|
| Method Summary | |
|---|---|
static double |
asymptoticCDF(double m,
double x)
the asymptotic distribution of the one-sided Kolmogorov distribution |
double |
cdf(double x)
The cumulative distribution function. |
double |
density(double x)
Deprecated. Not supported yet. |
double |
entropy()
Deprecated. Not supported yet. |
double |
kurtosis()
Deprecated. Not supported yet. |
double |
mean()
Deprecated. Not supported yet. |
double |
median()
Deprecated. Not supported yet. |
double |
moment(double x)
Deprecated. Not supported yet. |
double |
quantile(double q)
The inverse of the cumulative distribution function. |
double |
skew()
Deprecated. Not supported yet. |
double |
variance()
Deprecated. Not supported yet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int n
public final int bigN
n > bigN we use the asymptotic distribution
| Constructor Detail |
|---|
public KolmogorovOneSidedDistribution(int n,
int bigN)
n - the number of observationbigN - the big N for which n > bigN, we use the asymptotic distributionpublic KolmogorovOneSidedDistribution(int n)
n - the number of observation| Method Detail |
|---|
@Deprecated public double mean()
UnivariateDistribution
mean in interface UnivariateDistribution@Deprecated public double median()
UnivariateDistribution
median in interface UnivariateDistribution@Deprecated public double variance()
UnivariateDistribution
variance in interface UnivariateDistribution@Deprecated public double skew()
UnivariateDistribution
skew in interface UnivariateDistribution@Deprecated public double kurtosis()
UnivariateDistribution
kurtosis in interface UnivariateDistribution@Deprecated public double entropy()
UnivariateDistribution
entropy in interface UnivariateDistributionpublic double cdf(double x)
UnivariateDistribution
F(x) = Pr(X <= x)
cdf in interface UnivariateDistributionx - x
F(x) = Pr(X <= x)
public static double asymptoticCDF(double m,
double x)
m - scaling factor; usually a function of the size of the sample(s)x - x
public double quantile(double q)
UnivariateDistribution
F-1(u) = x, such that
Pr(X <= x) = u
This may not always exist.
quantile in interface UnivariateDistributionq - u
F-1(u)@Deprecated public double density(double x)
UnivariateDistributionF.
It describes the density of probability at each point in the sample space.
f(x) = dF(X) / dx
This may not always exist. For the discrete cases, this is the probability mass function. It gives the probability that a discrete random variable is exactly equal to some value.
density in interface UnivariateDistributionx - x
F(x) = Pr(X <= x)@Deprecated public double moment(double x)
UnivariateDistribution
etX
This may not always exist.
moment in interface UnivariateDistributionx - x
E(exp(tX))
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||