Hello,
I would like to have some help with calculating sensitivity and specificity for repeated data (a patient has multiple falls) using test (0 and 1)
I use the following codes:
xtset id
xtgee fall i.test i.sex, family(poisson) link(log) corr(independent) vce(robust) eform
predict pred_prob, mu
gen pred_class = (pred_prob > 0.5)
rmclass pred_class fall, cluster(mrn)
But I am not sure. Do you have an example that I can follow?
Many thanks,
Lieu
I would like to have some help with calculating sensitivity and specificity for repeated data (a patient has multiple falls) using test (0 and 1)
I use the following codes:
xtset id
xtgee fall i.test i.sex, family(poisson) link(log) corr(independent) vce(robust) eform
predict pred_prob, mu
gen pred_class = (pred_prob > 0.5)
rmclass pred_class fall, cluster(mrn)
But I am not sure. Do you have an example that I can follow?
Many thanks,
Lieu