Page 1 of 1

Regress on the intercept

Posted: Sat Mar 22, 2014 7:48 am
by jisoo95
How do I do this regression as I'm really stuck..

Regress wage on intercept, education, experience and
these three dummy variables. Note that “female” is a dummy
variable taking 1 if person is female (0 otherwise), “nonwhite” is a dummy variable taking value 1 if
person is of non-white ethnic origin (0 otherwise), and “union” is a dummy variable taking value 1 if
person is a union member (0 otherwise).

And also when you have a regress on the intercept what are the standard rules for writing the code to regress?

Many thanks.

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 7:53 am
by startz
In EViews you include the symbol "C" as a right hand side variable when you want an intercept.

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 8:04 am
by jisoo95
So it would be

ls wage c education experience female nonwhite union

For this regression? Thanks.

Edit: I've done it now thanks! :D

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 8:12 am
by startz
So it would be

wage c education experience female nonwhite union

For this regression? Thanks.

Edit: I'm getting syntax error what have I done wrong? :|
If you are typing this into the command window, you need to start with the regression command "ls"

Code: Select all

ls wage c education experience female nonwhite union

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 8:13 am
by jisoo95
Cheers just realised from looking at my notes many thanks!

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 8:23 am
by jisoo95
I wonder if you can help me with the next part so I have this regression

I have to
"Comment on your regression findings, with particular interest in explaining how these three categories of persons do in terms of expected wage, relative to other category, eg. Female v male, non-white v white, and union v non-union. "

For this what parts of the regression produced do I need to look at to be able to answer this question?

The regression is attached.

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 8:26 am
by EViews Glenn
The FEMALE, NONUNION and WHITE dummy variable coefficients. I think your textbook (looks like Wooldridge), has a discussion of how to do this.

Re: Regress on the intercept

Posted: Sat Mar 22, 2014 8:29 am
by jisoo95
Many thanks.