Statalist


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

st: SV: AW: svy tab and lincom


From   "Tomas Lind" <tomas.lind@ki.se>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] För Martin Weiss
Skickat: den 18 december 2009 15:56
Till: statalist@hsphsun2.harvard.edu
Ä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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Tomas Lind
Gesendet: Freitag, 18. Dezember 2009 15:52
An: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index