Also, here is an example using clogit. Dummy variable coding and effect coding produce identical fits. Again my guess is that Cordula is making a mistake somewhere (easy enough to do if you have 40 interactions). If you really really want effect coding then you may want to download the xi3 command.
Code:
. webuse lowbirth2, clear
(Applied Logistic Regression, Hosmer & Lemeshow)
. clogit low lwt ptd ht ui i.smoke##i.race, group(pairid) nolog
Conditional (fixed-effects) logistic regression
Number of obs = 112
LR chi2(9) = 26.34
Prob > chi2 = 0.0018
Log likelihood = -25.643997 Pseudo R2 = 0.3393
------------------------------------------------------------------------------
low | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lwt | -.017926 .0101855 -1.76 0.078 -.0378892 .0020371
ptd | 1.797776 .815141 2.21 0.027 .2001289 3.395423
ht | 2.228638 1.149753 1.94 0.053 -.0248361 4.482111
ui | 1.370714 .6920241 1.98 0.048 .0143716 2.727056
1.smoke | 1.917216 1.168335 1.64 0.101 -.3726783 4.20711
|
race |
black | 1.144002 1.263177 0.91 0.365 -1.331779 3.619783
other | .2858877 .9932426 0.29 0.773 -1.660832 2.232607
|
smoke#race |
1#black | -.9362929 1.745752 -0.54 0.592 -4.357905 2.485319
1#other | -.760635 2.037016 -0.37 0.709 -4.753113 3.231843
------------------------------------------------------------------------------
. xi3: clogit low lwt ptd ht ui e.smoke*e.race, group(pairid) nolog
e.smoke _Ismoke_0-1 (naturally coded; _Ismoke_0 omitted)
e.race _Irace_1-3 (naturally coded; _Irace_1 omitted)
Conditional (fixed-effects) logistic regression
Number of obs = 112
LR chi2(9) = 26.34
Prob > chi2 = 0.0018
Log likelihood = -25.643997 Pseudo R2 = 0.3393
------------------------------------------------------------------------------
low | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lwt | -.017926 .0101855 -1.76 0.078 -.0378892 .0020371
ptd | 1.797776 .815141 2.21 0.027 .2001289 3.395423
ht | 2.228638 1.149753 1.94 0.053 -.0248361 4.482111
ui | 1.370714 .6920241 1.98 0.048 .0143716 2.727056
_Ismoke_1 | .6757866 .3292875 2.05 0.040 .030395 1.321178
_Irace_2 | .4820471 .5072945 0.95 0.342 -.5122319 1.476326
_Irace_3 | -.2882385 .5479771 -0.53 0.599 -1.362254 .7857769
_Ism1Xra2 | -.1853251 .4913708 -0.38 0.706 -1.148394 .777744
_Ism1Xra3 | -.0974962 .5772872 -0.17 0.866 -1.228958 1.033966
------------------------------------------------------------------------------
.

Comment