interactive dummy variables in forecasting

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

Moderators: EViews Gareth, EViews Moderator

freddyg_7
Posts: 3
Joined: Tue Jul 21, 2015 4:36 pm

interactive dummy variables in forecasting

Postby freddyg_7 » Sat Mar 26, 2016 9:45 pm

Hi
Trust all is well. If you put in interactive dummy variables in an equation like so:

Code: Select all

equation {%asset}_m.ls(cov="hac")  dlog({%asset}) dlog({%asset}(-1))*@recode(vix>22,1,0) dlog(world_us)*@recode(vix>22,1,0) dlog(vix)*@recode(vix>22,1,0) c dlog({%asset}(-1))*@recode(vix<22,1,0) dlog(world_us)*@recode(vix<22,1,0) dlog(vix)*@recode(vix<22,1,0)


and assuming I have generated forecasts of "VIX". Will the model solver know to apply the conditions inherent in the dummy variables. That is vix>22 or vix<22 ?

Thanks in advance
fred

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

Re: interactive dummy variables in forecasting

Postby EViews Gareth » Sat Mar 26, 2016 10:15 pm

Yes.
Follow us on Twitter @IHSEViews


Return to “Models”

Who is online

Users browsing this forum: No registered users and 10 guests