Hello STATA Friends,
I'm trying to help my girlfriend with her master thesis' analysis and noticed that she fell victim to the dummy trap.
Her model includes 3 Independent variables (IV) and consequently 3 hypotheses. All IV are dummy variables. If one of them takes the value of 1, the other two are 0. Now, when we run OLS regression, naturally STATA omits one of the IV due to perfect multicollinearity:
(IV in bold)
I've seen this before but I'm not sure how to deal with this so we can test all three hypotheses. Thank you in advance guys 
Konstantin
I'm trying to help my girlfriend with her master thesis' analysis and noticed that she fell victim to the dummy trap.
Her model includes 3 Independent variables (IV) and consequently 3 hypotheses. All IV are dummy variables. If one of them takes the value of 1, the other two are 0. Now, when we run OLS regression, naturally STATA omits one of the IV due to perfect multicollinearity:
(IV in bold)
Code:
. regress $ylist $xlist gender nationality education download vt note: ASVO omitted because of collinearity Source | SS df MS Number of obs = 578 -------------+---------------------------------- F(7, 570) = 10.34 Model | 14.9357089 7 2.1336727 Prob > F = 0.0000 Residual | 117.645606 570 .2063958 R-squared = 0.1127 -------------+---------------------------------- Adj R-squared = 0.1018 Total | 132.581315 577 .229776976 Root MSE = .45431 ------------------------------------------------------------------------------ accuracy | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ISVO | -.3565605 .055648 -6.41 0.000 -.4658606 -.2472603 CSVO | -.2683451 .0460203 -5.83 0.000 -.3587352 -.177955 ASVO | 0 (omitted) gender | -.0733097 .0407658 -1.80 0.073 -.1533792 .0067598 nationality | .0131282 .0050501 2.60 0.010 .0032092 .0230472 education | .0004471 .0032192 0.14 0.890 -.0058757 .00677 download | .1688039 .0566191 2.98 0.003 .0575963 .2800114 vt | .0604796 .041079 1.47 0.141 -.020205 .1411643 _cons | .4201674 .0689283 6.10 0.000 .2847829 .555552 ------------------------------------------------------------------------------

Konstantin
Comment