Σ
SDCalc
高级高级·14 min

利用标准差进行假设检验

学习标准差在假设检验中的应用。理解 t 检验、z 检验,以及如何判断统计显著性。

概述

假设检验是一种基于样本数据对总体做出判断的统计方法。标准差在判断观察到的差异是否具有统计显著性、而非仅由随机因素造成方面起着关键作用。

1

陈述假设

提出原假设 (H₀) 和备择假设 (H₁)
2

选择显著性水平

选择显著性水平 (α),通常为 0.05
3

计算检验统计量

利用标准差计算检验统计量
4

与临界值比较

与临界值比较或计算 p 值
5

做出决策

做出决策:拒绝或不拒绝 H₀

Z 检验

当你已知总体标准差 (σ) 且样本量较大(n ≥ 30)时,使用 Z 检验。

Z 检验统计量

z = (x̄ - μ₀) / (σ / √n)

示例

一家制造商声称电池平均寿命为 100 小时(μ₀ = 100)。你测试了 36 节电池,发现 x̄ = 98 小时。若 σ = 12 小时: z = (98 - 100) / (12 / √36) = -2 / 2 = -1 在 z = -1 且 α = 0.05(双尾检验)时,我们不拒绝 H₀。差异不具有统计显著性。

t 检验

当你不知道总体标准差、需要用样本来估计(使用 s 而非 σ)时,使用 t 检验。

t 检验统计量

t = (x̄ - μ₀) / (s / √n)

何时使用 t 检验与 Z 检验

- Z 检验:σ 已知,n ≥ 30 - t 检验:σ 未知(使用 s),适用于任何样本量 在实际中,t 检验更为常用,因为我们很少知道真实的总体 σ。

标准误差

标准误差(SE)衡量的是样本均值与总体均值之间的偏离程度。它是连接标准差和假设检验的核心纽带。

均值的标准误差

SE = σ / √n(或使用样本标准差时为 s / √n)

标准误差随样本量的增大而减小。更大的样本能提供更精确的估计,也更容易发现真实差异。

统计显著性

当结果出现的随机概率(p 值)低于你设定的阈值 (α) 时,该结果就具有统计显著性

若 p 值 < α

拒绝 H₀。结果具有统计显著性。

若 p 值 ≥ α

不拒绝 H₀。结果可能是随机造成的。

统计显著性与实际意义

统计显著的结果不一定具有实际重要性。在非常大的样本中,微小的差异也可能具有“显著性”,但在实践中毫无意义。因此,在报告 p 值的同时,务必考虑效应量。

Further Reading

How to Read This Article

A statistics tutorial is a practical interpretation guide, not just a formula dump. It refers to the assumptions, notation, and reporting language that analysts need when they explain a result to a teacher, manager, client, or reviewer. The article body covers the specific topic, while the sections below create a common interpretation frame that readers can reuse across related metrics.

Reading goalWhat to focus onCommon mistake
DefinitionWhat the metric is and what quantity it summarizesTreating the formula as self-explanatory
Formula choiceSample versus population assumptions and notationUsing n when n-1 is required or vice versa
InterpretationWhether the result indicates concentration, spread, or riskCalling a large value good or bad without context

Frequently Asked Questions

How should I interpret a high standard deviation?

A high standard deviation means the observations are spread farther from the mean on average. Whether that spread is acceptable depends on the context: wide dispersion might signal risk in finance, instability in manufacturing, or genuine natural variation in scientific data.

Why do some articles mention n while others mention n-1?

The denominator reflects the difference between population and sample formulas. Population variance and population standard deviation use N because the full dataset is known. Sample variance and sample standard deviation often use n-1 because Bessel’s correction reduces bias when estimating population spread from a sample.

What is a statistical interpretation guide?

A statistical interpretation guide is a page that moves beyond arithmetic and explains meaning. It tells you what a metric is, when the formula applies, and how to describe the result in plain English without overstating certainty.

Can I cite this article in a report?

You should cite the underlying authoritative reference for formal work whenever possible. This page is best used as an explanatory bridge that helps you understand the concept before quoting the original standard or handbook.

Why include direct citations on every article page?

Direct citations give readers a route to verify the definition, notation, and assumptions. That improves trust and reduces the chance that a simplified explanation is mistaken for the entire technical standard.

Authoritative References

These sources define the concepts referenced most often across our articles. Bessel's correction is a sample adjustment, variance is a squared measure of spread, and standard deviation is the square root of variance expressed in the same units as the data.