Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: SW logisitc


From   "Rodrigo A. Alfaro" <[email protected]>
To   <[email protected]>
Subject   Re: st: Re: SW logisitc
Date   Tue, 12 Sep 2006 19:45:29 -0400

An example of Richard answer (using version 8)

 sysuse auto
 sw logit foreign (price mpg) ( trunk weight length turn), pr(.2) lockterm1
 sw logit foreign price mpg ( trunk weight length turn), pr(.2)

Rodrigo.

----- Original Message ----- 
From: "Richard Williams" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 12, 2006 2:46 PM
Subject: Re: st: Re: SW logisitc


At 12:28 PM 9/12/2006, Shi Huang wrote:
>Hi, Rodrigo,
>
>Thank you so much for help. It works.
>
>BTW, Do you know how to force some variables stay in the model when
>running backward selection?


In Stata 9 with the sw prefix, the lockterm1 option specifies that
the first term be included in the model and not be subjected to the
selection criteria.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX:    (574)288-4373
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW (personal):    http://www.nd.edu/~rwilliam
WWW (department):    http://www.nd.edu/~soc

*
*   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/

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index