Page 1 of 1

Seasonal dummies

Posted: Thu Nov 12, 2009 7:42 am
by donihue
In an earlier thread, it seemed to be suggested that the use of an equation format such as "p1 p2 e12 @expand(@seas)" where the dataset is quarterly would automatically generate four seasonal dummies. However, when I try that in EViews6 or 7beta, I get only one seasonal dummy, listed as "@seas=0" in the output. Could you tell me what is the correct formulation for such dummy generation?

Also, could you tell me if there an automatic way to generate centred seasonal dummies? (I am doing so now by a separate routine:
scalar nseas=4
for !i=1 to nseas
series d_!i=@seas(!i)- (1/nseas)
next)

Many thanks
Donihue

Re: Seasonal dummies

Posted: Thu Nov 12, 2009 9:43 am
by trubador
For automatic seasonal dummy generation, please use the following specification:

Code: Select all

@expand(@quarter)
You'll have to continue to use your routine in centering these dummies though...

Re: Seasonal dummies

Posted: Tue Nov 17, 2009 10:04 am
by donihue
Thank you - so obvious!! A shame there is nothing for centred seasonals, though