前言
近日有朋友在《统计咨询》公众号咨询:条形图上的误差棒应该用标准差SD还是标准误SE?看了不少文献,两者都有人用。小编苦思良久,觉得两者都能用,只要说明清楚即可。正好找到一篇专门针对这个问题的文献《Error bars in experimental biology》,该文章中总结了使用误差棒的8个准则,下面一一简介。
准则1
When showing error bars, always describe in the figure legends what they are.
若要展示误差棒,须在图例中说明。因为误差棒可以用于描述和推断,所以标准差SD、标准误SE、置信区间1.96*SE等都可以使用。如下两个图,其一用的全距Range和标准差SD,其二用的是置信区间CI。


准则2
The value of n must be stated in the figure legend.
误差棒对应的样本量须在图例中说明。如下图,随着样本量的增大,标准差SD可能几乎不变,但置信区间CI和标准误SE会明显变窄。

准则3
Error bars and statistics should only be shown for independently repeated experiments, and never for replicates.
误差棒应用于独立的重复试验,而非重复样本。如下图,对重复样本 (可能是同一样本) 的酶活性进行统计描述,使得误差棒范围非常小,作用不大。

准则4
Because experimental biologists are usually trying to compare experimental results with controls, it is usually appropriate to show inferential error bars, such as SE or CI, rather than SD. However, if n is very small (for example n = 3), rather than showing error bars and statistics, it is better to simply plot the individual data points.
由于实验生物学家通常将实验组与对照组进行比较,此时用推断性质的误差棒 (如:标准误SE或置信区间CI) 比标准差SD更合适。但当样本量较少 (如:n=3) 时,直接给出各个数据点的分布,要比给出任一种误差棒更好。如准则2中的图。
准则5
95% CIs capture μ on 95% of occasions, so you can be 95% confident your interval includes μ. SE bars can be doubled in width to get the approximate 95% CI, provided n is 10 or more. If n = 3, SE bars must be multiplied by 4 to get the approximate 95% CI.
标准误SE与95%置信区间CI的关系可以从图中直观判断,当样本量大于10时,95%CI的宽度约为SE的两倍,而样本量为3时,95%CI的宽度约为SE的四倍。如准则2中的图。
准则6
When n = 3, and double the SE bars don't overlap, P < 0.05, and if double the SE bars just touch, P is close to 0.05. If n is 10 or more, a gap of SE indicates P ≈ 0.05 and a gap of 2 SE indicates P ≈ 0.01.
当样本量为3时,两倍的标准误棒没有重叠,表示P<0.05 (左图左侧) ;当样本量大于等于10时,两倍的标准误棒没有重叠,表示P<0.01 (右图右侧) 。

准则7
With 95% CIs and n = 3, overlap of one full arm indicates P ≈ 0.05, and overlap of half an arm indicates P ≈ 0.01.
当样本量为3时,95%置信区间的单个臂重叠,表示P ≈ 0.05;若是半个臂重叠,表示P ≈ 0.01。

准则8
In the case of repeated measurements on the same group, CIs or SE bars are irrelevant to comparisons within the same group.
在重复测量设计的数据中,同一组不同时间点的置信区间CI或标准误SE棒与组间差异 (如:准则6和准则7) 无关。
