Problems with forecasting from VAR-Models

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

MiWe
Posts: 4
Joined: Fri Dec 04, 2020 2:43 am

Problems with forecasting from VAR-Models

Postby MiWe » Fri Nov 11, 2022 5:06 am

Hello, I am using EViews 12, the latest version. There are problems with the prediction of VAR models. When I estimate the same model several times, I get different results: When saving the estimation results in an Excel spreadsheet or internally in a matrix, different columns give different results. There are always two different results that are split between the columns. One variant is (with e.g. 9 identical estimates) always in the columns 1,3,7,8. The other variant is in the columns 2,4,5,6,9. This is very strange and I cannot use these calculations (and selection calculations with the RMSE). Do you have any idea what could be the reason for this? I would be very grateful for any help! Many greetings, Michael

The estimates look like:
smpl 1995:1 2022:3
var var1.var 1 5 y x
var var2.var 1 5 y x
smpl 2022:4 2023:4
var1.makemodel(mod1)
solve mod1
series y1 = y_0
var2.makemodel(mod2)
solve mod2
series y2 = y_0
write M:\test.xls y1 y2

The ouput look like in the attachment.
Attachments
SCHAETZUNG_TEST_TEST.XLS
(1.59 KiB) Downloaded 69 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13318
Joined: Tue Sep 16, 2008 5:38 pm

Re: Problems with forecasting from VAR-Models

Postby EViews Gareth » Fri Nov 11, 2022 10:11 am

Could you provide your workfile?

A simple test indicates the results are identical:

Code: Select all

wfcreate q 1995 2023

series y=nrnd
series x=nrnd


smpl 1995:1 2022:3
var var1.ls 1 5 y x
var var2.ls 1 5 y x
smpl 2022:4 2023:4
var1.makemodel(mod1)
solve mod1
series y1 = y_0
var2.makemodel(mod2)
solve mod2
series y2 = y_0

show y1 y2
Follow us on Twitter @IHSEViews

MiWe
Posts: 4
Joined: Fri Dec 04, 2020 2:43 am

Re: Problems with forecasting from VAR-Models

Postby MiWe » Mon Nov 14, 2022 1:25 am

Hallo Gareth,
Thanks for your reply! Your example works without problems... Attached you will find my workfile (sheet "quarterly" is relevant) and a simple program-example where I get different results.
Thanks a lot, Michael
Last edited by MiWe on Tue Nov 15, 2022 2:18 am, edited 1 time in total.

MiWe
Posts: 4
Joined: Fri Dec 04, 2020 2:43 am

Re: Problems with forecasting from VAR-Models

Postby MiWe » Mon Nov 14, 2022 3:55 am

Hello Gareth,
I have the guess that the problem is that when estimating with a program, the existing models/settings in the workfile are not overwritten. This problem is new to me - it exists since I got a new version installed with a new notebook. If I delete all models from the workfile in advance, the results are identical. Could this be a general problem?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13318
Joined: Tue Sep 16, 2008 5:38 pm

Re: Problems with forecasting from VAR-Models

Postby EViews Gareth » Mon Nov 14, 2022 1:18 pm

Yes, you are correct. If you re-estimate a the BVAR model, it appears to be keeping some if its original settings (not specification, but settings)
Follow us on Twitter @IHSEViews


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 50 guests