Skip to contents

Adjusts one or two diagnostic cut-points using a coefficient of variation (CV) to account for measurement uncertainty. When a single cut-point is provided, it is expanded into a confidence interval based on the expected assay precision. When two cut-points are given (e.g. for defining an indeterminate or equivocal zone), each is adjusted independently: the lower cut-point defines the lower bound, and the upper cut-point defines the upper bound of the resulting interval. This is useful when applying classification rules to continuous biomarker values under analytical variability.

Usage

cv_cutpts(cutpts, cv, dist = c("lognormal", "normal"), level = 0.95)

Arguments

cutpts

A numeric vector of length 1 or 2, representing cut-point(s).

cv

A positive scalar: coefficient of variation to apply.

dist

A character scalar, either "normal" or "lognormal", indicating the distributional assumption used when applying the CV.

level

Confidence level to use (default = 0.95).

Value

An updated cutpts object.

Examples

cv_cutpts(cutpts(100), cv = 0.1)
#> (-) < 82.24159 <= (~) < 121.593 <= (+) 
cv_cutpts(cutpts(c(90, 110)), cv = 0.1)
#> (-) < 74.01743 <= (~) < 133.7523 <= (+)