Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201894

R code error: Please provide variables names in impulse that are in the set of endogenous variables

$
0
0

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)

Viewing all articles
Browse latest Browse all 201894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>