This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Econ 141: Problem Set 5Answers Fall 2007 Due Monday, November 5th in Class 1. (Requires SAS) This question uses data from wage1.sas7bdat. In that dataset, lwage is the natural log of hourly wage, exper is experience in years, and female is equal to 1 if female and 0 if male. You do not need to turn in a SAS output or editor unless you think there are problems and you want feedback. i. Run the regression of log hourly wage on experience (and an intercept) for men and women separately. Report your regression equations with standard errors. SAS code: proc reg data=wage1; model lwage=exper; where female=1; run; proc reg data=wage1; model lwage=exper; where female=0; run; Results: For women: lwage=1.40424 (0.04391)+0.00073727 (0.00206)*exper (standard errors in parentheses) For men: lwage=1.69767 (0.05242)+0.00660 (0.00237)*exper ii. Show algebraically (NOT IN SAS) how you would combine these two equations into one equation that you could run in SAS. 1 lwage i = f + f 1 exper i + u f i if female lwage i = m + m 1 exper i + u m i if male Let i equal 1 if female and 0 if male lwage i = ( f + f 1 exper i + u f i ) i + ( m + m 1 exper i + u m i )(1- i ) = m + ( f- m ) i + m 1 exper i + ( f 1- m 1 ) exper i i + u m i + ( u f i- u m i ) i = m + ( f- m ) i + m 1 exper i + ( f 1- m 1 ) exper i i + v i where v i = u m i + ( u f i- u m i ) i . Note that this regression is fine as long as we think that the variance of the error term is the same for men and women. This is an assumption you might want to test in real- ity, and you would want to correct for heteroskedasticity if you reject homoskedasticity. This question does not ask you to do that however. iii. In SAS, run the single regression you derived in part (ii). Report the regres- sion equation and standard errors. Are the coefficients you get in this regression what you would expect from the algebra in part (ii)?you would expect from the algebra in part (ii)?...
View Full Document
- Spring '08