Liping Huang
> Thanks for Nick's suggestion. Sorry I didn't state clear
> for what is the
> reasons make me to think about using stepwise regression
> model but force the
> model including some variables. In fact, before running
> the model, I've
> done all different tests and cautiously selected the
> variables that I'd like
> to put into the model. Although I've know some of variables are
> significant in the model, however, for the purpose of
> showing the entire
> relationship of a dependent variable with a group of length of stay
> variables, such as 10 days, 20 days, and etc, to someone
> else, I'd like to
> force these variables into to model. That's the story.
>
> Actually I found the code about how to doing it:
>
> sw regress depvar (var1-var3) var4 ..., pr(.05) lockterm1
>
You are correct; my oversight entirely about the syntax.
I still commend Harrell's discussion.
Nick
[email protected]
*
* 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/