public interface MultivariateDistribution
Distribution| Modifier and Type | Method and Description |
|---|---|
double |
cdf(double[] x)
Cumulative distribution function.
|
double[][] |
cov()
The covariance matrix of distribution.
|
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 vector 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.
|
int npara()
double entropy()
double[] mean()
double[][] cov()
double p(double[] x)
double logp(double[] x)
double cdf(double[] x)
double likelihood(double[][] x)
x - sample set. Each row is a sample.double logLikelihood(double[][] x)
x - sample set. Each row is a sample.