ggplot:具有95%置信区间的boxplot

问题描述 投票:-1回答:1

我想绘制一个95%置信区间误差条的箱线图。我变得非常困惑。

默认错误栏的统计属性是什么?这95个间隔? (我认为答案是否定的。)有没有一种简单的方法来实现这一目标?这似乎是绘制的常用指标。

matplotlib ggplot2 statistics boxplot confidence-interval
1个回答
0
投票

如果你使用geom_boxplot(notch = TRUE),凹槽将在中位数周围给你大约95%的间隔。见:https://ggplot2.tidyverse.org/reference/geom_boxplot.html

如果它是你所追求的意思,我会叠加geom_jitter() + geom_errorbar(),但计算不再自动化了。

© www.soinside.com 2019 - 2024. All rights reserved.