e311a8s - nsan TUNALI Econ 311 Introduction to Econometrics...

This preview shows page 1 - 2 out of 2 pages.

1 İnsan TUNALI 24 November 2016 Econ 311: Introduction to Econometrics STATA Supplement for ASSIGNMENT 8 Part II. STATA Exercises (1) Exercise E5.1. . use Ernings_and_Height.dta .* (a) . regress earnings height Source | SS df MS Number of obs = 17870 -------------+------------------------------ F( 1, 17868) = 196.46 Model | 1.4086e+11 1 1.4086e+11 Prob > F = 0.0000 Residual | 1.2812e+13 17868 717020563 R-squared = 0.0109 -------------+------------------------------ Adj R-squared = 0.0108 Total | 1.2953e+13 17869 724863544 Root MSE = 26777 ------------------------------------------------------------------------------ earnings | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- height | 707.6716 50.48922 14.02 0.000 608.7078 806.6353 _cons | -512.7336 3386.856 -0.15 0.880 -7151.299 6125.832 ------------------------------------------------------------------------------ .* (b) .* Females: . reg earnings height if sex==0, robust Linear regression Number of obs = 9974 F( 1, 9972) = 27.44 Prob > F = 0.0000 R-squared = 0.0027 Root MSE = 26801 ------------------------------------------------------------------------------ | Robust earnings | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- height | 511.2222 97.5846 5.24 0.000 319.9367 702.5077 _cons | 12650.86 6299.151 2.01 0.045 303.2497 24998.47 ------------------------------------------------------------------------------ * Observe how the STATA output differs when “robust” option is excluded/included. .* (c) .* Males: . reg earnings height if sex==1, robust Linear regression Number of obs = 7896 F( 1, 7894) = 174.76 Prob > F = 0.0000 R-squared = 0.0209 Root MSE = 26671
Image of page 1

Subscribe to view the full document.

2 ------------------------------------------------------------------------------
Image of page 2

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern