pubh (version 1.1.16)

diag_test2: Diagnostic tests from direct input.

Description

diag_test2 is a wrap that calls epi.tests from package epiR. It computes sensitivity, specificity and other statistics related with screening tests.

Usage

diag_test2(aa, bb, cc, dd)

Arguments

aa

Number of cases where both screening test and the gold standard are positive.

bb

Number of cases where screening test is positive but gold standard is negative.

cc

Number of cases where screening test is negative but gold standard is positive.

dd

Number of cases where both screening test and the gold standard are negative.

Details

diag.test uses direct input variables.

See Also

epi.tests.

Examples

Run this code
# NOT RUN {
## We compare the use of lung<U+2019>s X-rays on the screening of TB against the gold standard test.
diag_test2(22, 51, 8, 1739)
# }

Run the code above in your browser using DataCamp Workspace