Description Usage Arguments References See Also Examples
Extracts the desired impulse-response serie from irf objects for a given quantile.
1 | extract.irf(object, impulse, response, probs = 0.5)
|
object |
A irf object. |
impulse |
Impulse variable name or index. |
response |
Response Variable name or index. |
probs |
numeric vector of probabilities with values in [0,1]. |
Garcia, Medeiros and Vasconcelos (2017).
predict
, lbvar
, identification
, irf
1 2 3 4 5 6 7 8 9 10 11 | ## == This example uses the Brazilian inflation data from
#Garcia, Medeiros and Vasconcelos (2017) == ##
# = This is an ilustrative example = #
# = The identification ignores which variables are more exogenous = #
data("BRinf")
Y=BRinf[,1:59]# remove expectation variables
modelB=lbvar(Y,p=3)
identB=identification(modelB)
irfB=irf(modelB,identB,h=12,M=100)
extract.irf(irfB,1,2,probs=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.