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

st: RE: How to obtain risk difference and its confidence interval for cluster sampling data?


From   "Sayer, Bryan" <BSayer@s-3.com>
To   "'fyzzz '" <fy_zzz@yahoo.ca>, "'statalist@hsphsun2.harvard.edu '" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: How to obtain risk difference and its confidence interval for cluster sampling data?
Date   Mon, 9 Jun 2003 11:55:56 -0400

Stack (concatenate) the data together, including a variable to distinguish
the two surveys, and use whatever test you would use to compare two groups.
Be sure that the variables have the same names (and data types) and make
sure that the sample design information is correct in the end.
Specifically, the values for strata and PSU could be the same or different
for each survey, depending on the sample design.

Bryan Sayer
Statistician, SSS Inc.

-----Original Message-----
From: fyzzz
To: statalist@hsphsun2.harvard.edu
Sent: 6/6/03 12:14 AM
Subject: st: How to obtain risk difference and its confidence interval for
cluster sampling data?

Dear statalist readers,

I got data from 2 surveys which conducted in different time period.
Cluster sampling method was used, and all unit in selected cluster
were surveyed. SVYTAB can give me the prevalence and CI for each
survey, but no information about risk difference between the 2 survey.
How to obtain it?

I'm a new user of STATA. Any help or suggestion are appreciated!
Thanks a lot!
  

-- 
Best regards,
Flud
mailto:fy_zzz@yahoo.ca

*
*   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/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index