I am doing a meta-analysis on the performance of certain risk assessment instruments. My goal is to pool the AUC estimates of several validity studies for a particular instrument. However, I came across a few studies that do not provide the AUC estimate itself, but rather only present the ROC curve. In such cases I have used https://apps.automeris.io/wpd/ to get the values corresponding to each data point. However, the problem is that even though I have the values for sensitivity and 1-specificity and can use R to plot the ROC curve myself, I don't know which function to use in order to calculate the Area Under the Curve (AUC). This is due to the fact that all R packages/functions that allow me to calculate the AUC use the underlying data as input. That is, the predictor and the response rather than the values for sensitivity and 1-specificity.
I have read the documentation for the 'pROC' package in R, but did not find anything helpful. I guess I could just integrate the area under the curve of plot using integrate()? The problem with that is, however, that I would not receive the confidence intervals for the AUC (which I need in my meta-analysis).
Here is the data that I generated from one of the ROC-curves (by using https://apps.automeris.io/wpd/):
# data table:
AUC_data_1 <- tibble("1-specificity" = c(-0.0031751800795011,
0.05421559172249585, 0.12174003874893036,0.20579144833428253,
0.3012443157265138, 0.502266554865223, 0.6205366469297053,
0.8417661384716209,
sensitivity = c(0.002260831241825745, 0.16879823941344285,
0.45899739288954267, 0.5804040305755962, 0.7849062327396981,
0.8634686874873007, 0.9710785309748188, 0.9977448923815709))
# roc curve generated from data:
plot(AUC_data_1)
I would like to calculate the AUC from this ROC-curve. However, since I don't have the underlying data (i.e., response and predictor), I can't use the pROC package in R.