System of Equations Forecasting

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

canboardrp
Posts: 17
Joined: Tue Mar 06, 2012 9:11 am

System of Equations Forecasting

Postby canboardrp » Mon Mar 19, 2012 8:44 am

Hello,

I’m trying to write a forecasting program and model and one of the objects in that will need to be incorporated is a seemingly unrelated equation system.

I’ve got the system written into my program:
system atl
atl.append log(rtddnl) = c(1) + c(2)*log(repnl)+c(3)*log(popnl)+c(4)*log(hddnl)
atl.append log(rtddpe) = c(5) + c(6)*log(reppe)+c(7)*log(poppe)+c(8)*log(hddpe)
atl.append log(rtddns) = c(9) + c(10)*log(repns)+c(11)*log(popns)+c(12)*log(hddns)
atl.append log(rtddnb) = c(13) + c(14)*log(repnb)+c(15)*log(popnb)+c(16)*log(hddnb)
atl.sur(i)
What I’m wondering is if/ how I can:
1) Code a forecast for this system into the program
2) Append the results of the forecast or use the system in a model

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

Re: System of Equations Forecasting

Postby EViews Gareth » Mon Mar 19, 2012 8:49 am

Make a model from the system (system.makemodel) and then solve the model over the period you wish to forecast. That solve will be a forecast.

canboardrp
Posts: 17
Joined: Tue Mar 06, 2012 9:11 am

Re: System of Equations Forecasting

Postby canboardrp » Mon Mar 19, 2012 10:19 am

Using that command, how would I name the specific model that I'm creating?

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

Re: System of Equations Forecasting

Postby EViews Gareth » Mon Mar 19, 2012 10:23 am

It is documented in the System section of Chapter 1 of the Object Reference.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests