Dear STATA-users,
I tried to use swboot in order to validate the choice of variables in
stepwise logistic regression analysis. However, one of the variables (xvar3)
that I potentially want to include in the model, is categorial. How can I
make sure that the two categories are either both included or both excluded
(instead of just one) at each repetition?
I already unsuccesfully tried:
xi: swboot yvar xvar1 xvar2 (i.xvar3) xvar4 xvar5 xvar6 xvar7, reps(#)
forward roc
and
swboot yvar xvar1 xvar2 (xvar3_dummy1 xvar3_dummy2) xvar4 xvar5 xvar6 xvar7,
reps(#) forward roc
Any help would be greatly appreciated.
Kind regards,
Marieke
*
* 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/