Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: Show group size in logistic regression


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Show group size in logistic regression
Date   Wed, 11 Mar 2009 17:19:18 +0100

<> 



*************
webuse nhanes2d, clear
svyset
xi:svy: logistic highbp height weight age femal i.region
svy linearized : tabulate region if e(sample), count format(%9.0fc)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Tam Lin
Gesendet: Mittwoch, 11. März 2009 17:11
An: [email protected]
Betreff: st: Show group size in logistic regression




Hello

I am doing logistic regression in a survey sample, and am using the command:
xi:svy, subpop(over65):logistic support i.ethnicity

I want to find out the sample size of each group in my regression model.

For instance, my output has

ethnicity_2   odds ratio    standard error
ethnicity_3   odds ratio    standard error

How can I get it to tell me how many people are in the groups ethnicity_2 and ethnicity_3 in this model?

Thank you.


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/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/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