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
You can now play Oregon Trail on Statahttps://twitter.com/mcdroste/status/1321482111350677505 If Stata sales triple in the next few days,…
VAR models on raw or filtered/smoothed data?Dear all, I just started to learn time series analysis and I'm reading Becketti's book at the moment…
Issues with the dependent variable being too common in Logistic regressions? Good morning/afternoon/evening Ladies and Gents of Statalist, I'm using logistic regression to p…
Xtabond postestimation - export results to ExcelDear all, I estimate a dynamic panel model using xtabond command. Next I use xtabond postestimation…
Marginsplot with two regression equationsDear Members, I have two regression equations. After each regression, I run margins and marginsplot.…
Subscribe to:
Post Comments (Atom)
0 Response to Finding difference in prevalence between years
Post a Comment