PS_3_sol

PS_3_sol - Economics 1630: Econometrics I Solutions to...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: Economics 1630: Econometrics I Solutions to Homework 3 1 Due November 15, 2010 Problem 1 Use the data set TeachingRatings to carry out the following exercises: a.(10 ) Estimate a regression of Course Eval on Beauty , Intro , OneCredit , Female , Minority , and NNEnglish . reg course_eval beauty intro onecredit female minority nnenglish, r Linear regression Number of obs = 463 F( 6, 456) = 17.03 Prob > F = 0.0000 R-squared = 0.1546 Root MSE = .51351------------------------------------------------------------------------------ | Robust course_eval | Coef. Std. Err. t P>|t| [95% Conf. Interval]-------------+---------------------------------------------------------------- beauty | .16561 .0315686 5.25 0.000 .1035721 .2276478 intro | .011325 .0561741 0.20 0.840-.0990673 .1217173 onecredit | .6345271 .1080864 5.87 0.000 .4221178 .8469364 female |-.1734774 .0494898-3.51 0.001-.2707337-.0762212 minority |-.1666154 .0674115-2.47 0.014-.2990912-.0341397 nnenglish |-.2441613 .0936345-2.61 0.009-.42817-.0601526 _cons | 4.068289 .0370092 109.93 0.000 3.995559 4.141019------------------------------------------------------------------------------ b. (10 ) Add Age and Age 2 to the regression. Is there evidence that Age has a nonlinear effect on Course Eval ? Is there evidence that Age has any effect on Course Eval ? gen age2=age^2 reg course_eval beauty intro onecredit female minority nnenglish age age2, r Linear regression Number of obs = 463 F( 8, 454) = 12.92 Prob > F = 0.0000 R-squared = 0.1573 Root MSE = .51383------------------------------------------------------------------------------ | Robust 1 If you find any error or typo, please email me at Zhi Wang @ brown.edu . Thank you very much! 1 course_eval | Coef. Std. Err. t P>|t| [95% Conf. Interval]-------------+---------------------------------------------------------------- beauty | .1596534 .0306439 5.21 0.000 .0994318 .2198749 intro | .0024414 .0564425 0.04 0.966-.1084796 .1133623 onecredit | .6197589 .1085906 5.71 0.000 .4063564 .8331614 female |-.1881177 .0517023-3.64 0.000-.2897233-.0865122 minority |-.1795689 .0692882-2.59 0.010-.3157342-.0434036 nnenglish |-.2432153 .0959732-2.53 0.012-.4318221-.0546085 age | .0195252 .0234711 0.83 0.406-.0266002 .0656507 age2 |-.0002223 .0002442-0.91 0.363-.0007022 .0002576 _cons | 3.677032 .5497641 6.69 0.000 2.596634 4.75743------------------------------------------------------------------------------ test age age2 ( 1) age = 0 ( 2) age2 = 0 F( 2, 454) = 0.63 Prob > F = 0.5339 (or F homo = R 2 ur- R 2 r 1- R 2 ur n- k- 1 J = . 1573- . 1546 1- . 1573 463- 9 2 . 7273 < 3 = F 2 , ) Neither the linear term nor the quadratic term is significant, so no evidence that Age has a nonlinear effect on Course E val . F test shows Age has no effect on the course evaluation....
View Full Document

Page1 / 7

PS_3_sol - Economics 1630: Econometrics I Solutions to...

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