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/