mvrnormArma: Sample from multivariate normal distribution with C++

Description Usage Arguments Value

Description

Simulates realizations from a multivariate normal with mean mu and covariance matrix sigma.

Usage

1

Arguments

n

number of simulations.

mu

mean vector.

sigma

covariance matrix or Cholesky decomposition of the matrix (see chol).

chol

integer, if 0 sigma is a covariance matrix, otherwise it is the Cholesky decomposition of the matrix.

Value

A matrix of size d x n containing the samples.


dazzimonti/ConservativeEstimates documentation built on May 15, 2019, 1:19 a.m.