View source: R/generateParams.R
smart_covmat | R Documentation |
(dxd)
error term covariance matrix \Omega
fairly close to the given positive definite covariance matrix using (scaled)
Wishart distributionsmart_covmat
generates random VAR model (dxd)
error term covariance matrix \Omega
from (scaled) Wishart distribution that is fairly close to the given matrix.
smart_covmat(d, Omega, accuracy)
Omega |
a symmetric positive definite |
accuracy |
a positive real number adjusting how close to the given covariance matrix the returned individual should be. The standard deviation of each diagonal element is...
Wishart distribution is used for reduced form models, but for more details read the source code. |
Returns a (d(d+1)/2x1)
vector containing vech-vectorized covariance matrix
\Omega
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.