I have a dataset of all cases of a specific disease, pemphigus, for 10 years and am using survey weights and the svy command to estimate the national prevalence. My variables are pemphigus and year. I'd like to find the difference in prevalence between 2005 and 2006 with a confidence interval. I have been able to find the prevalence of pemphigus per year with a corresponding confidence interval, but have not been able to find the difference between the years.
For example, I have found the following:
Year 1: 300 (95% CI 290-310)
Year 2: 100 (95% CI 80 - 120)
I would like to calculate the following (while still using svy command):
Year 1 - Year 2: 200 (95% CI 195 - 205) p-value = 0.01
Could anyone help with the coding?
Related Posts with Finding difference in prevalence between years
How do I generate a numerical variable from a string variable?I have a variable with city names and I want to create a new variable which a unique number for each…
GLS regression STATACurrently I'm working on the replication (variation in time) of Charles W. L. Hill, & Phan, P. (…
Question about datesI had a question about dates. Can someone suggest an efficient method to deal with this type of date…
FD-GMM vs sys-GMMDear all. Which kind of GMM method should I use to dynamic panel data? FD-GMM or sys GMM?Some people…
Model using lagged independent variable = model using forwarded dependent variable?Say two models using panel data Model 1: Yt = Xt-1 Model 2: Yt+1 = Xt Does these two models are the …
Subscribe to:
Post Comments (Atom)
0 Response to Finding difference in prevalence between years
Post a Comment