You might want to consider something akin to a Cleveland dotplot, with the estimate in the center of a line segment that indicates the extent of the CI. I've done something similar in my current project using the segplot() function in latticeExtra package in R. R may be overkill if this is a one-off table in need of a one-off graph, but the visual concept of segments with marked centers is the point. On the other hand, if this is just one piece of a larger automated workflow, then R might be the way to go.
This is not a working example but might give you someplace to start:
library(lattice)
library(latticeExtra)
library(forcats) ## for the fct_rev() function below
## x is a dataframe with four variables: label, estimate, lower bound of CI, and upper bound of CI
## label would be your column "Effect (Factor).
## you might be able to use your "Subgroup" as a factor to plot the CIs in different panels; I have not tried that.
## Note that your estimates and CI bounds are already exponentiated into ORs, so you would have to change that in the below.
my.segplot.OR.f <- function(x){
segplot(fct_rev(label) ~ exp(lwr) + exp(upr), data = x,
main = "Effect of GUV on pre-school absenteeism",
xlab = "estimated odds ratio and simultaneous one-sided 95% confidence intervals",
draw.bands = FALSE, centers = exp(estimate), pch = 19, cex = 1.5,
segments.fun = panel.arrows,
ends = "first", angle = 45, length = .15,
lwd = 2,
# par.settings = simpleTheme(pch = 19, col = 1),
# xlab = expression("Number " %+-% " SE"),
panel = function(x, y, z, ...) {
panel.abline(v = 1, col = "darkgrey", lty = 2)
panel.segplot(x, y, z, ...)})
}
------------------------------
Christopher Ryan
Clinical Associate Professor of Family Medicine
------------------------------
Original Message:
Sent: 06-22-2022 18:49
From: Novie Younger-Coleman
Subject: Seeking suggestions for a graphical display
Dear Colleagues,
My client wishes to have the information in Table 1 below displayed graphically. Does anyone have suggestions regarding approaches to getting this done? I will also be reading references that I have acquired since my last query regarding graphical displays to try to glean some ideas.
Regards
Novie
------------------------------
Novie Younger-Coleman
Statistician
Caribbean Institute for Health Research, UWI, Mona, Jamaica
------------------------------