dnMultivariateNormal
- Multivariate Normal Distribution
mean : | Real[] (pass by const reference) |
The vector of mean values. | |
covariance : | MatrixRealSymmetric (pass by const reference) |
The variance-covariance matrix. | |
Default : NULL | |
precision : | MatrixRealSymmetric (pass by const reference) |
The precision matrix. | |
Default : NULL | |
scale : | RealPos (pass by const reference) |
The scaling factor of the variance matrix. | |
Default : 1 |
dim = 4
df = 100
kappa <- 2
Sigma ~ dnWishart(df, kappa, dim)
for (i in 1:dim) { mu[i] ~ dnUnif(-1, 1) }
x ~ dnMultivariateNormal( mean=mu, covariance=Sigma )
mv[1] = mvCorrelationMatrixElementSwap(Sigma)
mv[2] = mvCorrelationMatrixRandomWalk(Sigma)
mv[3] = mvCorrelationMatrixSingleElementBeta(Sigma)
mv[4] = mvCorrelationMatrixSpecificElementBeta(Sigma)
mv[5] = mvCorrelationMatrixUpdate(Sigma)
mv[6] = mvVectorSlide(x)