acc_dg1: PVB correction by Begg and Greenes' method 1 (deGroot et al,...

View source: R/PVBcorrect_functions.R

acc_dg1R Documentation

PVB correction by Begg and Greenes' method 1 (deGroot et al, no covariate)

Description

Perform PVB correction by Begg and Greenes' method 1 as described in deGroot et al (2011), in which it also includes PPV and NPV calculation.

Usage

acc_dg1(data, test, disease, description = TRUE)

Arguments

data

A data frame, with at least "Test" and "Disease" variables.

test

The "Test" variable name, i.e. the test result. The variable must be in binary; positive = 1, negative = 0 format.

disease

The "Disease" variable name, i.e. the true disease status. The variable must be in binary; positive = 1, negative = 0 format.

description

Print the name of this analysis. The default is TRUE. This can be turned off for repeated analysis, for example in bootstrapped results.

Value

A data frame object containing the accuracy results.

References

  1. de Groot, J. A. H., Janssen, K. J. M., Zwinderman, A. H., Bossuyt, P. M. M., Reitsma, J. B., & Moons, K. G. M. (2011). Correcting for partial verification bias: a comparison of methods. Annals of Epidemiology, 21(2), 139–148.

Examples

acc_dg1(data = cad_pvb, test = "T", disease = "D")  # equivalent to result by acc_ebg()

wnarifin/PVBcorrect documentation built on May 12, 2024, 4:13 p.m.