Hi,
How can I please calculate the measures of validity for a new "diagnostic test" compared to the "true/gold standard test" using stata when the contingency table is n by k?
I would like to calculate the following [sensitivity, specificity, PPV, NPV, Accuracy]
in addition, can I sum and calculate the following [ total true positive values, true negative, false positive, & false negative ] using stata code?
I know for a 2 by 2 table that we can use the "diagtest" syntax, but it dose not work for larger tables if someone can kindly guide me through.
my contingency tables are around (4*4) size
thank you
How can I please calculate the measures of validity for a new "diagnostic test" compared to the "true/gold standard test" using stata when the contingency table is n by k?
I would like to calculate the following [sensitivity, specificity, PPV, NPV, Accuracy]
in addition, can I sum and calculate the following [ total true positive values, true negative, false positive, & false negative ] using stata code?
I know for a 2 by 2 table that we can use the "diagtest" syntax, but it dose not work for larger tables if someone can kindly guide me through.
my contingency tables are around (4*4) size
thank you
Comment