Solutions_HW2 - -log: C:\Teaching\PAM 305\Homework...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 --------------------------------------------------------------------------------------------------------------------------------------------------- log: C:\Teaching\PAM 305\Homework 2\Solutions to HW2.log log type: text opened on: 28 Sep 2006, 14:05:04 . *Question 1.a. . use "C:\Teaching\PAM 305\Wooldridge STATA Files\swbook1_3e\statafiles\WAGE1.DTA", clear . regress wage educ Source | SS df MS Number of obs = 526 -------------+------------------------------ F( 1, 524) = 103.36 Model | 1179.73204 1 1179.73204 Prob > F = 0.0000 Residual | 5980.68225 524 11.4135158 R-squared = 0.1648 -------------+------------------------------ Adj R-squared = 0.1632 Total | 7160.41429 525 13.6388844 Root MSE = 3.3784 ------------------------------------------------------------------------------ wage | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- educ | .5413593 .053248 10.17 0.000 .4367534 .6459651 _cons | -.9048516 .6849678 -1.32 0.187 -2.250472 .4407687 ------------------------------------------------------------------------------ . *Question 1.d. . plot wage educ a | * v | e | * r | * * a | * * g | * e | * * * | h | * * * * o | * * * * u | * * * * * * r | * * * * * * * l | * * * * * * * y | * * * * * * * * | * * * * * * e | * * * * * * * * * * *
Background image of page 1

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

View Full DocumentRight Arrow Icon
Sheet1 Page 2 a | * * * * * * * * * * * r | * * * * * * * * * * * * * * * n | * * * * * * * * * * * * * * * .53 + * * * * +----------------------------------------------------------------+ 0 years of education 18 . *or you can also do the following, which will show you a nicer graph and also the fitted line . twoway (scatter wage educ) (lfit wage educ)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 12

Solutions_HW2 - -log: C:\Teaching\PAM 305\Homework...

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

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