View source: R/do_everything.R
do_everything_fglr | R Documentation |
do_everything_fglr
is a user-friendly wrapper estimating
the recursively identified S-DFM model and associated bootstrap
intervals for IRFs within one function. The function allows the user
to specify the model similarly to DfmRawImp
, to which
the user is referred for examples.
do_everything_fglr(df, r, k, h, nrep = 500, ci = 0.8)
df |
list containing items:
|
r |
static factor dimension |
k |
VAR degree on the static factors |
h |
h-step ahead IRFs |
nrep |
number of replications in the bootstrap |
ci |
confidence intervals for the IRFs The estimated models are identified recursively using Cholesky decomposition of the residual covariance
matrix. As a default, the function returns the impulse responses to the third shock, the size of which
is normalized to 0.5 on impact. For changing the shock of interest (i.e. not the third),
and the normalization constant, the user should include store a vector of length 2 as |
Structural impulse response function as an array
McCracken, M. W., & Ng, S. (2016). FRED-MD: A monthly database for macroeconomic research. Journal of Business & Economic Statistics, 34(4), 574-589.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.