public abstract class DiscreteDistributionIntMulti
extends java.lang.Object
| Constructor and Description |
|---|
DiscreteDistributionIntMulti() |
| Modifier and Type | Method and Description |
|---|---|
double |
cdf(int[] x)
Computes the cumulative probability function F of the distribution evaluated
at x, assuming the lowest values start at 0, i.e.
|
abstract double[][] |
getCorrelation()
Returns the correlation matrix of the distribution, defined as
ρij = σij/(σ_iiσ_jj)1/2.
|
abstract double[][] |
getCovariance()
Returns the variance-covariance matrix of the distribution, defined as
σij = E[(Xi - μi)(Xj - μj)]. |
int |
getDimension()
Returns the dimension d of the distribution.
|
abstract double[] |
getMean()
Returns the mean vector of the distribution, defined as
μi = E[Xi].
|
abstract double |
prob(int[] x)
Returns the probability mass function
p(x1, x2,…, xd),
which should be a real number in [0, 1].
|
public abstract double prob(int[] x)
x - value at which the mass function must be evaluatedpublic double cdf(int[] x)
public int getDimension()
public abstract double[] getMean()
public abstract double[][] getCovariance()
public abstract double[][] getCorrelation()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.