Hello,
First, I hope everyone had/has a happy easter this year !
I have a problem with my regression.
I first "grouped" some variables as following for example:
After that I tried to do a regression with interaction effects with:
The problem is it doesn't show the effects of low_neuro or low_extra
The problem happens to every variable I use, it always excludes the first value, so it probably has to something with . label define or . label val but
I can't find out what it is.
I hope someone can (Probably, because I hope it will be a minor problem again) help me with that.
Thanks a lot in advance and kind regards
Marcel
First, I hope everyone had/has a happy easter this year !
I have a problem with my regression.
I first "grouped" some variables as following for example:
Code:
. generate neuro=0 if Neurocitism < mean_neurocitism . replace neuro=1 if Neurocitism >= mean_neurocitism . label define neuro 0 "low_neuro" 1 "high_neuro" . label val neuro neuro . generate extravert = 0 if Extraversion < mean_extraversion . replace extravert = 1 if Extraversion >= mean_extraversion . label define extravert 0 "low_extr" 1 "high_extr" . label val extravert extravert
Code:
. regress SWB i.neuro##i.extravert
Code:
Source | SS df MS Number of obs = 21000 -------------+------------------------------ F( 3, 20996) = 11.82 Model | 99.005519 3 33.0018397 Prob > F = 0.0000 Residual | 58638.5647 20996 2.79284458 R-squared = 0.0017 -------------+------------------------------ Adj R-squared = 0.0015 Total | 58737.5702 20999 2.79716035 Root MSE = 1.6712 --------------------------------------------------------------------------------------- SWB | Coef. Std. Err. t P>|t| [95% Conf. Interval] ----------------------+---------------------------------------------------------------- neuro | high_neuro | -.1988148 .0679501 -2.93 0.003 -.3320022 -.0656275 | extravert | high_extr | .1692158 .0672993 2.51 0.012 .037304 .3011277 | neuro#extravert | high_neuro#high_extr | .0140056 .0815663 0.17 0.864 -.1458707 .1738819 | _cons | 6.928639 .0515492 134.41 0.000 6.827599 7.02968
I can't find out what it is.
I hope someone can (Probably, because I hope it will be a minor problem again) help me with that.
Thanks a lot in advance and kind regards
Marcel
Comment