Skip to content

Sensitivity and Specificity Forest Plots

2 messages · Jonathan Minton, Viechtbauer Wolfgang (STAT)

#
Essentially, this is a side-by-side forest plot, where the plot on the left is for sensitivity and the plot on the right is for specificity. For 2x2 table data from diagnostic studies, it is easy to calculate the sensitivity and specificity values (and corresponding sampling variances) by hand. In fact, since sensitivity and specificity values are actually simply proportions, you can use the escalc() function in the metafor package to do this for you (just pass the appropriate cell counts to escalc() and use one of the outcome measures listed under "Proportions and Transformations Thereof" -- see help(escalc). Then, you could set up a plotting device with layout() and put the forest plot for sensitivity on the left and the plot for specificity on the right. So, everything is already there to do this.

Best,

Wolfgang