Hello,
By any chance, does anyone know if there is a fundamental difference between EViews' unrestricted VAR procedure and the VAR function (vars package) in R?
I am running the exact same model over the exact same data and getting different results (coefficients).
Thanks!
Difference between EViews and R.
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Difference between EViews and R.
A simple unrestricted VAR is just a set of OLS equations. There should be no difference, assuming you have specified both identically.
Perhaps you could post your results and/or data.
Perhaps you could post your results and/or data.
Re: Difference between EViews and R.
Yes, that's why I am confused.
I can't post the data, it is proprietary, but the call in R is simply:
VAR(data, p = 5, type = "const",season=24)
And in EViews I simply estimate using the "Estimate" command and add "c" and a seasonal dummy to the exog. variables.
Maybe it is in how the VAR function handles seasonality?
I can't post the data, it is proprietary, but the call in R is simply:
VAR(data, p = 5, type = "const",season=24)
And in EViews I simply estimate using the "Estimate" command and add "c" and a seasonal dummy to the exog. variables.
Maybe it is in how the VAR function handles seasonality?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Difference between EViews and R.
Yep, my guess would be that the seasonal dummy in R is different from the seasonal dummy you're using. I don't know enough about the R code to speculate further though.
Try it without the seasonal term and make sure the results are identical then.
Try it without the seasonal term and make sure the results are identical then.
Return to “Econometric Discussions”
Who is online
Users browsing this forum: No registered users and 2 guests
