public interface Distribution
MultivariateDistribution| Modifier and Type | Method and Description |
|---|---|
double |
cdf(double x)
Cumulative distribution function.
|
double |
entropy()
Shannon entropy of the distribution.
|
double |
likelihood(double[] x)
The likelihood of the sample set following this distribution.
|
double |
logLikelihood(double[] x)
The log likelihood of the sample set following this distribution.
|
double |
logp(double x)
The density at x in log scale, which may prevents the underflow problem.
|
double |
mean()
The mean of distribution.
|
int |
npara()
The number of parameters of the distribution.
|
double |
p(double x)
The probability density function for continuous distribution
or probability mass function for discrete distribution at x.
|
double |
quantile(double p)
The quantile, the probability to the left of quantile is p.
|
double |
rand()
Generates a random number following this distribution.
|
double |
sd()
The standard deviation of distribution.
|
double |
var()
The variance of distribution.
|
int npara()
double mean()
double var()
double sd()
double entropy()
double rand()
double p(double x)
double logp(double x)
double cdf(double x)
double quantile(double p)
double likelihood(double[] x)
double logLikelihood(double[] x)