Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Saidé Salazar <saide.salazar@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Predicted probabilities for logistic regression after svy |
Date | Wed, 18 Sep 2013 19:40:38 -0500 |
Hi Richard, I thought "predict" was calculating the index X*b, not the predicted probabilities. I see now that it actually estimates F(xb). Thank you very much! Aranzazu On Wed, Sep 18, 2013 at 8:15 PM, Richard Williams <richardwilliams.ndu@gmail.com> wrote: > At 06:28 PM 9/18/2013, Saidé Salazar wrote: >> >> Dear Stata listers, >> >> I am running a logistic regression after svy. How could I get the >> predicted probabilities? (taking into account the complex structure of >> the survey). Thank you for your help! > > > If it was me I would use the predict command. Is there some reason you don't > want to do that? e.g. > > webuse nhanes2f, clear > svy: logit diabetes age i.female > predict prob > > > >> Aranzazu >> * >> * For searches and help try: >> * http://www.stata.com/help.cgi?search >> * http://www.stata.com/support/faqs/resources/statalist-faq/ >> * http://www.ats.ucla.edu/stat/stata/ > > > ------------------------------------------- > Richard Williams, Notre Dame Dept of Sociology > OFFICE: (574)631-6668, (574)631-6463 > HOME: (574)289-5227 > EMAIL: Richard.A.Williams.5@ND.Edu > WWW: http://www.nd.edu/~rwilliam > > > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/