pv.from.sesp {NNTbiomarker}R Documentation

pv.from.sesp

Description

Computes predictive values from sensitivity and specificity.

Usage

pv.from.sesp(se = 0.8, sp = 0.8, sesp, prev = 0.001)

Arguments

se

Positive predictive value

sp

Negative predictive value

sesp

Alternative input for se and sp, as matrix or named vector.

prev

Prevalence (prior probability). Default = 0.001

Value

c(ppv=ppv, npv=npv)


[Package NNTbiomarker version 0.29.11 Index]