Description Usage Arguments Details Author(s) References See Also
Calculates probablities from the probability density function of the multivariate normal distribution \mathbf{X} \sim \mathcal{N}_{k} ≤ft( \boldsymbol{μ}, \boldsymbol{Σ} \right) . %(\#eq:dist-X-mvn)
1 | mvnpdf(X, mu, Sigma)
|
X |
Numeric matrix. Values of the k-dimensional random variable \mathbf{X}. |
mu |
Numeric vector. Location parameter mean vector \boldsymbol{μ} of length k. |
Sigma |
Numeric matrix. k \times k variance-covariance matrix \boldsymbol{Σ}. |
The multivariate normal (or multivariate Gaussian, or joint normal) distribution is given by
\mathbf{X} \sim \mathcal{N}_{k} ≤ft( \boldsymbol{μ}, \boldsymbol{Σ} \right) %(\#eq:dist-X-mvn)
and has the probability density function (PDF)
f_{\mathbf{X}} ≤ft( X_1, …, X_k \right) = \frac{ \exp ≤ft[ - \frac{1}{2} ≤ft( \mathbf{X} - \boldsymbol{μ} \right)^{\prime} \boldsymbol{Σ}^{-1} ≤ft( \mathbf{X} - \boldsymbol{μ} \right) \right] }{ √{ ≤ft( 2 π \right)^{k} | \boldsymbol{Σ} | } } %(\#eq:dist-mvnpdf)
with k-dimensional random vector \mathbf{X} \in \boldsymbol{μ} + \textrm{span}≤ft(\boldsymbol{Σ}\right) \subseteq \mathbf{R}^k, \boldsymbol{μ} is the location parameter mean ≤ft( \boldsymbol{μ} \in \mathbf{R}^k \right), and \boldsymbol{Σ} is the variance-covariance matrix ≤ft( \boldsymbol{Σ} \in \mathbf{R}^{k \times k} \right).
Ivan Jacob Agaloos Pesigan
Wikipedia: Multivariate Normal Distribution
Other mutivariate normal likelihood functions:
mvn2ll()
,
mvnll()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.