Regression with Dummy Variables

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

Kiran Ujjawala Mehta
Posts: 1
Joined: Thu May 07, 2009 10:11 pm

Regression with Dummy Variables

Postby Kiran Ujjawala Mehta » Fri May 08, 2009 2:38 am

I want to apply OLS with dummy variables. I have taken five days of the week and their daily returns for 5 years. while estimating the equation, i think i am not able to run the command in appropriate way. As i am using financial time series, plz help me out how should i run the command?

I simply tried it as

ser01 c ser02 ser03 ser04 ser05

is this the right way to use regression with dummy variables by using eviews software.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Regression with Dummy Variables

Postby startz » Fri May 08, 2009 5:22 am

I want to apply OLS with dummy variables. I have taken five days of the week and their daily returns for 5 years. while estimating the equation, i think i am not able to run the command in appropriate way. As i am using financial time series, plz help me out how should i run the command?

I simply tried it as

ser01 c ser02 ser03 ser04 ser05

is this the right way to use regression with dummy variables by using eviews software.
You need to use the ls command. You might find the first few chapters of EViews Illustrated, available online to be helpful.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Regression with Dummy Variables

Postby trubador » Fri May 08, 2009 5:26 am

The way you are trying to do is only applicable when you are inside the equation dialog box. Carrying out the analysis from the command line is as follows:

Code: Select all

equation eqname.ls ser01 c ser02 ser03 ser04 ser05
and if you also would like to see the output:

Code: Select all

show eqname


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests