confIntAUC: Confidence interval for AUC

View source: R/confIntAUC.R

confIntAUCR Documentation

Confidence interval for AUC

Description

Compute Wald confidence intervals for the area under the curve on the original and logit scale.

Usage

confIntAUC(cases, controls, conf.level = 0.95)

Arguments

cases

Values of the continuous variable for the cases.

controls

Values of the continuous variable for the controls.

conf.level

Confidence level for confidence interval. Default is 0.95.

Value

A data.frame with the columns:

type:

Type of confidence interval.

lower:

Lower bound of CI.

AUC:

Area under the curve.

upper

Upper bound of CI.

Author(s)

Leonhard Held

References

Altman, D.G., Machin, D., Bryant, T.N. and Gardner, M.J. (2001). Statistics with confidence. 2nd Edition, 2000. BMJ Books. Chapter 10.

See Also

confIntIndependentAUCDiff, confIntPairedAUCDiff, standardErrorAUCDiff

Examples


set.seed(12345)
cases <- rnorm(n = 100, mean = 2)
controls <- rnorm(n = 50)
confIntAUC(cases = cases, controls = controls)


felix-hof/biostatUZH documentation built on Sept. 27, 2024, 1:48 p.m.