two_test_series: Two tests in series

View source: R/twotest.R

two_test_seriesR Documentation

Two tests in series

Description

Calculate sensitivity, specificity, and predictive value of two tests used in series.

Usage

two_test_series(se1, sp1, se2, sp2, prev)

Arguments

se1

The sensitivity estimate for test 1.

sp1

The specificity estimate for test 1.

se2

The sensitivity estimate for test 2.

sp2

The specificity estimate for test 2.

prev

The estimated prevalence of the condition of interest.

Value

A list containing the sensitivity estimate (se_estimate), specificity estimate (sp_estimate), positive predictive value estimate (ppv_estimate), and negative predictive value estimate (npv_estimate) of the two tests used together.


bjoleary/dxr documentation built on Dec. 5, 2023, 8:33 p.m.