View source: R/impluseResponse.R
get_irf | R Documentation |
This function returns a impulse response function of BVAR-SV-fatTail model.
get_irf(
Chain,
impulse.variable = 1,
response.variable = 2,
atT = NULL,
n.ahead = 20,
draw.plot = FALSE
)
Chain |
The fatBVARSV object from command BVAR. |
impulse.variable |
The position of impulse variable |
response.variable |
The position of reponse variable |
atT |
The time at which impulse response function is calculated |
n.ahead |
Maximal time between impulse and response (defaults to 20). |
draw.plot |
Show plot |
A list of two elements: Contemporaneous impulse responses and Matrix of simulated impulse responses
bvars package https://cran.r-project.org/web/packages/bvarsv
## Not run:
irf_obj <- get_irf(Chain = Chain, impulse.variable = 1, response.variable = 2,
t = NULL, n.ahead = 20, draw.plot = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.