|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface UnivariateDistribution
A univariate distribution completely characterizes a random variable by stipulating the probability of each value of a random variable (when the variable is discrete), or the probability of the value falling within a particular interval (when the variable is continuous).
F(x) = Pr(X ≤ x)
| Method Summary | |
|---|---|
double |
cdf(double x)
The cumulative distribution function. |
double |
density(double x)
The density function, which, if exists, is the derivative of F. |
double |
entropy()
Get the entropy of this distribution. |
double |
kurtosis()
Get the excess kurtosis of this distribution. |
double |
mean()
Get the mean of this distribution. |
double |
median()
Get the median of this distribution. |
double |
moment(double x)
The moment generating function, which is the expected value of
etX
This may not always exist. |
double |
quantile(double u)
The inverse of the cumulative distribution function. |
double |
skew()
Get the skewness of this distribution. |
double |
variance()
Get the variance of this distribution. |
| Method Detail |
|---|
double mean()
double median()
double variance()
double skew()
double kurtosis()
double entropy()
double cdf(double x)
F(x) = Pr(X <= x)
x - x
F(x) = Pr(X <= x)double quantile(double u)
F-1(u) = x, such that
Pr(X <= x) = u
This may not always exist.
u - u
F-1(u)double density(double x)
F.
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.
x - x
F(x) = Pr(X <= x)double moment(double x)
etX
This may not always exist.
x - 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 | |||||||