sample condition

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

Katjes
Posts: 56
Joined: Thu Oct 02, 2008 5:46 am

sample condition

Postby Katjes » Mon Aug 06, 2012 8:00 am

I'm working with a forecasting horizon from 2012-2020 and a model that includes along other equation a text equation for a series X.
Forecasts for 2012 to 2013 (short-run) are "given" and implemented in the model by the model control command.
Hence, the text equation "only applies" to the period 2014-2020. Fine!
e.g.

Code: Select all

model m2
m2.append dlog(X)=1*dlog(Y)
smpl 2012 2013
m2.control  X_a X X_f
smpl 2012 2020
m2.solve
 


Problem:
But how could I implement (ignoring the existing short-term forecasts) that for 2012-2013 an equation is used and from 2014-2020 the test equation? Manually there seems to be an option in properties ->endogenous-->secnarios excluded--> exclude sample. But this seems not to be the solution to the problem. Any suggestions to the code provided below???

e.g.

Code: Select all

model m2
smpl 2014 2020 'long-run text equation
m2.append dlog(X)=1*dlog(Y)
smpl 1970 2011
equation eq1.ls dlog(X)=c(4)+ c(5)*dlog(y)+c(6)*dlog(z)+c(7)*dlog(w)
smpl 2012 2013 'short-run estimation equation
m2.merge eq1
smpl 2012 2020
m2.solve
 

Return to “Models”

Who is online

Users browsing this forum: No registered users and 9 guests