Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: testing 2 proportions using svytab


From   Daniel Egan <[email protected]>
To   [email protected]
Subject   Re: st: testing 2 proportions using svytab
Date   Fri, 18 Feb 2005 10:02:40 -0500

Hello all, 

Hopefully I have solved this, but wanted to see if this made sense: 

I asked:
> I am using svytab to look at different proportions of a 4 value
> category by an indicator variable:
> 
> svytab dummy cat4,  row se
> ------------------------------
>    1   2   3   4
> 0   a   b   c   d
> 1   e   f   g   h
> ------------------------------
> 
> test a==e, etc...
> 
> I would like to test whether or not the row proportions for each
> category of cat4 are significant from the opposite by indicator. I
> assume I can do this using the standard error, but am unsure of how to
> code this. 


after I :

svytab dummy cat4,  row format(%12.3f) se

I can then

test _b[p11]=_b[p21]
test _b[p12]=_b[p22]
.....etc

Is this test valid (variance-wise) for a test that two proportions
from the same survey are different, given the use of svytab?

Other relevant posts include:

http://www.stata.com/statalist/archive/2004-05/msg00975.html
http://www.stata.com/statalist/archive/2002-10/msg00420.html

Any help is appreciated, 

Dan
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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