rmvn_arma_chol | R Documentation |
A function for sampling from conditional multivariate normal distributions with mean A^-1b and covariance matrix A^-1.
rmvn_arma_chol(A_chol, b)
A_chol |
|
b |
|
set.seed(111)
A <- diag(4)
A_chol <- chol(A)
b <- rnorm(4)
sample <- rmvn_arma_chol(A_chol, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.