--------------------------------------------------------------------------------------------------------- log: D:\My Documents\My Downloads\Econ 170\chapter 11, question 2.log log type: text opened on: 9 Nov 2005, 21:27:17 . use "E:\Schmidt\(02) Stata Format\wages2.dta", clear . generate float female*education=female*education female already defined r(110); . generate float femaleeducation=female*education . describe femaleeducation storage display value variable name type format label variable label ------------------------------------------------------------------------------- femaleeducation float %9.0g . table female, contents( mean femaleeducation) -------------------------- FEMALE | mean(female~n) ----------+--------------- 0 | 0 1 | 12.21252 -------------------------- . regress wagesalary education female femaleeducation Source | SS df MS Number of obs = 827 -------------+------------------------------ F( 3, 823) = 48.14 Model | 6.0868e+10 3 2.0289e+10 Prob > F = 0.0000 Residual | 3.4688e+11 823 421483933 R-squared = 0.1493 -------------+------------------------------ Adj R-squared = 0.1462 Total | 4.0775e+11 826 493643060 Root MSE = 20530 ------------------------------------------------------------------------------ wagesalary | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- education | 2441.145 374.2704 6.52 0.000 1706.508 3175.782 female | 444.0516 6452.425 0.07 0.945 -12221.09 13109.2 femaleeduc~n | -353.8792 457.4274 -0.77 0.439 -1251.741 543.9824 _cons | -6497.525 5524.388 -1.18 0.240 -17341.07 4346.022 ------------------------------------------------------------------------------ . regress wagesalary education female femaleeducation age Source | SS df MS Number of obs = 827 -------------+------------------------------ F( 4, 822) = 46.84 Model | 7.5694e+10 4 1.8923e+10 Prob > F = 0.0000 Residual | 3.3206e+11 822 403960580 R-squared = 0.1856 -------------+------------------------------ Adj R-squared = 0.1817 Total | 4.0775e+11 826 493643060 Root MSE = 20099 ------------------------------------------------------------------------------ wagesalary | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- education | 2789.373 370.8889 7.52 0.000 2061.372 3517.374 female | 1342.794 6318.612 0.21 0.832 -11059.72 13745.31 femaleeduc~n | -439.3143 448.0396 -0.98 0.327 -1318.751 440.1221 age | 522.8714 86.30919 6.06 0.000 353.459 692.2837 _cons | -30959.92 6749.451 -4.59 0.000 -44208.11 -17711.73 ------------------------------------------------------------------------------ . log close log: D:\My Documents\My Downloads\Econ 170\chapter 11, question 2.log log type: text closed on: 9 Nov 2005, 21:38:06 ---------------------------------------------------------------------------------------------------------