Statalist


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

st: AW: svy tab and lincom


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: svy tab and lincom
Date   Fri, 18 Dec 2009 16:07:41 +0100

<> 

You can also make this work after -tabulate-:


*************
webuse nhanes2b, clear
svyset psuid [pweight=finalwgt], strata(stratid)
svy: tabulate race sex , row ci
lincom  _b[p31]-_b[p32]
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Tomas Lind
Gesendet: Freitag, 18. Dezember 2009 15:52
An: [email protected]
Betreff: st: svy tab and lincom

Statalisters!


I have survey data and want to compare proportion "yeas" between areas. Is
it possible to do that with lincom after estimation with tab? 

svy , subpop(ar==1) : tab  area  disturbed , row ci

lincom [area]St - [area]Up		// Do not work


/Tomas

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