View source: R/generateParams.R
random_coefmats | R Documentation |
(dxd)
coefficient matrices A
.random_coefmats
generates random VAR model coefficient matrices.
random_coefmats(d, how_many, scale)
how_many |
how many |
scale |
non-diagonal elements will be drawn from mean zero normal distribution
with |
Returns ((how_many*d^2)x1)
vector containing vectorized coefficient
matrices (vec(A_{1}),...,vec(A_{how_many}))
. Note that if how_many==p
,
then the returned vector equals \phi_{m}
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.