Statalist,
Is there any way to use -adjust- with interaction terms involving the
term being adjusted?
In the following example:
. xi: logistic is_dead i.mbpos*zlog i.mbpos*zero
where mbpos is 0/1
One can adjust for mbpos=1, by:
gen pr_mb1= invlogit(_b[_Imbpos_1] + _b[zlog]*zlog + _b[_ImbpXzlog_1]*zlog /*
*/ + _b[zero]*zero + _b[_ImbpXzero_1]*zero + _b[ _cons])
But this is quite error-prone and somewhat cumbersome.
Suggestions?
Thanks.
Daniel
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/