View source: R/counterFactuals.R
get_allA_yti | R Documentation |
A_{y,t,i}\equiv \sum_{m=1}^M\alpha_{m,t}A_{m,i}
for all lags i=1,...,p
for a single time periodget_allA_yti
computes the autoregression matrices A_{y,t,i}\equiv \sum_{m=1}^M\alpha_{m,t}A_{m,i}
, for all lags i=1,...,p
for a single time period, based on the regime autoregression matrices and transition weights.
get_allA_yti(all_A, alpha_mt)
all_A |
4D array containing the coefficient matrices of all regimes so that coefficient matrix
|
alpha_mt |
an |
This is used in simulation of the counterfactual scenarios.
Returns the 3D array containing the coefficient matrices for the given time period so that the lag i
coefficient matrix A_{y,t,i}
can be obtained by choosing [, , i]
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.