View source: R/counterFactuals.R
get_mu_yt | R Documentation |
\mu_{y,t}=\phi_{y,t} + \sum_{i=1}^pA_{y,t,i}y_{t-i}
for a single time periodget_mu_yt
computes the conditional mean \mu_{y,t}=\phi_{y,t} + \sum_{i=1}^pA_{y,t,i}y_{t-i}
for a single time period
based on the intercepts, AR matrices, and the vector of lagged observations.
get_mu_yt(phi_yt, all_A_yti, bold_y_t_minus_1)
phi_yt |
a |
all_A_yti |
a 3D array containing the coefficient matrices for the given time period so that the lag |
bold_y_t_minus_1 |
a |
This is used in simulation of the counterfactual scenarios.
Returns the (d \times 1)
vector of the conditional mean for the time period t
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.