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
Stata output InterpretationKindly assist with the interpretation of Table 2, Figure 1, Table 3 and Table 4 in the attached docu…
Data spanning across different time period - how to convert it into common variables?Hi, I asked this question in an earlier thread but I guess the data was too confusing, so simplifyin…
How to calculate odds ratio for C.DVHi everyone, How to calculate odds ratio from continuous DV (0 - 100) then transformation log …
Determining direction of causality from FE/FDHi everyone, I am trying to identify the causal effect that X has on y. I am running a pooled OLS f…
Odds ratios with cmmprobit ?Dear all, I am wondering if there is a way to get odds ratios or risk ratios with cmmprobit in Stata…
Subscribe to:
Post Comments (Atom)
0 Response to Finding difference in prevalence between years
Post a Comment