0% found this document useful (0 votes)
2 views

ques7 output shared

The document presents the results of a linear regression analysis examining the relationship between learning time and various demographic factors, including age, gender, and social group, based on a sample of 40,919 observations. The model indicates significant effects of age and gender on learning time, with robust standard errors confirming these findings. The overall model explains approximately 6.09% of the variance in learning time, with a significant F-statistic indicating the model's validity.

Uploaded by

Aryman Ishaan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

ques7 output shared

The document presents the results of a linear regression analysis examining the relationship between learning time and various demographic factors, including age, gender, and social group, based on a sample of 40,919 observations. The model indicates significant effects of age and gender on learning time, with robust standard errors confirming these findings. The overall model explains approximately 6.09% of the variance in learning time, with a significant F-statistic indicating the model's validity.

Uploaded by

Aryman Ishaan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

.

*Ques 7
. * Final model - normal standard errors
. reg ln_time_learn i.age_grp##i.gender ib9.social_group##i.gender c.lnmpce##i.gender

Source SS df MS Number of obs = 40,919


F(15, 40903) = 176.74
Model 961.030312 15 64.0686875 Prob > F = 0.0000
Residual 14827.4824 40,903 .362503542 R-squared = 0.0609
Adj R-squared = 0.0605
Total 15788.5127 40,918 .38585739 Root MSE = .60208

ln_time_learn Coef. Std. Err. t P>|t| [95% Conf. Interval]

age_grp
18-21yrs 2 -.0682047 .0089393 -7.63 0.000 -.085726 -.0506834
22-25yrs 3 -.230798 .0120481 -19.16 0.000 -.2544125 -.2071834
26-29yrs 4 -.5127133 .0200364 -25.59 0.000 -.551985 -.4734417

gender
Female 2 -.1636081 .080889 -2.02 0.043 -.3221523 -.0050639

age_grp#gender
18-21yrs 2 #
Female 2 -.0697235 .0134396 -5.19 0.000 -.0960654 -.0433816
22-25yrs 3 #
Female 2 -.1458953 .0186932 -7.80 0.000 -.1825344 -.1092561
26-29yrs 4 #
Female 2 -.3460437 .0318214 -10.87 0.000 -.4084144 -.283673

social_group
ST 1 -.0347173 .0135068 -2.57 0.010 -.0611908 -.0082438
SC 2 .0020264 .0123065 0.16 0.869 -.0220946 .0261475
OBC 3 .005314 .0096416 0.55 0.582 -.0135838 .0242118

social_group#gender
ST 1#Female 2 .0559369 .0202055 2.77 0.006 .0163337 .0955401
SC 2#Female 2 -.0171058 .0186769 -0.92 0.360 -.053713 .0195014
OBC 3#Female 2 -.0251883 .0146167 -1.72 0.085 -.0538373 .0034607

lnmpce .0661514 .0067149 9.85 0.000 .05299 .0793127

gender#c.lnmpce
Female 2 .0227708 .010176 2.24 0.025 .0028256 .0427159

_cons 5.515778 .053557 102.99 0.000 5.410805 5.620751

. outreg2 using Q7_output.doc, replace ctitle(OLS SEs) stats(coef se tstat) dec(2)


Q7_output.doc
dir : seeout

.
. * Final model - heteroscedasticity robust SEs
. reg ln_time_learn i.age_grp##i.gender ib9.social_group##i.gender c.lnmpce##i.gender,
> robust

Linear regression Number of obs = 40,919


F(15, 40903) = 111.70
Prob > F = 0.0000
R-squared = 0.0609
Root MSE = .60208

Robust
ln_time_learn Coef. Std. Err. t P>|t| [95% Conf. Interval]

age_grp
18-21yrs 2 -.0682047 .0082224 -8.29 0.000 -.0843208 -.0520886
22-25yrs 3 -.230798 .0129161 -17.87 0.000 -.2561138 -.2054821
26-29yrs 4 -.5127133 .026554 -19.31 0.000 -.5647598 -.4606669

gender
Female 2 -.1636081 .0823146 -1.99 0.047 -.3249464 -.0022698

age_grp#gender
18-21yrs 2 #
Female 2 -.0697235 .0128535 -5.42 0.000 -.0949166 -.0445303
22-25yrs 3 #
Female 2 -.1458953 .0212154 -6.88 0.000 -.1874779 -.1043126
26-29yrs 4 #
Female 2 -.3460437 .0456977 -7.57 0.000 -.4356122 -.2564751

social_group
ST 1 -.0347173 .0135802 -2.56 0.011 -.0613348 -.0080998
SC 2 .0020264 .01191 0.17 0.865 -.0213175 .0253704
OBC 3 .005314 .0092749 0.57 0.567 -.012865 .023493

social_group#gender
ST 1#Female 2 .0559369 .0203193 2.75 0.006 .0161107 .0957631
SC 2#Female 2 -.0171058 .0188123 -0.91 0.363 -.0539784 .0197668
OBC 3#Female 2 -.0251883 .0146715 -1.72 0.086 -.0539449 .0035682

lnmpce .0661514 .0065904 10.04 0.000 .0532341 .0790687

gender#c.lnmpce
Female 2 .0227708 .0104084 2.19 0.029 .00237 .0431715

_cons 5.515778 .0523432 105.38 0.000 5.413184 5.618372

. outreg2 using Q7_output.doc, append ctitle(Robust SEs) stats(coef se tstat) dec(2)


Q7_output.doc
dir : seeout

.
.
.
end of do-file

You might also like