Clyde, please could you tell your opinion about the next code?
:
Thanks in advance,
Best
Rocio
Code:
//Full interacted model taking (a030_4==3 as reference level) . xtlogit a006 (c.a016 c.a020_nac i.a018 i.a019 i.a023 i.a021_imput c.a041_l2_imput c.a002_new c.a024_l2 i.anyo)##ib3.a030_4, nolog i(ident) // Coeff. of a016 for a030_4==3 . lincom a016 ( 1) [a006]a016 = 0 ------------------------------------------------------------------------------ a006 | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- (1) | .238141 .0756697 3.15 0.002 .0898312 .3864509 ------------------------------------------------------------------------------ // Coeff. of a016 for a030_4==4 . lincom a016 + 4.a030_4#a016 ( 1) [a006]a016 + [a006]4.a030_4#c.a016 = 0 ------------------------------------------------------------------------------ a006 | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- (1) | .353059 .1461166 2.42 0.016 .0666757 .6394423 ------------------------------------------------------------------------------ // Comparison between a016 for a030_4==3 and a016 for a030_4==4 . lincom 4.a030_4#a016 ( 1) [a006]4.a030_4#c.a016 = 0 ------------------------------------------------------------------------------ a006 | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- (1) | .114918 .1639872 0.70 0.483 -.206491 .436327 ------------------------------------------------------------------------------ // The same results (larger code) . lincom 3.a030_4#a016 + 4.a030_4#a016 ( 1) [a006]3b.a030_4#co.a016 + [a006]4.a030_4#c.a016 = 0 ------------------------------------------------------------------------------ a006 | Coef. Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- (1) | .114918 .1639872 0.70 0.483 -.206491 .436327 ------------------------------------------------------------------------------
Thanks in advance,
Best
Rocio
Comment