impulse_response | R Documentation |
Impulse-Response function of estimated VAR model provide an impulse-response function and its plot
impulse_response(
object,
p,
variable,
period,
type = c("origin", "structural"),
ncol.fig = 2,
...
)
## Default S3 method:
impulse_response(
object,
p,
variable,
period,
type = c("origin", "structural"),
ncol.fig = 2
)
## S3 method for class 'OLS'
impulse_response(
object,
p,
variable,
period,
type = c("origin", "structural"),
ncol.fig = 2
)
object |
a model object |
p |
a integer, time lags of endogenous variables |
variable |
a character, a variable which gives a shock |
period |
a integer, time period |
type |
shock to be used, |
ncol.fig |
a integer, number of figures plotted in a row |
... |
extra arguments |
default
: default method
OLS
: impulse-response function of a OLS VAR model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.