AUC: A function that calculate the area under summary receiver...

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

View source: R/AUC.R

Description

Takes a meta4diag object produced by meta4diag() and calculate the area under summary receiver operating chracteristic line.

Usage

1
2
## S3 method for class 'meta4diag'
AUC(x, sroc.type=1, est.type="median", ...)

Arguments

x

A meta4diag object.

est.type

The estimates type used to make SROC plot. Options are "mean" and "median".

sroc.type

A numerical value specifying the function used to make SROC line. Options are 1, 2, 3, 4, 5. When sroc.type=1, the SROC line is plotted as " The regression line 1" according to Arends et al.(2008),

y = μ + ρ√{σ_{μ}^2/σ_{ν}^2}(x-ν)

When sroc.type=2, the SROC line is plotted as "The major axis method",

y = (σ_{μ}^2-σ_{ν}^2\pm√{(σ_{μ}^2-σ_{ν}^2)^2+4ρ^2σ_{μ}^2σ_{ν}^2})/(2ρ√{σ_{μ}^2σ_{ν}^2})(x-ν)+μ

When sroc.type=3, the SROC line is plotted as "The Moses and Littenberg's regression line",

y = (σ_{μ}^2 + ρ√{σ_{μ}^2σ_{ν}^2})/(σ_{ν}^2+ρ√{σ_{μ}^2σ_{ν}^2})(x-ν)+μ

When sroc.type=4, the SROC line is plotted as "The regression line 2",

y = μ + 1/ρ√(σ_{μ}^2/σ_{ν}^2)(x-ν)

When sroc.type=5, the SROC line is plotted as "The Rutter and Gatsonis's SROC curve",

y = μ + √{σ_{μ}^2/σ_{ν}^2}(x-ν)

...

Arguments to be passes to methods.

Details

The AUC() returns an estimate of the area under the SROC curve. When the number of samples is given in the makeObject() or meta4diag(), the uncertainty of AUC is estimated. Otherwise only the estimates of the AUC respect to the estimated SROC curve is returned.

Value

A vector containing the "est", which indicate the estimates of AUC of the estimated SROC vurve and "mean" and "sd" (plus, possibly quantiles) of AUC if nsample is given.

Author(s)

Jingyi Guo and Andrea Riebler

References

Chappell F, Raab G, Wardlaw J (2009). "When are Summary ROC Curves Appropriate for Diagnostic Meta-analyses?" Statistics in Medicine, 28(21), 2653-2668.

Arends et al.(2008) "Bivariate random effects meta-analysis of ROC curves." Medical Decision Making, 28(5), 621-638.

See Also

SROC, meta4diag

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
if(requireNamespace("INLA", quietly = TRUE)){
  require("INLA", quietly = TRUE)
  data(Catheter)
  res <- meta4diag(data = Catheter, nsample=1000)
  AUC(res, est.type="mean")
}

## End(Not run)

Example output

Loading required package: sp
Loading required package: grid
Loading required package: shiny
Loading required package: shinyBS
Loading required package: caTools

meta4diag documentation built on Dec. 11, 2021, 9:43 a.m.