描述统计:均值、离散程度与诚实的摘要
仅在记录预测与观察证据之后允许求助。
前置要求
完成第 27 天数学模块;具备基础算术能力以及第 01 天的预测—回顾流程。
学习目标
在小数据集上手工计算并解释均值、中位数、总体/样本方差与标准差,并说明两个均值相同的数据集仍可能不同。
操作指引
统计首先从把数据压缩为少数几个数字开始。均值刻画中心位置;方差与标准差度量围绕中心的离散程度。总体方差把偏差平方和除以 n;样本方差除以 n−1(贝塞尔校正),以避免系统性低估离散程度。先用纸笔预测每个数值,再运行 python3 核对——核对必须发生在预测记录之后。
自主演练与记录
对于 data = [2, 4, 4, 4, 5, 5, 7, 9]:计算均值、中位数、偏差平方和、总体方差、总体标准差与样本方差(除数为 n−1)。然后对 data2 = [4, 5, 5, 5, 5, 5, 5, 6] 计算均值与总体标准差,说明什么保持不变、什么发生变化。
均值 = 40/8 = 5。偏差为 −3, −1, −1, −1, 0, 0, 2, 4;平方得 9, 1, 1, 1, 0, 0, 4, 16,合计 32。总体方差除以 8,样本方差除以 7。data2 的均值同样是 5,但偏差平方和为 2。
均值 = 5.0,中位数 = (4+5)/2 = 4.5,Σ(x−μ)² = 32,总体方差 = 32/8 = 4.0,总体标准差 = 2.0;样本方差 = 32/7 ≈ 4.571(样本标准差 ≈ 2.138)。data2 均值同为 5.0,但 SS = 2,总体方差 0.25,标准差 0.5——仅靠均值会掩盖离散程度的差异。
手算结果与 Python 核对全部一致,并能说明均值相等并不意味着分布相同。
权威源资源与权利证明
NIST/SEMATECH e-Handbook of Statistical Methods
对应章节 / 时间戳: Section 1.3.5 (Quantitative Techniques): measures of location and scale
验证版本与日期: Current online edition (Verified: 2026-10-30)
Primary engineering reference for descriptive statistics, exploratory data analysis, and uncertainty quantification with worked formulas.
High-school arithmetic; no calculus required for the descriptive sections.
Every formula used in the lesson (mean, variance, standard error) is reproduced as original explanation; all exercises run fully offline.
对比候选资源与选型分析 (2)
Undergraduate statistics text with a stronger narrative bridge from probability to inference; retained as the second linked source for inferential framing.
Strong interactive visualizations of probability and sampling, but a browser-only interactive format is a weaker fit for an offline-capable 480-minute ledger.
OpenIntro Statistics (4th edition)
对应章节 / 时间戳: Chapters 1-2: data basics and summary statistics
验证版本与日期: 4th edition, 2019 (Verified: 2026-10-30)
Rigorous open textbook treatment of sampling distributions, standard error, and the difference between an inferential claim and an anecdotal observation.
Introductory algebra; comfort reading mathematical notation.
All required definitions and worked computations are given in the lesson itself; the book is a further-reading link.
对比候选资源与选型分析 (2)
Engineering handbook strength for formulas, tables, and measurement practice; OpenIntro supplies the probability-to-inference narrative.
Strong probability course, but lectures and the print book are under full copyright and the syllabus spans a semester rather than a single study block.