Statalist


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

Re: st: testing equality of proportions?


From   Svend Juul <[email protected]>
To   <[email protected]>
Subject   Re: st: testing equality of proportions?
Date   Mon, 5 Jan 2009 20:52:16 +0100

Dan Waldo wrote:
...
 
My subjects are classified by two nominal 
attributes, say X and Y. I run the tabulate procedure 
 
svy: tab X Y , row ci stubwidth(15)
 
but for the life of me I cannot figure out the syntax
of a command to test whether the proportion with Y==A
is the same for subjects with X==Often as for those 
with X==Seldom. ...
 
====================================================
 
I believe you are pretty close. If Y is a dichotomous 
variable, you can:
 
   svy: tabulate X Y , pearson
 
To lean more, look at:
 
   help svy_tabulate
 
Hope this helps
Svend

 
________________________________________________________ 
 
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6 
DK-8000 Aarhus C,  Denmark 
Phone, work:   +45 8942 6090 
Phone, home:   +45 8693 7796 
Fax:           +45 8613 1580 
E-mail:        [email protected] 
_________________________________________________________ 

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