confIntAUC: Compute confidence interval for AUC

Description Usage Arguments Value Author(s) References See Also Examples

Description

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

Usage

1
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.

Value

A list with the entries:

p

Estimated proportion.

CIs

Dataframe containing the estimated confidence intervals.

Author(s)

Leonhard Held

References

The computations follow Chapter 10 in

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

See Also

Earlier function with this name is now called summaryROC().

Examples

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

biostatUZH documentation built on May 2, 2019, 6:06 p.m.