i try to run a IRF analysis on a Data frame with 3 variables:
Where Model1 looks like this:
library(vars) and library(varEst) are used
However, when i try
plot(varp.irfs, plot.type="multiple")
following error appears:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'plot': object 'varp.irfs' not found
Which refers to a missing object varp.irfs.
Also, if i try alternatives like:
plot(irf(Model1,n.ahead=10))
I get similar error message:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'plot': no applicable method for 'irf' applied to an object of class "varest"