This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Good way of plotting a statistic with error bars

I have a set of f4 ratio statistics with standard errors for different populations/regional groups.

I want to make a plot where the y axis is the different groups and on the Y axis I have the statistic point estimates with 95% CIs. Basically, I want to graphically display how the values for my populations of interest fall out relative to each other and other groups.

Can anyone suggest a good way of doing this? Thanks!

plot

1 answer

You could use a beeswarm plot combined with a notched boxplot.

That is not quite what I am looking for. I only have one data point per group. What I am looking for is something like Figure 2b here except with error bars.

Someone has graphed precisely what I am looking for, but I just don't remember where I saw it.

Once you have calculated your 95% CI and other statistics, you could use R plot primitives points and lines.

I am not sure that that is, and there must be a more straightforward way to do this. Anyone else have any suggestions?

Perhaps a forest plot? But also similar to @Alex answer using points, lines or segments.

Log in to answer this question.