I am trying to generate impulse response function for my VECM ,but the system is throwing an error that says
Please provide variables names in impulse that are in the set of endogenous variables.
How can I understand the root cause of the issue?
The sample code is as follows:
model1 = VECM(data.frame(macv$ABN, macv$DAN, macv$CRL), lag=10, estim ="ML")
summary(model1)
library(vars)
irf(model1,impulse = "ABN", response = "DAN", boot=FALSE, n.ahead = 10)