NNT.to.pv: NNT.to.pv

Description Usage Arguments Value

Description

Convert between (NNTpos, NNTneg) and (PPV, NPV).

Usage

1
NNT.to.pv(NNTpos, NNTneg, NNT, prev, calculate.se.sp = F)

Arguments

NNTpos

NNT for a patient with positive test result

NNTneg

NNT for a patient with negative test result

NNT

A matrix or vector of (NNTpos, NNTneg) values.

prev

Prevalence of the "BestToTreat" group before testing.

calculate.se.sp

(default=FALSE) If TRUE, also calculate the sensitivity and specificity using the contra-Bayes theorem.

Value

For matrix input, cbind(ppv=ppv, npv=npv). For vector input, c(ppv=ppv, npv=npv).


NNTbiomarker documentation built on May 1, 2019, 11:15 p.m.