Page 1 of 1

Generate dummies

Posted: Fri Oct 31, 2014 8:39 am
by jmanuel
Dear ..
I've just started using eviews and I need to generate dummies to perform unit root tests for my times series data.
My dummy is
D = 0 from 2000:01 to 2003:08
D=1 otherwise
I really do not know how to do it
Thank you so much
JManuel

Re: Generate dummies

Posted: Fri Oct 31, 2014 8:48 am
by startz

Code: Select all

series D=1 smpl 2000:01 2003:08 D=0 smpl @all

Re: Generate dummies

Posted: Fri Oct 31, 2014 9:07 am
by jmanuel
Thank you.
But here do I write this code?
(My final purpose is to use T (or E)GARCH models allowing structural breaks)
JM

Re: Generate dummies

Posted: Fri Oct 31, 2014 9:29 am
by startz
Just type in the command window.

Re: Generate dummies

Posted: Fri Oct 31, 2014 9:30 am
by EViews Gareth