Statalist


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

Re: st: SV: AW: svy tab and lincom


From   sjsamuels@gmail.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: SV: AW: svy tab and lincom
Date   Fri, 18 Dec 2009 12:05:16 -0500

Be aware , -svy: tab- and -svy; prop- have different formulas for
confidence intervals.  -svy: tab- does the CIs on the logit scale,
then back transforms.  This will make a difference if your
probabilities are close to zero or one.

-Steve
> -----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/
>



-- 
Steven Samuels
sjsamuels@gmail.com
18 Cantine's Island
Saugerties NY 12477
USA
845-246-0774

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