Page 1 of 1

Dummy Variables: Stock Market Seasonality

Posted: Sun Apr 18, 2010 5:48 am
by jellyace
Hi, I'm doing a study regarding stock market seasonality, specifically the day-of-the-week effect. I'm really new and unfamiliar with using codes in Eviews. I understand I'll have 5 dummy variables, that’s Mon to Fri. My data involves 10years, which gives me 2707 days (sample size). Since I was able to do the assigning of 0s and 1s in excel, I've just entered it manually in Eviews. However, upon entering the equation, I’m getting the error “near singular matrix”. Im not sure if the equation is wrong or I have a problem with the dummy variables.

Can anyone please tell me what specific code/s do I have to input to generate dummy variables automatically? Or what equation do I have to enter when using dummy variables?

Can anyone please help me? Thanks in advance!

Re: Dummy Variables: Stock Market Seasonality

Posted: Sun Apr 18, 2010 9:47 am
by EViews Gareth
You've probably entered the Dummy Variable Trap. Drop either one of the dummies, or the constant from your model.

Re: Dummy Variables: Stock Market Seasonality

Posted: Mon Apr 19, 2010 5:40 pm
by jellyace
thanks a lot! :)