Source SS df MS Number of obs = 169 F( 3, 165) = 3.28 Model 3995.078 3 1331.69267 Prob > F = 0.0223 Residual 66894.7695 165 405.422845 R-squared = 0.0564 Adj R-squared = 0.0392 Total 70889.8475 168 421.963378 Root MSE = 20.135 health Coef. Std. Err. t P>|t| [95% Conf. Interval] age -.423569 .1411224 -3.00 0.003 -.7022075 -.1449305 female 1.139752 3.258698 0.35 0.727 -5.29437 7.573874 educ .149646 1.274803 0.12 0.907 -2.367383 2.666675 _cons 87.32038 18.29475 4.77 0.000 51.19838 123.4424
Question 6
(a) I issued the command: gen agem2= age^2 gen agem3= age^3 label var agem2 \label var agem3 \
regress health age agem2 agem3 female educ
Source SS df MS Number of obs = 1116 F( 5, 1110) = 8.96 Model 16194.2493 5 3238.84985 Prob > F = 0.0000 Residual 401141.947 1110 361.389141 R-squared = 0.0388 Adj R-squared = 0.0345 Total 417336.196 1115 374.292553 Root MSE = 19.01 health Coef. Std. Err. t P>|t| [95% Conf. Interval] age .485484 3.166313 0.15 0.878 -5.727149 6.698117 agem2 -.0075369 .0755587 -0.10 0.921 -.1557908 .140717 agem3 -.0000296 .0005829 -0.05 0.960 -.0011732 .0011141 female -.9160576 1.208833 -0.76 0.449 -3.287912 1.455797 educ .4262633 .226685 1.88 0.060 -.018516 .8710427 _cons 63.0898 42.42545 1.49 0.137 -20.15332 146.3329
Question 7
I issued the command: regress health age if educ==11, robust
Question 8
I issued the command:
egen avehealth=mean(health), by(incgroup) graph twoway bar avehealth incgroup
90avehealth70758085123incgroup456
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库EC252 Assignment(2)在线全文阅读。
相关推荐: