Skip to contents

Prevalence with a misclassifying test

Usage

RoganGladen(w, n, se, sp, alpha = 0.05)

Arguments

w

Positive results.

n

Sample size.

se, sp

Sensitivity and specificity.

alpha

Level.

Value

list(estimate, apparent, ci, se).

References

Bilder, C. R. & Loughin, T. M. (2025). Analysis of Categorical Data with R, 2nd ed. Eq (6.2).

Examples

RoganGladen(30, 200, 0.9, 0.95)$estimate
#> [1] 0.1176471