Difference between revisions of "MultiNormal"

(categories)
Line 1: Line 1:
[[Category::Multivariate Distributions]]
+
[[Category:Multivariate Distributions]]
 
[[Category:Doc Status D]] <!-- For Lumina use, do not change -->
 
[[Category:Doc Status D]] <!-- For Lumina use, do not change -->
 
= MultiNormal( m, s, c, i, j ) =
 
= MultiNormal( m, s, c, i, j ) =

Revision as of 17:16, 2 May 2007

MultiNormal( m, s, c, i, j )

A multi-variate normal (or Gaussian) distribution with mean m, standard deviation s, and correlation matrix cm. m and s may be scalar or indexed by i. cm must be symmetric, positive-definite, and indexed by i & j, which must be the same length.

Multinormal uses a correlation matrix. Compare with Gaussian, which also defines a multi-variate normal but which uses a covariance matrix.

Library

Multivariate Distribution.ana

Notes

MultiNormal can be used with the Random function to generate a single multivariate sample point, indexed by I. E.g.:

Random( MultiNormal(m,s,c,i,j) )

To generate independent samples along one or more indexes K1,K2,K3, use the Over parameter, e.g.:

MultiNormal(m,s,c,i,j,Over:K1,K2,K3)

See Gaussian for an example.

See Also

Comments


You are not allowed to post comments.