econ483midterm2009sol

econ483midterm2009sol - use mid200903, clear u * 1 gen...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
* outline of solution * ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** * use mid200901, clear u * 1 summ return if ncomp==1 l * 2 summ posi s * 3 reg jpre mpre if ncomp==2 r * 4 test mpre=1 * reject the null * * 5 gen mob=ncomp-1 gen mobmpre=mob*mpre reg jpre mpre mob mobmpre test mob=mobmpre=0 * fail to reject. cannot say that they are different. * ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** * use mid200902, clear u * 4 egen mx=mean(x) egen my=mean(y) egen varx=mean((x-mx)^2) egen covxy=mean((x-mx)*(y-my)) summ varx covxy s * 5 reg y x test x=3.6 * fail to reject the null. * when the sample size increases, it is likely that we will reject the null. (the law of large numbers applies.) l ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** ****** *
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: use mid200903, clear u * 1 gen wage=exp(logwage) summ wage if afri==1&fema==0 summ wage if afri==0&hisp==0&fema==0 s * 2 reg logwage fema afri hisp educ expe * returns to education. (1 year education increases wage by 13.6%) * * 3 * fail to reject. hispanics are not different from whites. * * 4 * .86% increase * * 5 gen expesq=expe^2 reg logwage fema afri hisp educ expe expesq * the expesq coefficient is insignificantly different from zero. so returns to education is constant. e * 6 * gamma_m=-delta_f * gamma_b=delta_b-delta_h * gamma_w=-delta_h * alpha_0=beta_0+delta_f+delta_h * * 7 reg logwage educ expe if afri==0&hisp==0&fema==0 predict logwage_am if afri==1&fema==0 summ logwage_am s * 8 summ logwage if afri==0&hisp==0&fema==0 summ logwage if afri==1&fema==0 * (2.32-2.21)/(2.32-1.90) = 25% is explained....
View Full Document

This note was uploaded on 04/04/2011 for the course ECON 401 taught by Professor Staff during the Spring '08 term at University of Washington.

Page1 / 2

econ483midterm2009sol - use mid200903, clear u * 1 gen...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online