confIntDiagnostic: Compute confidence intervals for operating characteristics of...

Description Usage Arguments Value Author(s) References Examples

Description

Compute confidence intervals for sensitivity, specificity, positive and negative likelihood ratio of a diagnostic test.

Usage

1
confIntDiagnostic(tp, fp, tn, fn, conf.level = 0.95)

Arguments

tp

Number of true positives.

fp

Number of false positives.

tn

Number of true negatives.

fn

Number of false negatives.

conf.level

Confidence level for confidence intervals.

Value

A dataframe containing the estimated confidence intervals for sensitivity, specificity, positive and negative likelihood ratio.

Author(s)

Leonhard Held

References

Pepe, M.S. (2003) The statistical evaluation of medical tests for classification and prediction. Oxford: Oxford University Press.

Examples

1
2
3
## Calculate confidence intervals for data from the Million Women Study

confIntDiagnostic(tp=629, fp=3885, tn=117744, fn=97)


Search within the biostatUZH package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.