Are there packages to calculate sensitivity, specificity, positive predictive value, negative predictive value ?

For the prediction of the aforementioned property of a diagnostic test I was looking for any packages that could be of help without having to write the formulas.

                      Disease Present       Disease Negative

Test Positive a b

Test Negative c d

Hi @madanbaral and welcome!

There are a few packages that have functions to calculate these metrics. A couple of examples are ModelMetrics and yardstick.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.