dummy variables
Posted: Sat Jul 28, 2012 4:31 am
Hi all,
I want to create dummy variables conditional on some date events
e.g i have a sample of quarterly data from 2000 onwards and want to create a dummy that takes the value of 1 for the first quarter of 2002 and zero elsewhere
I am little puzzled on how i can do this in Eviews using a commands. What i do is i create a series with zero values and then edit the selected dates.
Can you please suggest a more efficient way that can be done in Eviews ? is there any equivalent of " series dummy=1 if date==2002q1 otherwise dummy=0"
Thanks
I want to create dummy variables conditional on some date events
e.g i have a sample of quarterly data from 2000 onwards and want to create a dummy that takes the value of 1 for the first quarter of 2002 and zero elsewhere
I am little puzzled on how i can do this in Eviews using a commands. What i do is i create a series with zero values and then edit the selected dates.
Can you please suggest a more efficient way that can be done in Eviews ? is there any equivalent of " series dummy=1 if date==2002q1 otherwise dummy=0"
Thanks