Statalist


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

st: SV: AW: svy tab and lincom


From   "Tomas Lind" <[email protected]>
To   <[email protected]>
Subject   st: SV: AW: svy tab and lincom
Date   Fri, 18 Dec 2009 16:12:07 +0100

Thanks Martin for your kind and fast replay.

/Tomas





-----Ursprungligt meddelande-----
Från: [email protected]
[mailto:[email protected]] För Martin Weiss
Skickat: den 18 december 2009 15:56
Till: [email protected]
Ämne: st: AW: svy tab and lincom


<> 

Just use -proportion- itself, then:


*************
webuse nhanes2b, clear
svyset psuid [pweight=finalwgt], strata(stratid)
svy: prop race
te _b[White]=_b[Black]
*************



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/


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