I’m wondering if someone can help me with a sample weights question. I’m happy with further output but not convinced I’ve got the weight right, as no Population Size/Strata proportion has been given.
A survey studying survival of melanoma, breast, and lung cancer patients was carried out. Assuming all total cancer populations were the same (N_melanoma=N_breast=N_lung) a sample of 120 patients (40 melanoma, 40 breast, and 40 lung) was completed, set up the survey data and the do analysis……..
So my attempt,
I think survey weight is 1/120=0.00833333333 as everypiece of data is proportional and contributory
gen dataweight=0.008333
svyset [pw = dataweight], strata(cancertype)
It seems like I’m missing something?
A survey studying survival of melanoma, breast, and lung cancer patients was carried out. Assuming all total cancer populations were the same (N_melanoma=N_breast=N_lung) a sample of 120 patients (40 melanoma, 40 breast, and 40 lung) was completed, set up the survey data and the do analysis……..
So my attempt,
I think survey weight is 1/120=0.00833333333 as everypiece of data is proportional and contributory
gen dataweight=0.008333
svyset [pw = dataweight], strata(cancertype)
It seems like I’m missing something?
Comment