View source: R/pac-equations.R
| pac_target_loading | R Documentation |
Collapses the infinite forward sum \sum_j w_j E_t y^*_{t+j} of a
PAC equation into a single loading vector, for the common case where
the target is a linear function of a state vector that evolves as
s_{t+1} = \Psi s_t. Because
E_t y^*_{t+j} = e' \Psi^j s_t, the sum has the exact closed form
\sum_j w_j E_t y^*_{t+j}
= c\, e' \prod_k (I - \beta \phi_k \Psi)^{-1} s_t,
which avoids any truncation.
pac_target_loading(pac, Psi, e)
pac |
A |
Psi |
Square transition matrix |
e |
Numeric selector vector with |
A numeric vector \ell of the same length as e,
such that the PAC forward sum equals \ell' s_t.
pac_weights
pac <- pac_weights(beta = 0.99, d = 1.5)
# AR(1) target with persistence 0.8
Psi <- matrix(0.8, 1, 1)
pac_target_loading(pac, Psi, e = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.