Statalist The Stata Listserver


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

st: Re: SW logisitc


From   "Rodrigo A. Alfaro" <ralfaro76@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: SW logisitc
Date   Tue, 12 Sep 2006 11:48:01 -0400

Shi,

It seems to me that you are using -svylogit-... right?? Check in the manual 
the formula related with the weight that you are using. I am guessing that 
the weights are independent of the number of variables. Therefore, you can 
run -sw logit- using weights. Example: (1) Suppose that you are 
using -svyset [pw=wt], then create a new variable that describe the weights 
(weight is a fair name), (2) Check that -svylogit y x1 x2- gives you the 
same as -logit y x1 x2 [pw=weight]-, (3) Run your model as -sw logit 
[pw=weight].

I hope this helps
Rodrigo.






----- Original Message ----- 
From: "Shi Huang" <shuangenshi@gmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, September 12, 2006 11:02 AM
Subject: st: SW logisitc


Hello,

I am doing backward logistic regression with survey data.
Unfortunately,  SW is not supported by svy. Which means I have to do
this manually. According to
http://www.stata.com/support/faqs/stat/lrtest.html, backward LR is not
appropriate if I understand correctly.  So I have to use backward
Wald. Anybody can help me how to get Wald test? Or any command to do
this?

Thanks so much,

Shi
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index