Dear all,
I would like to calculate design weight for my survey data. In my research, I want to calculate DALYs = YLDs + YLLs.
DALYs: Disability-Adjusted Life Years
YLDs: Years lost due to Disability;
YLLs: Years of life lost due to premature disability.
My data has two parts: one part for YLDs and one part for YLLs.
Let me makes it clear by the following example
The size of my target population is 10.000 (N) which contains 30 clusters. Then, I choose 10 out of 30 clusters for sampling (Size of 10 clusters equal 5000)
With the sample for YLDs: use equal probability of selection method for choosing 3000 subjects (300 subjects for each clusters choosen);
With the sample for YLLs: choose all deaths in the 10 clusters during the study period.
the sample size is 3.000 (n). And I used Probability Proportional to Size (PPS) sampling method. Then I can calculate the design weight equals N/n = 6.7.
With the values of YLDs and YLLs calculated from the sample equal 1000 and 100, respectively.
Then I calculate DALYs of the target population equals 1000*6.7 (YLDs) + 100*6.7 (YLLs).
Finally, I use the -svyset- command
Am I right? Thank you all in advance.
I would like to calculate design weight for my survey data. In my research, I want to calculate DALYs = YLDs + YLLs.
DALYs: Disability-Adjusted Life Years
YLDs: Years lost due to Disability;
YLLs: Years of life lost due to premature disability.
My data has two parts: one part for YLDs and one part for YLLs.
Let me makes it clear by the following example
The size of my target population is 10.000 (N) which contains 30 clusters. Then, I choose 10 out of 30 clusters for sampling (Size of 10 clusters equal 5000)
With the sample for YLDs: use equal probability of selection method for choosing 3000 subjects (300 subjects for each clusters choosen);
With the sample for YLLs: choose all deaths in the 10 clusters during the study period.
the sample size is 3.000 (n). And I used Probability Proportional to Size (PPS) sampling method. Then I can calculate the design weight equals N/n = 6.7.
With the values of YLDs and YLLs calculated from the sample equal 1000 and 100, respectively.
Then I calculate DALYs of the target population equals 1000*6.7 (YLDs) + 100*6.7 (YLLs).
Finally, I use the -svyset- command
Code:
gen dw=20000/3000 gen fpc=20000 svyset cluster [pweight=dw],fpc(fpc)
Comment