| Enduring Understanding | Learning Objective | Essential Knowledge |
|---|---|---|
VAR-1 | VAR-1.A |
|
AP 统计学
AP 统计涵盖单变量与双变量数据的探索、数据收集、概率与随机变量、抽样分布,随后进入推断—— 比例的推断、均值的推断、卡方检验,以及回归斜率的推断。后半部分本质上是同一套流程在不同 情境下的应用。
这是最看重"书写"的 AP 课程。推断题按固定结构评分:提出假设、写出所用方法、检验其适用条件、 计算,最后结合题目情境作出解释。跳过条件检验,或写出与原情境无关的结论,都会丢掉计算本已 挣到的分数。
"统计显著"在这里有特定含义,结论必须表述为"有证据反对原假设",绝不能写成"证明"。本站笔记 按 College Board 的单元编排,每单元一页,每种推断方法都配有完整的书写模板,让这套结构在 考前变成条件反射。
-
1
探索单变量数据
1.1
统计学导论:我们能从数据中学到什么?
大纲
来源:美国大学理事会 AP 课程与考试说明
统计学(statistics)是从数据(data)——从真实世界收集的数字或标签——中学习的科学。数据会变化,所以我们描述模式并考虑变异(variation),而不是期望每个值都相同。一个统计问题预期一个基于会变化的数据的答案。
有两个区分贯穿整个课程。参数(parameter)是整个总体的一个数值概括;统计量(statistic)是一个样本的数值概括——我们用统计量去估计无法直接测量的参数。而描述统计(descriptive statistics)只概括手头的数据集,推断统计(inferential statistics)则用一个样本对更大的总体做出并检验论断。
词汇表 训练英文 中文 拼音 Statistics 统计学 tǒng jì xué data 数据 shù jù variation 变异 biàn yì parameter 参数 cān shù statistic 统计量 tǒng jì liàng descriptive statistics 描述统计 miáo shù tǒng jì inferential statistics 推断统计 tuī duàn tǒng jì 1.2
变异的语言:变量
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.B
Identify variables in a set of data. [Skill 2.A]- VAR-1.B.1 A variable is a characteristic that changes from one individual to another.
VAR-1.C
Classify types of variables. [Skill 2.A]- VAR-1.C.1 A categorical variable takes on values that are category names or group labels.
- VAR-1.C.2 A quantitative variable is one that takes on numerical values for a measured or counted quantity.
- Illustrative examples for VAR-1.C:
- Categorical variables:
- Dominant hand
- Age group (young or old)
- Highest degree earned
- Quantitative variables:
- Age of a structure
- Height of a child
- Concentration of a sample
- Categorical variables:
- Illustrative examples for VAR-1.C:
来源:美国大学理事会 AP 课程与考试说明
一个变量(variable)是一个能在个体之间不同的特征。两种:
- 分类(categorical)(定性):值是标签/组(眼睛颜色、品牌)。
- 定量(quantitative):值是你能做算术的数字(身高、年龄)。定量变量是离散(discrete)(可数)或连续(continuous)(测量)的。
选择正确的图和概括取决于你有哪一种。
探索Categorical or quantitative?
Every variable is either categorical (it labels each unit with a group) or quantitative (a measured number you can average). Which kind it is decides the graphs and summaries you are allowed to use.
词汇表 训练英文 中文 拼音 variable 变量 biàn liàng Categorical 分类 fēn lèi Quantitative 定量 dìng liàng 1.3
用表格表示分类变量
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.A
Represent categorical data using frequency or relative frequency tables. [Skill 2.B]- UNC-1.A.1 A frequency table gives the number of cases falling into each category. A relative frequency table gives the proportion of cases falling into each category.
UNC-1.B
Describe categorical data represented in frequency or relative tables. [Skill 2.A]- UNC-1.B.1 Percentages, relative frequencies, and rates all provide the same information as proportions.
- UNC-1.B.2 Counts and relative frequencies of categorical data reveal information that can be used to justify claims about the data in context.
来源:美国大学理事会 AP 课程与考试说明
一个频数表(frequency table)列出每个类别的计数(count)(频数);一个相对频率(relative frequency)表列出每个类别的比例(proportion)(计数 ÷ 总数)。相对频率让你能公平地比较不同大小的组。
词汇表 训练英文 中文 拼音 frequency table 频数表 pín shuò biǎo relative frequency 相对频率 xiāng duì pín lǜ proportion 比例 bǐ lì 1.4
用图形表示分类变量
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.C
Represent categorical data graphically. [Skill 2.B]- UNC-1.C.1 Bar charts (or bar graphs) are used to display frequencies (counts) or relative frequencies (proportions) for categorical data.
- UNC-1.C.2 The height or length of each bar in a bar graph corresponds to either the number or proportion of observations falling within each category.
- UNC-1.C.3 There are many additional ways to represent frequencies (counts) or relative frequencies (proportions) for categorical data.
UNC-1.D
Describe categorical data represented graphically. [Skill 2.A]- UNC-1.D.1 Graphical representations of a categorical variable reveal information that can be used to justify claims about the data in context.
UNC-1.E
Compare multiple sets of categorical data. [Skill 2.D]- UNC-1.E.1 Frequency tables, bar graphs, or other representations can be used to compare two or more data sets in terms of the same categorical variable.
来源:美国大学理事会 AP 课程与考试说明
条形图(bar charts)把每个类别的计数或比例显示为分开的条;一个饼图(pie chart)显示每个类别在整体里的份额。条的高度(或扇区)让你能一眼比较类别。条可以按大小或按自然的类别顺序排列。
探索Show a categorical variable as a pie chart
A pie chart turns each category's share of the whole into a slice: a bigger share is a bigger slice, and every slice together makes 100%. It is a picture of a relative-frequency table.
词汇表 训练英文 中文 拼音 Bar charts 条形图 tiáo xíng tú 1.5
用图形表示定量变量
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.F
Classify types of quantitative variables. [Skill 2.A]- UNC-1.F.1 A discrete variable can take on a countable number of values. The number of values may be finite or countably infinite, as with the counting numbers.
- UNC-1.F.2 A continuous variable can take on infinitely many values, but those values cannot be counted. No matter how small the interval between two values of a continuous variable, it is always possible to determine another value between them.
- Illustrative examples for UNC-1.F:
- A discrete variable:
- Number of students in a class
- A continuous variable:
- Height of a child
- A discrete variable:
- Illustrative examples for UNC-1.F:
UNC-1.G
Represent quantitative data graphically. [Skill 2.B]- UNC-1.G.1 In a histogram, the height of each bar shows the number or proportion of observations that fall within the interval corresponding to that bar. Altering the interval widths can change the appearance of the histogram.
- UNC-1.G.2 In a stem and leaf plot, each data value is split into a "stem" (the first digit or digits) and a "leaf" (usually the last digit).
- UNC-1.G.3 A dotplot represents each observation by a dot, with the position on the horizontal axis corresponding to the data value of that observation, with nearly identical values stacked on top of each other.
- UNC-1.G.4 A cumulative graph represents the number or proportion of a data set less than or equal to a given number.
- UNC-1.G.5 There are many additional ways to graphically represent distributions of quantitative data.
来源:美国大学理事会 AP 课程与考试说明
对于数字,用一个点图(dotplot)、茎叶图(stem-and-leaf plot),或直方图(histogram)(在称为区间的值区间上的条)。这些显示分布(distribution)——值如何散开。一个直方图的区间宽度改变图景,所以选择它以揭示形状。

在一个不等组宽的直方图上条的面积是频数 探索Explore how bin width shapes a histogram
A histogram groups data into equal-width bins and draws a bar over each. Change the bins and notice how the same data can look jagged (too narrow) or smooth (too wide) — the shape is a choice.
词汇表 训练英文 中文 拼音 dotplot 点图 diǎn tú stem-and-leaf plot 茎叶图 jīng yè tú histogram 直方图 zhí fāng tú distribution 分布 fēn bù 1.6
描述定量变量的分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.H
Describe the characteristics of quantitative data distributions. [Skill 2.A]- UNC-1.H.1 Descriptions of the distribution of quantitative data include shape, center, and variability (spread), as well as any unusual features such as outliers, gaps, clusters, or multiple peaks.
- UNC-1.H.2 Outliers for one-variable data are data points that are unusually small or large relative to the rest of the data.
- UNC-1.H.3 A distribution is skewed to the right (positive skew) if the right tail is longer than the left. A distribution is skewed to the left (negative skew) if the left tail is longer than the right. A distribution is symmetric if the left half is the mirror image of the right half.
- UNC-1.H.4 Univariate graphs with one main peak are known as unimodal. Graphs with two prominent peaks are bimodal. A graph where each bar height is approximately the same (no prominent peaks) is approximately uniform.
- UNC-1.H.5 A gap is a region of a distribution between two data values where there are no observed data.
- UNC-1.H.6 Clusters are concentrations of data usually separated by gaps.
- UNC-1.H.7 Descriptive statistics does not attribute properties of a data set to a larger population, but may provide the basis for conjectures for subsequent testing.
来源:美国大学理事会 AP 课程与考试说明
描述四件事(记住 SOCS):
- 形状(shape):对称,或偏斜(skewed)左/右(那一侧一条长尾),以及有多少个峰——一个主峰是单峰(unimodal),两个明显的峰是双峰(bimodal),各柱大致相等是均匀(uniform)。
- 离群值(outliers):远离其余的不寻常的值。
- 中心(center):一个典型的值(均值或中位数)。
- 散布(spread):值变化多少(范围、IQR、标准差)。
总是在上下文里、带单位地描述形状/中心/散布。

一个分布的形状:对称、右偏(长右尾),或左偏 词汇表 训练英文 中文 拼音 Shape 形状 xíng zhuàng skewed 偏斜 piān xié unimodal 单峰 dān fēng bimodal 双峰 shuāng fēng uniform 均匀 jūn yún Outliers 离群值 lí qún zhí 1.7
定量变量的汇总统计量
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.I
Calculate measures of center and position for quantitative data. [Skill 2.C]- UNC-1.I.1 A statistic is a numerical summary of sample data.
- UNC-1.I.2 The mean is the sum of all the data values divided by the number of values. For a sample, the mean is denoted by $x$-bar: $\bar{x} = \dfrac{1}{n}\sum_{i=1}^{n} x_i$, where $x_i$ represents the $i^{\text{th}}$ data point in the sample and $n$ represents the number of data values in the sample.
- UNC-1.I.3 The median of a data set is the middle value when data are ordered. When the number of data points is even, the median can take on any value between the two middle values. In AP Statistics, the most commonly used value for the median of a data set with an even number of values is the average of the two middle values.
- UNC-1.I.4 The first quartile, Q1, is the median of the half of the ordered data set from the minimum to the position of the median. The third quartile, Q3, is the median of the half of the ordered data set from the position of the median to the maximum. Q1 and Q3 form the boundaries for the middle 50% of values in an ordered data set.
- UNC-1.I.5 The $p^{\text{th}}$ percentile is interpreted as the value that has $p\%$ of the data less than or equal to it.
UNC-1.J
Calculate measures of variability for quantitative data. [Skill 2.C]- UNC-1.J.1 Three commonly used measures of variability (or spread) in a distribution are the range, interquartile range, and standard deviation.
- UNC-1.J.2 The range is defined as the difference between the maximum data value and the minimum data value. The interquartile range (IQR) is defined as the difference between the third and first quartiles: $Q3 - Q1$. Both the range and the interquartile range are possible ways of measuring variability of the distribution of a quantitative variable.
- UNC-1.J.3 Standard deviation is a way to measure variability of the distribution of a quantitative variable. For a sample, the standard deviation is denoted by $s$: $s_x = \sqrt{\dfrac{1}{n-1}\sum(x_i - \bar{x})^2}$. The square of the sample standard deviation, $s^2$, is called the sample variance.
- UNC-1.J.4 Changing units of measurement affects the values of the calculated statistics.
UNC-1.K
Explain the selection of a particular measure of center and/or variability for describing a set of quantitative data. [Skill 4.B]- UNC-1.K.1 There are many methods for determining outliers. Two methods frequently used in this course are:
- UNC-1.K.1.i An outlier is a value greater than $1.5 \times \text{IQR}$ above the third quartile or more than $1.5 \times \text{IQR}$ below the first quartile.
- UNC-1.K.1.ii An outlier is a value located 2 or more standard deviations above, or below, the mean.
- UNC-1.K.2 The mean, standard deviation, and range are considered nonresistant (or non-robust) because they are influenced by outliers. The median and IQR are considered resistant (or robust), because outliers do not greatly (if at all) affect their value.
来源:美国大学理事会 AP 课程与考试说明
标准差:数据相对平均值的离散 - 中心: 均值(mean)$\bar{x}=\dfrac{\sum x_i}{n}$(平均)和中位数(median)(中间的值)。中位数抵抗离群值;均值被拉向偏斜。
- 散布: 范围(range)、四分位距(interquartile range)$\text{IQR}=Q_3-Q_1$(中间 50%),以及标准差(standard deviation)$s_x=\sqrt{\dfrac{\sum(x_i-\bar{x})^2}{n-1}}$(离均值的典型距离;它的平方是方差(variance))。
- 五数概括(five-number summary):min、$Q_1$、中位数、$Q_3$、max。
对偏斜数据用抵抗性(resistant)测度(中位数、IQR);对大致对称的数据用均值和标准差。
一个值的百分位数(percentile)是数据中在它或以下的百分比——所以中位数是第 50 百分位数,$Q_1$ 是第 25。一个累积相对频率图(cumulative relative frequency graph)让百分位数容易读出:对每个值它画出数据中在它或以下的比例,从 0 上升到 1。从一个值向上到曲线再横过去到它的百分位数,或反过来找一个给定百分位数处的值(同样的读法对一张累积频率表也有效)。
Worked example. 对于数据 $4, 8, 6, 10, 7$:均值是 $\bar{x}=\dfrac{4+8+6+10+7}{5}=\dfrac{35}{5}=7$。排序到 $4,6,7,8,10$,中位数是中间的值,$7$。这里均值和中位数一致,因为数据大致对称。
词汇表 训练英文 中文 拼音 mean 均值 jūn zhí median 中位数 zhōng wèi shù interquartile range 四分位距 sì fēn wèi jù standard deviation 标准差 biāo zhǔn chà variance 方差 fāng chà five-number summary 五数概括 wǔ shù gài kuò percentile 百分位数 bǎi fēn wèi shù cumulative relative frequency graph 累积相对频率图 lěi jī xiāng duì pín lǜ tú 1.8
汇总统计量的图形表示
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.L
Represent summary statistics for quantitative data graphically. [Skill 2.B]- UNC-1.L.1 Taken together, the minimum data value, the first quartile (Q1), the median, the third quartile (Q3), and the maximum data value make up the five-number summary.
- UNC-1.L.2 A boxplot is a graphical representation of the five-number summary (minimum, first quartile, median, third quartile, maximum). The box represents the middle 50% of data, with a line at the median and the ends of the box corresponding to the quartiles. Lines ("whiskers") extend from the quartiles to the most extreme point that is not an outlier, and outliers are indicated by their own symbol beyond this.
UNC-1.M
Describe summary statistics of quantitative data represented graphically. [Skill 2.A]- UNC-1.M.1 Summary statistics of quantitative data, or of sets of quantitative data, can be used to justify claims about the data in context.
- UNC-1.M.2 If a distribution is relatively symmetric, then the mean and median are relatively close to one another. If a distribution is skewed right, then the mean is usually to the right of the median. If the distribution is skewed left, then the mean is usually to the left of the median.
来源:美国大学理事会 AP 课程与考试说明
一个箱线图(boxplot)画五数概括:一个从 $Q_1$ 到 $Q_3$、中位数在里面的箱,以及到最极端的非离群值的须。一个点是一个离群值,若它落在一个四分位数之外超过 $1.5\times\text{IQR}$ ——一个你可能被要求应用的规则。箱线图对并排比较几个组很理想。
Worked example. 一个数据集有 $Q_1=20$ 和 $Q_3=32$,所以 $\text{IQR}=12$。离群值围栏是 $Q_1-1.5(12)=2$ 和 $Q_3+1.5(12)=50$。任何低于 $2$ 或高于 $50$ 的值被标记为一个离群值。

一个箱须图显示四分位数和范围 
一个箱线图画五数概括;箱跨越 IQR 探索Explore the five-number summary as a boxplot
Drag $Q_1$, the median, and $Q_3$ to see the box (its length is the IQR) and how the median's position inside the box reveals skew — a median close to $Q_1$ signals a right-skewed distribution.
词汇表 训练英文 中文 拼音 boxplot 箱线图 xiāng xiàn tú 1.9
比较定量变量的分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.N
Compare graphical representations for multiple sets of quantitative data. [Skill 2.D]- UNC-1.N.1 Any of the graphical representations, e.g., histograms, side-by-side boxplots, etc., can be used to compare two or more independent samples on center, variability, clusters, gaps, outliers, and other features.
UNC-1.O
Compare summary statistics for multiple sets of quantitative data. [Skill 2.D]- UNC-1.O.1 Any of the numerical summaries (e.g., mean, standard deviation, relative frequency, etc.) can be used to compare two or more independent samples.
来源:美国大学理事会 AP 课程与考试说明
要比较两个或更多组,比较形状、中心和散布,并提及离群值——总是用比较性词语("A 组有一个更高的中位数比 B 组")并在上下文里。不要只是分别描述每个组;把比较显式化。
探索Compare distributions with box plots
A box plot draws the five-number summary. Placing two box plots on the same scale compares their centre (median), spread (IQR = box width) and skew at a glance — the fair way to compare groups.
1.10
正态分布
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-2
The normal distribution can be used to represent some population distributions.VAR-2.A
Compare a data distribution to the normal distribution model. [Skill 2.D]- VAR-2.A.1 A parameter is a numerical summary of a population.
- VAR-2.A.2 Some sets of data may be described as approximately normally distributed. A normal curve is mound-shaped and symmetric. The parameters of a normal distribution are the population mean, $\mu$, and the population standard deviation, $\sigma$.
- VAR-2.A.3 For a normal distribution, approximately 68% of the observations are within 1 standard deviation of the mean, approximately 95% of observations are within 2 standard deviations of the mean, and approximately 99.7% of observations are within 3 standard deviations of the mean. This is called the empirical rule.
- VAR-2.A.4 Many variables can be modeled by a normal distribution.
- Illustrative examples for VAR-2.A:
- Variables that can be modeled by a normal distribution:
- Body temperature
- Weight of a loaf of bread
- Variables that can be modeled by a normal distribution:
- Illustrative examples for VAR-2.A:
VAR-2.B
Determine proportions and percentiles from a normal distribution. [Skill 3.A]- VAR-2.B.1 A standardized score for a particular data value is calculated as (data value − mean)/(standard deviation), and measures the number of standard deviations a data value falls above or below the mean.
- VAR-2.B.2 One example of a standardized score is a $z$-score, which is calculated as $z\text{-score} = \left(\dfrac{x_i - \mu}{\sigma}\right)$. A $z$-score measures how many standard deviations a data value is from the mean.
- VAR-2.B.3 Technology, such as a calculator, a standard normal table, or computer-generated output, can be used to find the proportion of data values located on a given interval of a normally distributed random variable.
- VAR-2.B.4 Given the area of a region under the graph of the normal distribution curve, it is possible to use technology, such as a calculator, a standard normal table, or computer-generated output, to estimate parameters for some populations.
VAR-2.C
Compare measures of relative position in data sets. [Skill 2.D]- VAR-2.C.1 Percentiles and $z$-scores may be used to compare relative positions of points within a data set or between data sets.
来源:美国大学理事会 AP 课程与考试说明
一个正态分布(normal distribution)是一个由它的均值 $\mu$ 和标准差 $\sigma$ 描述的对称、钟形模型。经验法则(empirical rule)(68–95–99.7):约 68% 的值落在离均值 $1\sigma$ 内、95% 在 $2\sigma$ 内,而 99.7% 在 $3\sigma$ 内。

正态曲线:一个概率是它下面的面积,以均值为中心 一个**$z$ 分数**(z-score)测量一个值离均值多少个标准差:
$$z=\frac{x-\mu}{\sigma}.$$转换成一个 $z$ 分数,然后用正态表或技术求以下的、以上的,或之间的比例(面积)——并反转这个过程以从一个给定百分位数求一个值。Worked example. 测验分数是正态的,$\mu=500$ 和 $\sigma=100$。一个 $700$ 的分数有 $z=\dfrac{700-500}{100}=2$。由经验法则,$95\%$ 的分数落在 $2\sigma$ 内,所以 $2.5\%$ 落在 $700$ 以上——意味着一个 $700$ 大约在第 $97.5$ 百分位。

正态曲线和 68-95-99.7 经验法则 探索Explore area under the normal curve
The proportion of data below a value equals the area under the curve to its left. Shade a tail or a central band to see the 68–95–99.7 empirical rule and read a $z$-score as an area.
词汇表 训练英文 中文 拼音 normal distribution 正态分布 zhèng tài fēn bù empirical rule 经验法则 jīng yàn fǎ zé $z$-score 标准分数 biāo zhǔn fēn shù 1.10
考试技巧
- 用形状、中心、散布和离群值(SOCS)描述一个分布——总是在上下文里。
- 均值被离群值拉动;中位数抵抗它们,所以对偏斜数据首选中位数。
- 对一个正态分布用 68–95–99.7 法则和 z 分数 $z=\tfrac{x-\mu}{\sigma}$。
- 用并排箱线图比较分布并评论中心、散布和形状。
- 标准差测量离均值的一个典型距离;IQR 与中位数配对。
-
2
探索双变量数据
2.1
统计学导论:变量之间有关联吗?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.D
Identify questions to be answered about possible relationships in data. [Skill 1.A]- VAR-1.D.1 Apparent patterns and associations in data may be random or not.
来源:美国大学理事会 AP 课程与考试说明
双变量数据让我们能问两个特征是否关联(associated)——知道一个是否告诉你关于另一个的一些东西。一个解释变量(explanatory variable)("输入")可能帮助预测一个响应变量(response variable)("输出")。关联不等同于因果。
词汇表 训练英文 中文 拼音 associated 关联 guān lián explanatory variable 解释变量 jiě shì biàn liàng response variable 响应变量 xiǎng yìng biàn liàng 2.2
表示两个分类变量
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.P
Compare numerical and graphical representations for two categorical variables. [Skill 2.D]- UNC-1.P.1 Side-by-side bar graphs, segmented bar graphs, and mosaic plots are examples of bar graphs for one categorical variable, broken down by categories of another categorical variable.
- UNC-1.P.2 Graphical representations of two categorical variables can be used to compare distributions and/or determine if variables are associated.
- UNC-1.P.3 A two-way table, also called a contingency table, is used to summarize two categorical variables. The entries in the cells can be frequency counts or relative frequencies.
- UNC-1.P.4 A joint relative frequency is a cell frequency divided by the total for the entire table.
来源:美国大学理事会 AP 课程与考试说明
一个双向表(two-way table)(列联表)一次按两个分类变量对个体计数。一个边缘分布(marginal distribution)是把行或列的总计写成占总计的比例(总计本身只是计数)。比较内部单元格显示这些变量是否相关。
词汇表 训练英文 中文 拼音 two-way table 双向表 shuāng xiàng biǎo marginal distributions 边缘分布 biān yuán fēn bù 2.3
两个分类变量的统计量
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.Q
Calculate statistics for two categorical variables. [Skill 2.C]- UNC-1.Q.1 The marginal relative frequencies are the row and column totals in a two-way table divided by the total for the entire table.
- UNC-1.Q.2 A conditional relative frequency is a relative frequency for a specific part of the contingency table (e.g., cell frequencies in a row divided by the total for that row).
UNC-1.R
Compare statistics for two categorical variables. [Skill 2.D]- UNC-1.R.1 Summary statistics for two categorical variables can be used to compare distributions and/or determine if variables are associated.
来源:美国大学理事会 AP 课程与考试说明
一个条件分布(conditional distribution)是一个变量在另一个的一个固定类别内的分布(通过把每个单元格除以它的行或列总计求得)。若条件分布跨组不同,这两个变量关联;若它们相同,没有关联。分段条形图(segmented bar charts)或马赛克图显示它们。
词汇表 训练英文 中文 拼音 conditional distribution 条件分布 tiáo jiàn fēn bù Segmented bar charts 分段条形图 fēn duàn tiáo xíng tú 2.4
表示两个定量变量之间的关系
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-1
Graphical representations and statistics allow us to identify and represent key features of data.UNC-1.S
Represent bivariate quantitative data using scatterplots. [Skill 2.B]- UNC-1.S.1 A bivariate quantitative data set consists of observations of two different quantitative variables made on individuals in a sample or population.
- UNC-1.S.2 A scatterplot shows two numeric values for each observation, one corresponding to the value on the $x$-axis and one corresponding to the value on the $y$-axis.
- UNC-1.S.3 An explanatory variable is a variable whose values are used to explain or predict corresponding values for the response variable.
DAT-1
Regression models may allow us to predict responses to changes in an explanatory variable.DAT-1.A
Describe the characteristics of a scatter plot. [Skill 2.A]- DAT-1.A.1 A description of a scatter plot includes form, direction, strength, and unusual features.
- DAT-1.A.2 The direction of the association shown in a scatterplot, if any, can be described as positive or negative.
- DAT-1.A.3 A positive association means that as values of one variable increase, the values of the other variable tend to increase. A negative association means that as values of one variable increase, values of the other variable tend to decrease.
- DAT-1.A.4 The form of the association shown in a scatterplot, if any, can be described as linear or non-linear to varying degrees.
- DAT-1.A.5 The strength of the association is how closely the individual points follow a specific pattern, e.g., linear, and can be shown in a scatterplot. Strength can be described as strong, moderate, or weak.
- DAT-1.A.6 Unusual features of a scatter plot include clusters of points or points with relatively large discrepancies between the value of the response variable and a predicted value for the response variable.
来源:美国大学理事会 AP 课程与考试说明
一个散点图(scatterplot)把每个个体画为一个点,解释变量在 $x$ 轴上而响应在 $y$ 轴上。用 DUFS 描述它:方向(Direction)(正/负)、不寻常(Unusual)特征(离群值、聚类)、形式(Form)(线性或曲线),以及强度(Strength)(点多紧地跟随模式)——总是在上下文里。

一条最佳拟合线穿过散布的点的中间 词汇表 训练英文 中文 拼音 scatterplot 散点图 sàn diǎn tú 2.5
相关性
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-1
Regression models may allow us to predict responses to changes in an explanatory variable.DAT-1.B
Determine the correlation for a linear relationship. [Skill 2.C]- DAT-1.B.1 The correlation, $r$, gives the direction and quantifies the strength of the linear association between two quantitative variables.
- DAT-1.B.2 The correlation coefficient can be calculated by: $r = \dfrac{1}{n-1} \sum \left( \dfrac{x_i - \bar{x}}{s_x} \right) \left( \dfrac{y_i - \bar{y}}{s_y} \right)$. However, the most common way to determine $r$ is by using technology.
- DAT-1.B.3 A correlation coefficient close to 1 or $-1$ does not necessarily mean that a linear model is appropriate.
DAT-1.C
Interpret the correlation for a linear relationship. [Skill 4.B]- DAT-1.C.1 The correlation, $r$, is unit-free, and always between $-1$ and 1, inclusive. A value of $r = 0$ indicates that there is no linear association. A value of $r = 1$ or $r = -1$ indicates that there is a perfect linear association.
- DAT-1.C.2 A perceived or real relationship between two variables does not mean that changes in one variable cause changes in the other. That is, correlation does not necessarily imply causation.
来源:美国大学理事会 AP 课程与考试说明
相关系数 r 的含义 相关系数(correlation coefficient)$r$ 测量一个线性关系的强度和方向。它从 $-1$ 到 $1$:接近 $\pm 1$ 是强线性、接近 $0$ 是弱线性。$r$ 没有单位,而且若你交换变量它不改变。警告:$r$ 只测量线性强度、它对离群值不抵抗,而一个强的 $r$ 并不证明因果。

正相关一起上升;负相关朝相反方向移动 探索Strength of a linear relationship
Correlation $r$ runs from $-1$ to $1$: near $\pm1$ the points hug a line, near 0 they scatter. Change it and watch the cloud tighten or spread.
词汇表 训练英文 中文 拼音 correlation coefficient 相关系数 xiāng guān xì shù 2.6
线性回归模型
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-1
Regression models may allow us to predict responses to changes in an explanatory variable.DAT-1.D
Calculate a predicted response value using a linear regression model. [Skill 2.C]- DAT-1.D.1 A simple linear regression model is an equation that uses an explanatory variable, $x$, to predict the response variable, $y$.
- DAT-1.D.2 The predicted response value, denoted by $\hat{y}$, is calculated as $\hat{y} = a + bx$, where $a$ is the $y$-intercept and $b$ is the slope of the regression line, and $x$ is the value of the explanatory variable.
- DAT-1.D.3 Extrapolation is predicting a response value using a value for the explanatory variable that is beyond the interval of $x$-values used to determine the regression line. The predicted value is less reliable as an estimate the further we extrapolate.
来源:美国大学理事会 AP 课程与考试说明
最小二乘回归线(least-squares regression line)预测响应:$\hat{y}=a+bx$,其中 $\hat{y}$ 是预测的响应。斜率(slope)$b$ 是 $x$ 每增加一个单位 $y$ 的预测变化;$y$ 截距(y-intercept)$a$ 是当 $x=0$ 时预测的 $y$。在上下文里并带单位解释两者——一个评分技能。避免外推(extrapolation)(在数据之外很远地预测)。
Worked example. 一个关于学习小时数($x$)和测验分数($y$)的研究给出 $\hat{y}=20+3x$。斜率意味着每额外一小时学习与一个预测的 $3$ 分增长关联。一个学习 $5$ 小时的学生被预测得 $\hat{y}=20+3(5)=35$ 分。
探索Fit a least-squares line
A regression line is the best straight-line fit, minimising the squared vertical distances. Its slope predicts how $y$ changes per unit of $x$.
词汇表 训练英文 中文 拼音 least-squares regression line 最小二乘回归线 zuì xiǎo èr chéng huí guī xiàn slope 斜率 xié lǜ y-intercept 截距 jié jù extrapolation 外推 wài tuī 2.7
残差
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-1
Regression models may allow us to predict responses to changes in an explanatory variable.DAT-1.E
Represent differences between measured and predicted responses using residual plots. [Skill 2.B]- DAT-1.E.1 The residual is the difference between the actual value and the predicted value: $\text{residual} = y - \hat{y}$.
- DAT-1.E.2 A residual plot is a plot of residuals versus explanatory variable values or predicted response values.
DAT-1.F
Describe the form of association of bivariate data using residual plots. [Skill 2.A]- DAT-1.F.1 Apparent randomness in a residual plot for a linear model is evidence of a linear form to the association between the variables.
- DAT-1.F.2 Residual plots can be used to investigate the appropriateness of a selected model.
来源:美国大学理事会 AP 课程与考试说明
最小二乘回归 一个残差(residual)是实际减预测,$y-\hat{y}$:一个点坐在线以上(+)还是以下(−)多远。一个残差图(residual plot)把残差对 $x$ 作图。若它显示没有模式(随机散布),一个线性模型是合适的;一个曲线或扇形模式意味着线性模型是一个差的拟合。
Worked example. 继续上面的研究,一个学习了 $5$ 小时的学生实际得 $40$ 分。残差是 $y-\hat{y}=40-35=+5$:线低估了 $5$ 分,所以这个点坐在线以上。

关于 $r$ 和这条线的一个警示:四个数据集都有相同的 $r=0.82$ 和相同的 $\hat{y}=3.0+0.5x$,但只有第一个真正是线性的。散点图几乎没有区别——每个下面的残差图才揭示出曲线、离群值和高杠杆点。 词汇表 训练英文 中文 拼音 residual 残差 cán chà residual plot 残差图 cán chà tú 2.8
最小二乘回归
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-1
Regression models may allow us to predict responses to changes in an explanatory variable.DAT-1.G
Estimate parameters for the least-squares regression line model. [Skill 2.C]- DAT-1.G.1 The least-squares regression model minimizes the sum of the squares of the residuals and contains the point $(\bar{x}, \bar{y})$.
- DAT-1.G.2 The slope, $b$, of the regression line can be calculated as $b = r \left( \dfrac{s_y}{s_x} \right)$ where $r$ is the correlation between $x$ and $y$, $s_y$ is the sample standard deviation of the response variable, $y$, and $s_x$ is the sample standard deviation of the explanatory variable, $x$.
- DAT-1.G.3 Sometimes, the $y$-intercept of the line does not have a logical interpretation in context.
- DAT-1.G.4 In simple linear regression, $r^2$ is the square of the correlation, $r$. It is also called the coefficient of determination. $r^2$ is the proportion of variation in the response variable that is explained by the explanatory variable in the model.
DAT-1.H
Interpret coefficients for the least-squares regression line model. [Skill 4.B]- DAT-1.H.1 The coefficients of the least-squares regression model are the estimated slope and $y$-intercept.
- DAT-1.H.2 The slope is the amount that the predicted $y$-value changes for every unit increase in $x$.
- DAT-1.H.3 The $y$-intercept value is the predicted value of the response variable when the explanatory variable is equal to $0$. The formula for the $y$-intercept, $a$, is $a = \bar{y} - b\bar{x}$.
来源:美国大学理事会 AP 课程与考试说明

最小二乘线最小化残差平方的和 这条线最小化残差平方的和。它的拟合由以下测量:
- $s$,残差的标准差——典型的预测误差,以响应的单位。
- $r^2$,决定系数(coefficient of determination)——线性模型解释的 $y$ 的变异的比例(一个 $0$ 到 $1$ 之间的值;乘以 $100$ 得到百分数)。在上下文里报告它:"$r^2 = 0.81$ 意味着 $y$ 的变异的 81% 被与 $x$ 的线性关系解释。"
词汇表 训练英文 中文 拼音 coefficient of determination 决定系数 jué dìng xì shù 2.9
分析偏离线性的情况
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-1
Regression models may allow us to predict responses to changes in an explanatory variable.DAT-1.I
Identify influential points in regression. [Skill 2.A]- DAT-1.I.1 An outlier in regression is a point that does not follow the general trend shown in the rest of the data and has a large residual when the Least Squares Regression Line (LSRL) is calculated.
- DAT-1.I.2 A high-leverage point in regression has a substantially larger or smaller $x$-value than the other observations have.
- DAT-1.I.3 An influential point in regression is any point that, if removed, changes the relationship substantially. Examples include much different slope, $y$-intercept, and/or correlation. Outliers and high leverage points are often influential.
DAT-1.J
Calculate a predicted response using a least-squares regression line for a transformed data set. [Skill 2.C]- DAT-1.J.1 Transformations of variables, such as evaluating the natural logarithm of each value of the response variable or squaring each value of the explanatory variable, can be used to create transformed data sets, which may be more linear in form than the untransformed data.
- DAT-1.J.2 Increased randomness in residual plots after transformation of data and/or movement of $r^2$ to a value closer to 1 offers evidence that the least-squares regression line for the transformed data is a more appropriate model to use to predict responses to the explanatory variable than the regression line for the untransformed data.
来源:美国大学理事会 AP 课程与考试说明
一些点强烈地影响这条线。一个高杠杆(high-leverage)点有一个极端的 $x$ 值;一个有影响的(influential)点在被移除时明显地改变斜率或 $r$;这里一个离群值(outlier)是一个有大残差的点。当模式是曲线的,变换(transform)一个变量(例如取一个对数)以把它拉直,然后对变换后的数据拟合一条线。
词汇表 训练英文 中文 拼音 high-leverage 高杠杆 gāo gàng gǎn influential 有影响的 yǒu yǐng xiǎng de 2.9
考试技巧
- 在一个散点图上描述方向、形式、强度和离群值;$r$ 从 $-1$ 到 $1$。
- 相关不是因果——一个潜伏变量能驱动两者。
- 在上下文里解释最小二乘线的斜率("$x$ 每一个单位,预测的 $y$ 改变 $b$")。
- 检查一个残差图:没有模式意味着一条线拟合;一条曲线意味着它不。避免外推。
- $r^2$ 是模型解释的 $y$ 的变异的分数。
-
3
收集数据
3.1
统计学导论:我们收集的数据说的是真相吗?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.E
Identify questions to be answered about data collection methods. [Skill 1.A]- VAR-1.E.1 Methods for data collection that do not rely on chance result in untrustworthy conclusions.
来源:美国大学理事会 AP 课程与考试说明
一个结论只和它背后的数据一样好。数据如何被收集决定你可以得出什么结论——你是否能推广到一个总体(population),以及你是否能宣称因果。差劲地收集的数据可能比没有更糟。
词汇表 训练英文 中文 拼音 population 总体 zǒng tǐ 3.2
研究规划导论
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-2
The way we collect data influences what we can and cannot say about a population.DAT-2.A
Identify the type of a study. [Skill 1.C]- DAT-2.A.1 A population consists of all items or subjects of interest.
- DAT-2.A.2 A sample selected for study is a subset of the population.
- DAT-2.A.3 In an observational study, treatments are not imposed. Investigators examine data for a sample of individuals (retrospective) or follow a sample of individuals into the future collecting data (prospective) in order to investigate a topic of interest about the population. A sample survey is a type of observational study that collects data from a sample in an attempt to learn about the population from which the sample was taken.
- DAT-2.A.4 In an experiment, different conditions (treatments) are assigned to experimental units (participants or subjects).
DAT-2.B
Identify appropriate generalizations and determinations based on observational studies. [Skill 4.A]- DAT-2.B.1 It is only appropriate to make generalizations about a population based on samples that are randomly selected or otherwise representative of that population.
- DAT-2.B.2 A sample is only generalizable to the population from which the sample was selected.
- DAT-2.B.3 It is not possible to determine causal relationships between variables using data collected in an observational study.
来源:美国大学理事会 AP 课程与考试说明
- 在一个观察性研究(observational study)里你测量个体而不试图影响他们。它能显示关联,但不是因果,因为潜伏变量可能解释这个联系。
- 在一个实验(experiment)里你故意施加一个处理(treatment)并比较响应。一个设计良好的实验能建立因果。
探索Observational study or experiment?
In an experiment the researcher imposes a treatment (and can show cause); an observational study only records what already happens (and can show association, not cause).
词汇表 训练英文 中文 拼音 observational study 观察性研究 guān chá xìng yán jiū experiment 实验 shí yàn treatment 处理 chǔ lǐ 3.3
随机抽样与数据收集
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-2
The way we collect data influences what we can and cannot say about a population.DAT-2.C
Identify a sampling method, given a description of a study. [Skill 1.C]- DAT-2.C.1 When an item from a population can be selected only once, this is called sampling without replacement. When an item from the population can be selected more than once, this is called sampling with replacement.
- DAT-2.C.2 A simple random sample (SRS) is a sample in which every group of a given size has an equal chance of being chosen. This method is the basis for many types of sampling mechanisms. A few examples of mechanisms used to obtain SRSs include numbering individuals and using a random number generator to select which ones to include in the sample, ignoring repeats, using a table of random numbers, or drawing a card from a deck without replacement.
- DAT-2.C.3 A stratified random sample involves the division of a population into separate groups, called strata, based on shared attributes or characteristics (homogeneous grouping). Within each stratum a simple random sample is selected, and the selected units are combined to form the sample.
- DAT-2.C.4 A cluster sample involves the division of a population into smaller groups, called clusters. Ideally, there is heterogeneity within each cluster, and clusters are similar to one another in their composition. A simple random sample of clusters is selected from the population to form the sample of clusters. Data are collected from all observations in the selected clusters.
- DAT-2.C.5 A systematic random sample is a method in which sample members from a population are selected according to a random starting point and a fixed, periodic interval.
- DAT-2.C.6 A census selects all items/subjects in a population.
DAT-2.D
Explain why a particular sampling method is or is not appropriate for a given situation. [Skill 1.C]- DAT-2.D.1 There are advantages and disadvantages for each sampling method depending upon the question that is to be answered and the population from which the sample will be drawn.
来源:美国大学理事会 AP 课程与考试说明
要了解一个总体你取一个样本(sample)。随机抽样(random sampling)防止选择偏差(bias)并让你能推广(它无法修复覆盖不足、无应答或应答偏差——见下文)。常见设计:
- 简单随机样本(simple random sample,SRS):每个选定大小的组同等可能。
- 分层(stratified):把总体分成相似的层,然后在每层内抽样。
- 整群(cluster):分成群,随机选择整个群。
- 系统(systematic):从一个随机起点挑每第 $k$ 个个体。

四种随机抽样设计:谁被选中,以及如何 一个方便样本(convenience sample)或自愿回应(voluntary response)样本不是随机的而是有偏的。
Worked example. 要调查一所学校,一个管理员按年级列出所有学生并从每个年级随机选 $20$ 个。这是一个分层样本——年级是层——它保证每个年级被代表,不像一个 SRS 可能碰巧从一个年级抽到很少。

随机结果:在公平条件下骰子各面等可能 词汇表 训练英文 中文 拼音 sample 样本 yàng běn Random sampling 随机抽样 suí jī chōu yàng bias 偏差 piān chā Simple random sample (SRS) 简单随机样本 jiǎn dān suí jī yàng běn Stratified 分层 fēn céng Cluster 整群 zhěng qún Systematic 系统 xì tǒng convenience sample 方便样本 fāng biàn yàng běn 3.4
抽样的潜在问题
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-2
The way we collect data influences what we can and cannot say about a population.DAT-2.E
Identify potential sources of bias in sampling methods. [Skill 1.C]- DAT-2.E.1 Bias occurs when certain responses are systematically favored over others.
- DAT-2.E.2 When a sample is comprised entirely of volunteers or people who choose to participate, the sample will typically not be representative of the population (voluntary response bias).
- DAT-2.E.3 When part of the population has a reduced chance of being included in the sample, the sample will typically not be representative of the population (undercoverage bias).
- DAT-2.E.4 Individuals chosen for the sample for whom data cannot be obtained (or who refuse to respond) may differ from those for whom data can be obtained (nonresponse bias).
- DAT-2.E.5 Problems in the data gathering instrument or process result in response bias. Examples include questions that are confusing or leading (question wording bias) and self-reported responses.
- DAT-2.E.6 Non-random sampling methods (for example, samples chosen by convenience or voluntary response) introduce potential for bias because they do not use chance to select the individuals.
来源:美国大学理事会 AP 课程与考试说明
偏差使估计系统地错过真相:
- 覆盖不足(undercoverage):一些组被排除在抽样框之外。
- 无回应(nonresponse):被选中的人不回答。
- 回应偏差(response bias):人们不准确地回答(措辞不好、敏感话题)。
偏差是关于一个方向上的一致的误差——增加样本量不修复它。

Convenience samples miss the population: bias creeps in when selection is not random 词汇表 训练英文 中文 拼音 Undercoverage 覆盖不足 fù gài bù zú Nonresponse 无回应 wú huí yìng Response bias 回应偏差 huí yìng piān chā 3.5
实验设计导论
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-3
Well-designed experiments can establish evidence of causal relationships.VAR-3.A
Identify the components of an experiment. [Skill 1.C]- VAR-3.A.1 The experimental units are the individuals (which may be people or other objects of study) that are assigned treatments. When experimental units consist of people, they are sometimes referred to as participants or subjects.
- VAR-3.A.2 An explanatory variable (or factor) in an experiment is a variable whose levels are manipulated intentionally. The levels or combination of levels of the explanatory variable(s) are called treatments.
- VAR-3.A.3 A response variable in an experiment is an outcome from the experimental units that is measured after the treatments have been administered.
- VAR-3.A.4 A confounding variable in an experiment is a variable that is related to the explanatory variable and influences the response variable and may create a false perception of association between the two.
VAR-3.B
Describe elements of a well-designed experiment. [Skill 1.B]- VAR-3.B.1 A well-designed experiment should include the following:
- a. Comparisons of at least two treatment groups, one of which could be a control group.
- b. Random assignment/allocation of treatments to experimental units.
- c. Replication (more than one experimental unit in each treatment group).
- d. Control of potential confounding variables where appropriate.
VAR-3.C
Compare experimental designs and methods. [Skill 1.C]- VAR-3.C.1 In a completely randomized design, treatments are assigned to experimental units completely at random. Random assignment tends to balance the effects of uncontrolled (confounding) variables so that differences in responses can be attributed to the treatments.
- VAR-3.C.2 Methods for randomly assigning treatments to experimental units in a completely randomized design include using a random number generator, a table of random values, drawing chips without replacement, etc.
- VAR-3.C.3 In a single-blind experiment, subjects do not know which treatment they are receiving, but members of the research team do, or vice versa.
- VAR-3.C.4 In a double-blind experiment neither the subjects nor the members of the research team who interact with them know which treatment a subject is receiving.
- VAR-3.C.5 A control group is a collection of experimental units either not given a treatment of interest or given a treatment with an inactive substance (placebo) in order to determine if the treatment of interest has an effect.
- VAR-3.C.6 The placebo effect occurs when experimental units have a response to a placebo.
- VAR-3.C.7 For randomized complete block designs, treatments are assigned completely at random within each block.
- VAR-3.C.8 Blocking ensures that at the beginning of the experiment the units within each block are similar to each other with respect to at least one blocking variable. A randomized block design helps to separate natural variability from differences due to the blocking variable.
- VAR-3.C.9 A matched pairs design is a special case of a randomized block design. Using a blocking variable, subjects (whether they are people or not) are arranged in pairs matched on relevant factors. Matched pairs may be formed naturally or by the experimenter. Every pair receives both treatments by randomly assigning one treatment to one member of the pair and subsequently assigning the remaining treatment to the second member of the pair. Alternately, each subject may get both treatments.
来源:美国大学理事会 AP 课程与考试说明
好的实验遵循三个原则:
- 与一个对照组(control group)(常常是一个安慰剂(placebo))的比较(comparison)。
- 受试者到处理的随机分配(random assignment),以平衡掉其他变量。
- 重复(replication):每个处理足够的受试者以看到一个真实的效果。

一个完全随机化实验把一个处理组与一个对照组比较 混杂(confounding)在另一个变量与处理绑定以致它们的效果不能被分开时出现;随机分配防范它。盲法(blinding)隐藏谁在接受哪种处理以防止预期效应:在一个单盲(single-blind)研究里只有一方被蒙在鼓里(通常是受试者,或只是评估结果的人),而在一个双盲(double-blind)研究里受试者和与他们互动的研究者都不知道,这同时挡住安慰剂效应和有偏的评估。区组(blocking)把相似的受试者分组并在每个区组内随机化以减少变异性。

临床试验:随机分配区分处理组与对照组 词汇表 训练英文 中文 拼音 control group 对照组 duì zhào zǔ placebo 安慰剂 ān wèi jì Random assignment 随机分配 suí jī fēn pèi Replication 重复 chóng fù Confounding 混杂 hùn zá Blinding 盲法 máng fǎ single-blind 单盲 dān máng double-blind 双盲 shuāng máng Blocking 区组 qū zǔ 3.6
选择实验设计
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-3
Well-designed experiments can establish evidence of causal relationships.VAR-3.D
Explain why a particular experimental design is appropriate. [Skill 1.C]- VAR-3.D.1 There are advantages and disadvantages for each experimental design depending on the question of interest, the resources available, and the nature of the experimental units.
来源:美国大学理事会 AP 课程与考试说明
把设计匹配到目标:对均匀的受试者用一个完全随机化设计;当一个已知变量(性别、年龄)影响响应时用一个随机区组设计;当每个受试者能充当它自己的对照时用一个配对设计。陈述你会如何执行随机化。
3.7
推断与实验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-3
Well-designed experiments can establish evidence of causal relationships.VAR-3.E
Interpret the results of a well-designed experiment. [Skill 4.B]- VAR-3.E.1 Statistical inference attributes conclusions based on data to the distribution from which the data were collected.
- VAR-3.E.2 Random assignment of treatments to experimental units allows researchers to conclude that some observed changes are so large as to be unlikely to have occurred by chance. Such changes are said to be statistically significant.
- VAR-3.E.3 Statistically significant differences between or among experimental treatment groups are evidence that the treatments caused the effect.
- VAR-3.E.4 If the experimental units used in an experiment are representative of some larger group of units, the results of an experiment can be generalized to the larger group. Random selection of experimental units gives a better chance that the units will be representative.
来源:美国大学理事会 AP 课程与考试说明
两个问题决定一个结论的范围:
- 用了随机分配?那么一个显著的差异能被归因于处理(因果)——对这些受试者。
- 从一个总体的随机抽样?那么结果推广到那个总体。
只有一个带随机分配的实验支持一个因果宣称;只有随机抽样支持推广。准确地说你有哪个。
Worked example. 研究者把 $100$ 个志愿者随机分配到一种新药或一个安慰剂,而药组改善得显著更多。因为随机分配,这个改善能被归因于药(因果)——但因为受试者不是随机抽样的,结论只适用于这些志愿者而不自动推广到每个人。
3.7
考试技巧
- 区分一个观察性研究(找到关联)和一个实验(能显示因果)。
- 好的抽样是随机的(SRS、分层、整群)——当心偏差(自愿回应、覆盖不足、无回应)。
- 好的实验用对照、随机化和重复;区组处理一个已知的干扰变量。
- 只有一个随机化实验支持一个因果结论。
- 清楚地命名总体、样本和任何混杂。
-
4
概率、随机变量与概率分布
4.1
统计学导论:随机与非随机模式?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.F
Identify questions suggested by patterns in data. [Skill 1.A]- VAR-1.F.1 Patterns in data do not necessarily mean that variation is not random.
来源:美国大学理事会 AP 课程与考试说明
某件事是随机(random)的,若个体结果不确定但在许多次重复上出现一个规则的模式。短期结果看起来无规律;长期相对频率稳定下来。这个长期稳定性正是使概率有用的东西。
词汇表 训练英文 中文 拼音 random 随机 suí jī 4.2
用模拟估计概率
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-2
Simulation allows us to anticipate patterns in data.UNC-2.A
Estimate probabilities using simulation. [Skill 3.A]- UNC-2.A.1 A random process generates results that are determined by chance.
- UNC-2.A.2 An outcome is the result of a trial of a random process.
- UNC-2.A.3 An event is a collection of outcomes.
- UNC-2.A.4 Simulation is a way to model random events, such that simulated outcomes closely match real-world outcomes. All possible outcomes are associated with a value to be determined by chance. Record the counts of simulated outcomes and the count total.
- UNC-2.A.5 The relative frequency of an outcome or event in simulated or empirical data can be used to estimate the probability of that outcome or event.
- UNC-2.A.6 The law of large numbers states that simulated (empirical) probabilities tend to get closer to the true probability as the number of trials increases.
- Illustrative examples for UNC-2.A:
- An outcome: Rolling a particular value on a six-sided number cube is one of six possible outcomes.
- An event: When rolling two six-sided number cubes, an event would be a sum of seven. The corresponding collection of outcomes would be $(1, 6)$, $(2, 5)$, $(3, 4)$, $(4, 3)$, $(5, 2)$, and $(6, 1)$, where the ordered pairs indicate (face value on one cube, face value on the other cube).
- Illustrative examples for UNC-2.A:
来源:美国大学理事会 AP 课程与考试说明
一个模拟(simulation)用随机数字或技术模仿一个机会过程。步骤:陈述模型、把数字分配给结果、运行许多次试验,并记录满足条件的试验的比例。所得的比例估计这个概率——更多试验给一个更好的估计。
词汇表 训练英文 中文 拼音 simulation 模拟 mó nǐ 4.3
概率导论
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-4
The likelihood of a random event can be quantified.VAR-4.A
Calculate probabilities for events and their complements. [Skill 3.A]- VAR-4.A.1 The sample space of a random process is the set of all possible non-overlapping outcomes.
- VAR-4.A.2 If all outcomes in the sample space are equally likely, then the probability an event E will occur is defined as the fraction: $\dfrac{\text{number of outcomes in event E}}{\text{total number of outcomes in sample space}}$
- VAR-4.A.3 The probability of an event is a number between 0 and 1, inclusive.
- VAR-4.A.4 The probability of the complement of an event E, $E'$ or $E^{C}$, (i.e., not E) is equal to $1 - P(E)$.
VAR-4.B
Interpret probabilities for events. [Skill 4.B]- VAR-4.B.1 Probabilities of events in repeatable situations can be interpreted as the relative frequency with which the event will occur in the long run.
来源:美国大学理事会 AP 课程与考试说明
一个事件的概率(probability)是一个从 $0$ 到 $1$ 的数字,给出它的长期相对频率。样本空间(sample space)是所有结果的集合。对于一个事件 $A$,补(complement)法则:$P(A^c)=1-P(A)$。所有结果的概率求和为 $1$。

概率从 0(不可能)到 1(确定) 探索Explore probability with dice
Probability is the long-run fraction of times an outcome happens. Roll the dice many times and watch the experimental proportions settle toward the theoretical values.
词汇表 训练英文 中文 拼音 probability 概率 gài lǜ sample space 样本空间 yàng běn kōng jiān complement 补 bǔ 4.4
互斥事件
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-4
The likelihood of a random event can be quantified.VAR-4.C
Explain why two events are (or are not) mutually exclusive. [Skill 4.B]- VAR-4.C.1 The probability that events $A$ and $B$ both will occur, sometimes called the joint probability, is the probability of the intersection of $A$ and $B$, denoted $P(A \cap B)$.
- VAR-4.C.2 Two events are mutually exclusive or disjoint if they cannot occur at the same time. So $P(A \cap B) = 0$.
来源:美国大学理事会 AP 课程与考试说明
两个事件是互斥(mutually exclusive)(不相交)的,若它们不能同时发生。那么加法法则简化:
$$P(A\text{ or }B)=P(A)+P(B)\quad(\text{if mutually exclusive}).$$一般地,$P(A\text{ or }B)=P(A)+P(B)-P(A\text{ and }B)$ ——减去重叠使它不被数两次。
一个维恩图:重叠是两个事件的交集 词汇表 训练英文 中文 拼音 mutually exclusive 互斥 hù chì 4.5
条件概率
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-4
The likelihood of a random event can be quantified.VAR-4.D
Calculate conditional probabilities. [Skill 3.A]- VAR-4.D.1 The probability that event $A$ will occur given that event $B$ has occurred is called a conditional probability and denoted $P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}$.
- VAR-4.D.2 The multiplication rule states that the probability that events $A$ and $B$ both will occur is equal to the probability that event $A$ will occur multiplied by the probability that event $B$ will occur, given that $A$ has occurred. This is denoted $P(A \cap B) = P(A) \cdot P(B \mid A)$.
来源:美国大学理事会 AP 课程与考试说明
条件概率 $A$ 给定 $B$ 的条件概率(conditional probability)是
$$P(A\mid B)=\frac{P(A\text{ and }B)}{P(B)}.$$它是一旦你知道 $B$ 发生了 $A$ 的机会。双向表使这些容易:限制到 $B$ 的行/列,然后求 $A$ 的份额。
在一个树状图上,沿分支相乘概率 探索Update a probability on new information
Conditional probability $P(B\mid A)$ is the chance of $B$ once you know $A$ happened. Change the branch probabilities and watch how conditioning reshapes the outcome.
词汇表 训练英文 中文 拼音 conditional probability 条件概率 tiáo jiàn gài lǜ 4.6
独立事件与事件的并
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-4
The likelihood of a random event can be quantified.VAR-4.E
Calculate probabilities for independent events and for the union of two events. [Skill 3.A]- VAR-4.E.1 Events $A$ and $B$ are independent if, and only if, knowing whether event $A$ has occurred (or will occur) does not change the probability that event $B$ will occur.
- VAR-4.E.2 If, and only if, events $A$ and $B$ are independent, then $P(A \mid B) = P(A)$, $P(B \mid A) = P(B)$, and $P(A \cap B) = P(A) \cdot P(B)$.
- VAR-4.E.3 The probability that event $A$ or event $B$ (or both) will occur is the probability of the union of $A$ and $B$, denoted $P(A \cup B)$.
- VAR-4.E.4 The addition rule states that the probability that event $A$ or event $B$ or both will occur is equal to the probability that event $A$ will occur plus the probability that event $B$ will occur minus the probability that both events $A$ and $B$ will occur. This is denoted $P(A \cup B) = P(A) + P(B) - P(A \cap B)$.
来源:美国大学理事会 AP 课程与考试说明
事件是独立(independent)的,若知道一个不改变另一个的概率:$P(A\mid B)=P(A)$。那么乘法法则简化:
$$P(A\text{ and }B)=P(A)\,P(B)\quad(\text{if independent}).$$独立不等同于互斥——有非零概率的互斥事件实际上是相依(dependent)的(若一个发生,另一个不能)。
一个样本空间图列出每个同等可能的结果 探索Combine events with a Venn diagram
For a union $P(A\cup B)=P(A)+P(B)-P(A\cap B)$ — you subtract the overlap so it isn't counted twice. Switch the operation to see each region light up.
词汇表 训练英文 中文 拼音 independent 独立 dú lì 4.7
随机变量与概率分布导论
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-5
Probability distributions may be used to model variation in populations.VAR-5.A
Represent the probability distribution for a discrete random variable. [Skill 2.B]- VAR-5.A.1 The values of a random variable are the numerical outcomes of random behavior.
- VAR-5.A.2 A discrete random variable is a variable that can only take a countable number of values. Each value has a probability associated with it. The sum of the probabilities over all of the possible values must be 1.
- VAR-5.A.3 A probability distribution can be represented as a graph, table, or function showing the probabilities associated with values of a random variable.
- VAR-5.A.4 A cumulative probability distribution can be represented as a table or function showing the probability of being less than or equal to each value of the random variable.
- Illustrative examples for VAR-5.A: Outcomes of trials of a random process:
- The sum of the outcomes for rolling two dice
- The number of puppies in a randomly selected litter for a certain breed of dog
- Illustrative examples for VAR-5.A: Outcomes of trials of a random process:
VAR-5.B
Interpret a probability distribution. [Skill 4.B]- VAR-5.B.1 An interpretation of a probability distribution provides information about the shape, center, and spread of a population and allows one to make conclusions about the population of interest.
来源:美国大学理事会 AP 课程与考试说明
一个随机变量(random variable)给一个机会过程的每个结果分配一个数字。一个概率分布(probability distribution)列出每个可能的值连同它的概率(它们求和为 $1$)。一个分布能是离散的(一个值的表)或连续的(一个曲线下面积模型,像正态)。
词汇表 训练英文 中文 拼音 random variable 随机变量 suí jī biàn liàng probability distribution 概率分布 gài lǜ fēn bù 4.8
随机变量的均值与标准差
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-5
Probability distributions may be used to model variation in populations.VAR-5.C
Calculate parameters for a discrete random variable. [Skill 3.B]- VAR-5.C.1 A numerical value measuring a characteristic of a population or the distribution of a random variable is known as a parameter, which is a single, fixed value.
- VAR-5.C.2 The mean, or expected value, for a discrete random variable $X$ is $\mu_X = \sum x_i \cdot P(x_i)$.
- VAR-5.C.3 The standard deviation for a discrete random variable $X$ is $\sigma_X = \sqrt{\sum (x_i - \mu_x)^2 \cdot P(x_i)}$.
VAR-5.D
Interpret parameters for a discrete random variable. [Skill 4.B]- VAR-5.D.1 Parameters for a discrete random variable should be interpreted using appropriate units and within the context of a specific population.
来源:美国大学理事会 AP 课程与考试说明
一个离散随机变量的均值(期望值)(expected value)是概率加权的平均:
$$\mu_X=E(X)=\sum x_i\,P(x_i).$$标准差 $\sigma_X=\sqrt{\sum (x_i-\mu_X)^2\,P(x_i)}$ 测量离均值的典型散布。期望值是长期平均结果,不是你在任何单次试验上期望的一个值。Worked example. 一个游戏以概率 $0.2$ 付 $\$5$,而以概率 $0.8$ 花你 $\$1$(一个 $-1$ 结果)。期望值是
$$E(X)=5(0.2)+(-1)(0.8)=1-0.8=\$0.20,$$所以在许多次玩上你平均每次玩赚约 $20$ 分,即使没有单次玩恰好给那个。4.9
组合随机变量
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-5
Probability distributions may be used to model variation in populations.VAR-5.E
Calculate parameters for linear combinations of random variables. [Skill 3.B]- VAR-5.E.1 For random variables $X$ and $Y$ and real numbers $a$ and $b$, the mean of $aX + bY$ is $a\mu_x + b\mu_y$.
- VAR-5.E.2 Two random variables are independent if knowing information about one of them does not change the probability distribution of the other.
- VAR-5.E.3 For independent random variables $X$ and $Y$ and real numbers $a$ and $b$, the mean of $aX + bY$ is $a\mu_x + b\mu_y$, and the variance of $aX + bY$ is $a^2\sigma^2_x + b^2\sigma^2_y$.
VAR-5.F
Describe the effects of linear transformations of parameters of random variables. [Skill 3.C]- VAR-5.F.1 For $Y = a + bX$, the probability distribution of the transformed random variable, $Y$, has the same shape as the probability distribution for $X$, so long as $a > 0$ and $b > 0$. The mean of $Y$ is $\mu_y = a + b\mu_x$. The standard deviation of $Y$ is $\sigma_y = |b|\sigma_x$.
来源:美国大学理事会 AP 课程与考试说明
当你相加或相减随机变量时,均值相加:$\mu_{X\pm Y}=\mu_X\pm\mu_Y$。若 $X$ 和 $Y$ 独立,方差相加(即使相减时):
$$\sigma^2_{X\pm Y}=\sigma^2_X+\sigma^2_Y.$$取平方根得标准差。还有,缩放:$\mu_{aX+b}=a\mu_X+b$ 而 $\sigma_{aX+b}=|a|\sigma_X$。4.10
二项分布导论
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.A
Estimate probabilities of binomial random variables using data from a simulation. [Skill 3.A]- UNC-3.A.1 A probability distribution can be constructed using the rules of probability or estimated with a simulation using random number generators.
- UNC-3.A.2 A binomial random variable, $X$, counts the number of successes in $n$ repeated independent trials, each trial having two possible outcomes (success or failure), with the probability of success $p$ and the probability of failure $1 - p$.
UNC-3.B
Calculate probabilities for a binomial distribution. [Skill 3.A]- UNC-3.B.1 The probability that a binomial random variable, $X$, has exactly $x$ successes for $n$ independent trials, when the probability of success is $p$, is calculated as $P(X = x) = \binom{n}{x} p^x (1 - p)^{n-x}, x = 0, 1, 2, \ldots, n$. This is the binomial probability function.
来源:美国大学理事会 AP 课程与考试说明
二项分布 一个二项(binomial)情形(BINS):一个固定数目 $n$ 的独立(Independent)试验,每个有两个结果(成功/失败)和相同的成功概率 $p$。随机变量 $X=$ 成功的次数。它的概率:
$$P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}.$$
二项分布,均值 n 乘 p 探索Shape a binomial distribution
A binomial distribution counts successes in $n$ independent trials each with probability $p$. Change $n$ and $p$ and watch the bars shift and spread.
词汇表 训练英文 中文 拼音 mean (expected value) 期望值 qī wàng zhí binomial 二项 èr xiàng 4.11
二项分布的参数
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.C
Calculate parameters for a binomial distribution. [Skill 3.B]- UNC-3.C.1 If a random variable is binomial, its mean, $\mu_x$, is $np$ and its standard deviation, $\sigma_x$, is $\sqrt{np(1 - p)}$.
UNC-3.D
Interpret probabilities and parameters for a binomial distribution. [Skill 4.B]- UNC-3.D.1 Probabilities and parameters for a binomial distribution should be interpreted using appropriate units and within the context of a specific population or situation.
来源:美国大学理事会 AP 课程与考试说明
对于一个有 $n$ 次试验和成功概率 $p$ 的二项 $X$:
$$\mu_X=np,\qquad \sigma_X=\sqrt{np(1-p)}.$$对"我们期望多少次成功,而它们变化多少"的问题用这些。Worked example. 一个球员命中 $70\%$ 的罚球。在 $n=10$ 次投篮里,恰好 $8$ 次命中的概率是
$$P(X=8)=\binom{10}{8}(0.7)^8(0.3)^2=45\times0.0576\times0.09\approx0.23,$$而命中的期望数是 $\mu=np=10(0.7)=7$,带 $\sigma=\sqrt{10(0.7)(0.3)}\approx1.45$。4.12
几何分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.E
Calculate probabilities for geometric random variables. [Skill 3.A]- UNC-3.E.1 For a sequence of independent trials, a geometric random variable, $X$, gives the number of the trial on which the first success occurs. Each trial has two possible outcomes (success or failure) with the probability of success $p$ and the probability of failure $1 - p$.
- UNC-3.E.2 The probability that the first success for repeated independent trials with probability of success $p$ occurs on trial $x$ is calculated as $P(X = x) = (1 - p)^{x-1} p, x = 1, 2, 3, \ldots$. This is the geometric probability function.
UNC-3.F
Calculate parameters of a geometric distribution. [Skill 3.B]- UNC-3.F.1 If a random variable is geometric, its mean, $\mu_x$, is $\dfrac{1}{p}$ and its standard deviation, $\sigma_x$, is $\dfrac{\sqrt{(1 - p)}}{p}$.
UNC-3.G
Interpret probabilities and parameters for a geometric distribution. [Skill 4.B]- UNC-3.G.1 Probabilities and parameters for a geometric distribution should be interpreted using appropriate units and within the context of a specific population or situation.
来源:美国大学理事会 AP 课程与考试说明
一个几何(geometric)情形与二项相同但没有固定的 $n$:你持续尝试直到第一次成功。随机变量 $Y=$ 第一次成功的试验:
$$P(Y=k)=(1-p)^{k-1}\,p,\qquad \mu_Y=\frac{1}{p}.$$所以到第一次成功的试验的期望数是 $1/p$。词汇表 训练英文 中文 拼音 geometric 几何 jǐ hé 4.12
考试技巧
- 一个概率落在 $[0,1]$ 里;用补($1-P$)并相加互斥事件。
- 对独立事件相乘;对"与/或"用一般的加法和条件法则。
- 期望值 = $\sum(\text{value}\times\text{probability})$。
- 辨认二项(固定 $n$、两个结果、恒定 $p$)和几何情形。
- 对多阶段问题画一个树或表并沿分支相乘。
-
5
抽样分布
5.1
统计学导论:为什么我的样本与你的不同?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.G
Identify questions suggested by variation in statistics for samples collected from the same population. [Skill 1.A]- VAR-1.G.1 Variation in statistics for samples taken from the same population may be random or not.
来源:美国大学理事会 AP 课程与考试说明
一个统计量(statistic)(像一个样本均值 $\bar{x}$ 或样本比例 $\hat{p}$)从一个样本计算并变化——样本到样本——这是抽样变异(sampling variability)。一个参数(parameter)($\mu$ 或 $p$)是关于总体的固定真相。抽样分布(sampling distribution)是一个统计量在一个给定大小的所有可能样本上的分布——它是从一个样本到推断的桥梁。
词汇表 训练英文 中文 拼音 statistic 统计量 tǒng jì liàng sampling variability 抽样变异 chōu yàng biàn yì parameter 参数 cān shù sampling distribution 抽样分布 chōu yàng fēn bù 5.2
再探正态分布
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-6
The normal distribution may be used to model variation.VAR-6.A
Calculate the probability that a particular value lies in a given interval of a normal distribution. [Skill 3.A]- VAR-6.A.1 A continuous random variable is a variable that can take on any value within a specified domain. Every interval within the domain has a probability associated with it.
- VAR-6.A.2 A continuous random variable with a normal distribution is commonly used to describe populations. The distribution of a normal random variable can be described by a normal, or "bell-shaped," curve.
- VAR-6.A.3 The area under a normal curve over a given interval represents the probability that a particular value lies in that interval.
- Illustrative examples for VAR-6.A: Continuous random variable: If one looks at a clock at a random time, the probability that the minute hand is between the 3 and the 6 is one fourth.
VAR-6.B
Determine the interval associated with a given area in a normal distribution. [Skill 3.A]- VAR-6.B.1 The boundaries of an interval associated with a given area in a normal distribution can be determined using $z$-scores or technology, such as a calculator, a standard normal table, or computer-generated output.
- VAR-6.B.2 Intervals associated with a given area in a normal distribution can be determined by assigning appropriate inequalities to the boundaries of the intervals:
- a. $P(X < x_a) = \dfrac{p}{100}$ means that the lowest $p\%$ of values lie to the left of $x_a$.
- b. $P(x_a < X < x_b) = \dfrac{p}{100}$ means that $p\%$ of values lie between $x_a$ and $x_b$.
- c. $P(X > x_b) = \dfrac{p}{100}$ means that the highest $p\%$ of values lie to the right of $x_b$.
- d. To determine the most extreme $p\%$ of values requires dividing the area associated with $p\%$ into two equal areas on either extreme of the distribution: $P(X < x_a) = \dfrac{1}{2}\dfrac{p}{100}$ and $P(X > x_b) = \dfrac{1}{2}\dfrac{p}{100}$ means that half of the $p\%$ most extreme values lie to the left of $x_a$ and half of the $p\%$ most extreme values lie to the right of $x_b$.
VAR-6.C
Determine the appropriateness of using the normal distribution to approximate probabilities for unknown distributions. [Skill 3.C]- VAR-6.C.1 Normal distributions are symmetrical and "bell-shaped." As a result, normal distributions can be used to approximate distributions with similar characteristics.
来源:美国大学理事会 AP 课程与考试说明
正态分布 对于足够大的样本,许多抽样分布近似正态。那让我们能用一个中心(它的均值)、一个散布(它的标准误(standard error))和一个正态形状描述一个统计量——然后计算一个给定的样本结果有多可能。
探索Use the normal curve to find a proportion
A normal model turns a range of values into an area = a proportion. Shade a band to read off the fraction of samples falling within it (the 68-95-99.7 rule).
词汇表 训练英文 中文 拼音 standard error 标准误 biāo zhǔn wù 5.3
中心极限定理
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.H
Estimate sampling distributions using simulation. [Skill 3.C]- UNC-3.H.1 A sampling distribution of a statistic is the distribution of values for the statistic for all possible samples of a given size from a given population.
- UNC-3.H.2 The central limit theorem (CLT) states that when the sample size is sufficiently large, a sampling distribution of the mean of a random variable will be approximately normally distributed.
- UNC-3.H.3 The central limit theorem requires that the sample values are independent of each other and that $n$ is sufficiently large.
- UNC-3.H.4 A randomization distribution is a collection of statistics generated by simulation assuming known values for the parameters. For a randomized experiment, this means repeatedly randomly reallocating/reassigning the response values to treatment groups.
- UNC-3.H.5 The sampling distribution of a statistic can be simulated by generating repeated random samples from a population.
来源:美国大学理事会 AP 课程与考试说明
中心极限定理 中心极限定理(Central Limit Theorem,CLT):对于一个样本均值,若样本量 $n$ 足够大(一个常见规则是 $n\ge 30$),$\bar{x}$ 的抽样分布近似正态,无论总体的形状。$n$ 越大,越正态而分布越紧。

无论总体的形状如何样本均值都几乎正态 探索Watch a sampling distribution turn normal
The Central Limit Theorem: for a large enough sample, the distribution of the sample mean is approximately normal — whatever the shape of the population.
词汇表 训练英文 中文 拼音 Central Limit Theorem 中心极限定理 zhōng xīn jí xiàn dìng lǐ 5.4
有偏与无偏点估计
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.I
Explain why an estimator is or is not unbiased. [Skill 4.B]- UNC-3.I.1 When estimating a population parameter, an estimator is unbiased if, on average, the value of the estimator is equal to the population parameter.
UNC-3.J
Calculate estimates for a population parameter. [Skill 3.B]- UNC-3.J.1 When estimating a population parameter, an estimator exhibits variability that can be modeled using probability.
- UNC-3.J.2 A sample statistic is a point estimator of the corresponding population parameter.
来源:美国大学理事会 AP 课程与考试说明
一个统计量是无偏(unbiased)的,若它的抽样分布的均值等于这个参数——它平均而言正确。偏差是关于中心偏了;变异性(variability)是关于散布。一个好的估计量既无偏(中心正确)又低变异性(精确);更大的样本减少变异性但不修复来自差劲抽样的偏差。

偏差和变异性是两种不同的毛病。只有左上的估计量既以 $\theta$ 为中心又很集中;左下的那个虽然精确却一贯错误,再多的数据也修复不了。 词汇表 训练英文 中文 拼音 unbiased 无偏 wú piān 5.5
样本比例的抽样分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.K
Determine parameters of a sampling distribution for sample proportions. [Skill 3.B]- UNC-3.K.1 For independent samples (sampling with replacement) of a categorical variable from a population with population proportion, $p$, the sampling distribution of the sample proportion, $\hat{p}$, has a mean, $\mu_{\hat{p}} = p$ and a standard deviation, $\sigma_{\hat{p}} = \sqrt{\dfrac{p(1-p)}{n}}$.
- UNC-3.K.2 If sampling without replacement, the standard deviation of the sample proportion is smaller than what is given by the formula above. If the sample size is less than 10% of the population size, the difference is negligible.
UNC-3.L
Determine whether a sampling distribution for a sample proportion can be described as approximately normal. [Skill 3.C]- UNC-3.L.1 For a categorical variable, the sampling distribution of the sample proportion, $\hat{p}$, will have an approximate normal distribution, provided the sample size is large enough: $np \geq 10$ and $n(1-p) \geq 10$
UNC-3.M
Interpret probabilities and parameters for a sampling distribution for a sample proportion. [Skill 4.B]- UNC-3.M.1 Probabilities and parameters for a sampling distribution for a sample proportion should be interpreted using appropriate units and within the context of a specific population.
来源:美国大学理事会 AP 课程与考试说明
对于来自一个 SRS 的样本比例 $\hat{p}$:均值是 $p$(无偏),而标准差是
$$\sigma_{\hat p}=\sqrt{\frac{p(1-p)}{n}}.$$这个散布有两个名字:它是抽样分布的标准差;一旦你必须从样本估计它(用 $\hat p$ 代替 $p$),它就叫标准误——这正是后面的推断单元所做的。 它在 $np\ge 10$ 和 $n(1-p)\ge 10$(大计数(Large Counts)条件)时近似正态,而 $10\%$ 条件($n\le 0.10N$)使观测保持近独立。Worked example. 假设 $40\%$ 的选民赞成一项措施($p=0.4$)而你抽样 $n=100$。标准误是 $\sigma_{\hat p}=\sqrt{\dfrac{0.4(0.6)}{100}}=0.049$。一个样本给出 $\hat{p}>0.5$ 的机会是 $z=\dfrac{0.5-0.4}{0.049}=2.04$,所以 $P(\hat p>0.5)\approx0.02$ ——样本里的一个多数会令人惊讶。
5.6
样本比例之差的抽样分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.N
Determine parameters of a sampling distribution for a difference in sample proportions. [Skill 3.B]- UNC-3.N.1 For a categorical variable, when randomly sampling with replacement from two independent populations with population proportions $p_1$ and $p_2$, the sampling distribution of the difference in sample proportions $\hat{p}_1 - \hat{p}_2$ has mean, $\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2$ and standard deviation, $\sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\dfrac{p_1(1-p_1)}{n_1} + \dfrac{p_2(1-p_2)}{n_2}}$.
- UNC-3.N.2 If sampling without replacement, the standard deviation of the difference in sample proportions is smaller than what is given by the formula above. If the sample sizes are less than 10% of the population sizes, the difference is negligible.
UNC-3.O
Determine whether a sampling distribution for a difference of sample proportions can be described as approximately normal. [Skill 3.C]- UNC-3.O.1 The sampling distribution of the difference in sample proportions $\hat{p}_1 - \hat{p}_2$ will have an approximate normal distribution provided the sample sizes are large enough: $n_1 p_1 \geq 10, n_1(1-p_1) \geq 10, n_2 p_2 \geq 10, n_2(1-p_2) \geq 10$.
UNC-3.P
Interpret probabilities and parameters for a sampling distribution for a difference in proportions. [Skill 4.B]- UNC-3.P.1 Parameters for a sampling distribution for a difference of proportions should be interpreted using appropriate units and within the context of a specific populations.
来源:美国大学理事会 AP 课程与考试说明
对于来自两个独立样本的 $\hat{p}_1-\hat{p}_2$:均值是 $p_1-p_2$,而因为样本独立方差相加:
$$\sigma_{\hat p_1-\hat p_2}=\sqrt{\frac{p_1(1-p_1)}{n_1}+\frac{p_2(1-p_2)}{n_2}}.$$它在大计数条件在两个样本里都成立时近似正态。5.7
样本均值的抽样分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.Q
Determine parameters for a sampling distribution for sample means. [Skill 3.B]- UNC-3.Q.1 For a numerical variable, when random sampling with replacement from a population with mean $\mu$ and standard deviation, $\sigma$, the sampling distribution of the sample mean has mean $\mu_{\bar{x}} = \mu$ and standard deviation $\sigma_{\bar{x}} = \dfrac{\sigma}{\sqrt{n}}$.
- UNC-3.Q.2 If sampling without replacement, the standard deviation of the sample mean is smaller than what is given by the formula above. If the sample size is less than 10% of the population size, the difference is negligible.
UNC-3.R
Determine whether a sampling distribution of a sample mean can be described as approximately normal. [Skill 3.C]- UNC-3.R.1 For a numerical variable, if the population distribution can be modeled with a normal distribution, the sampling distribution of the sample mean, $\bar{x}$, can be modeled with a normal distribution.
- UNC-3.R.2 For a numerical variable, if the population distribution cannot be modeled with a normal distribution, the sampling distribution of the sample mean, $\bar{x}$, can be modeled approximately by a normal distribution, provided the sample size is large enough, e.g., greater than or equal to 30.
UNC-3.S
Interpret probabilities and parameters for a sampling distribution for a sample mean. [Skill 4.B]- UNC-3.S.1 Probabilities and parameters for a sampling distribution for a sample mean should be interpreted using appropriate units and within the context of a specific population.
来源:美国大学理事会 AP 课程与考试说明
对于来自一个 SRS 的样本均值 $\bar{x}$:均值是 $\mu$(无偏),而标准差是
$$\sigma_{\bar x}=\frac{\sigma}{\sqrt{n}}.$$它的形状是正态的,若总体是正态的,或对大的 $n$ 由 CLT 近似正态。注意散布像 $\sqrt{n}$ 那样缩小——把样本变四倍使标准误减半。Worked example. 一个总体有 $\mu=70$ 和 $\sigma=12$。对于 $n=36$ 的样本,$\bar{x}$ 的抽样分布以 $70$ 为中心带标准误 $\dfrac{12}{\sqrt{36}}=2$。一个样本均值超过 $73$ 的机会是 $z=\dfrac{73-70}{2}=1.5$,所以 $P(\bar x>73)\approx0.067$。

左边的总体强烈偏斜,但 $\bar{x}$ 的每个抽样分布都以 $\mu$ 为中心。更大的 $n$ 使标准误 $\sigma/\sqrt{n}$ 更小,所以曲线更高更窄——而且也更对称:在 $n=2$ 时仍明显偏斜,到 $n=30$ 时几乎正好是正态(虚线)。 5.8
样本均值之差的抽样分布
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-3
Probabilistic reasoning allows us to anticipate patterns in data.UNC-3.T
Determine parameters of a sampling distribution for a difference in sample means. [Skill 3.B]- UNC-3.T.1 For a numerical variable, when randomly sampling with replacement from two independent populations with population means $\mu_1$ and $\mu_2$ and population standard deviations $\sigma_1$ and $\sigma_2$, the sampling distribution of the difference in sample means $\bar{x}_1 - \bar{x}_2$ has mean $\mu_{(\bar{x}_1 - \bar{x}_2)} = \mu_1 - \mu_2$ and standard deviation, $\sigma_{(\bar{x}_1 - \bar{x}_2)} = \sqrt{\dfrac{\sigma_1^2}{n_1} + \dfrac{\sigma_2^2}{n_2}}$.
- UNC-3.T.2 If sampling without replacement, the standard deviation of the difference in sample means is smaller than what is given by the formula above. If the sample sizes are less than 10% of the population sizes, the difference is negligible.
UNC-3.U
Determine whether a sampling distribution of a difference in sample means can be described as approximately normal. [Skill 3.C]- UNC-3.U.1 The sampling distribution of the difference in sample means $\bar{x}_1 - \bar{x}_2$ can be modeled with a normal distribution if the two population distributions can be modeled with a normal distribution.
- UNC-3.U.2 The sampling distribution of the difference in sample means $\bar{x}_1 - \bar{x}_2$ can be modeled approximately by a normal distribution if the two population distributions cannot be modeled with a normal distribution but both sample sizes are greater than or equal to 30.
UNC-3.V
Interpret probabilities and parameters for a sampling distribution for a difference in sample means. [Skill 4.B]- UNC-3.V.1 Probabilities and parameters for a sampling distribution for a difference of sample means should be interpreted using appropriate units and within the context of a specific populations.
来源:美国大学理事会 AP 课程与考试说明
对于来自两个独立样本的 $\bar{x}_1-\bar{x}_2$:均值是 $\mu_1-\mu_2$,而(独立,所以方差相加)
$$\sigma_{\bar x_1-\bar x_2}=\sqrt{\frac{\sigma_1^2}{n_1}+\frac{\sigma_2^2}{n_2}}.$$这是下面几个单元里两样本推断的基础。5.8
考试技巧
- 一个抽样分布是一个统计量在许多样本上的分布,以真参数为中心。
- 中心极限定理:对于一个足够大的样本样本均值近似正态,即使总体不是。
- 更大的样本给更少的变异性(一个更小的标准误)。
- 在用一个正态模型前检查条件(随机、独立/10%、足够大)。
- 弄清什么变化——统计量——对固定参数。
-
6
分类数据的推断:比例
6.1
统计学导论:为什么要用正态?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.H
Identify questions suggested by variation in the shapes of distributions of samples taken from the same population. [Skill 1.A]- VAR-1.H.1 Variation in shapes of data distributions may be random or not.
来源:美国大学理事会 AP 课程与考试说明
因为一个样本比例 $\hat{p}$ 近似正态分布(当条件成立时),我们能以标准误测量一个样本结果离一个宣称的值多远,并把那转成一个概率。这正是使推断(inference)——从一个样本得出关于一个总体的结论——成为可能的东西。
词汇表 训练英文 中文 拼音 inference 推断 tuī duàn 6.2
构建总体比例的置信区间
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.A
Identify an appropriate confidence interval procedure for a population proportion. [Skill 1.D]- UNC-4.A.1 The appropriate confidence interval procedure for a one-sample proportion for one categorical variable is a one sample $z$-interval for a proportion.
UNC-4.B
Verify the conditions for calculating confidence intervals for a population proportion. [Skill 4.C]- UNC-4.B.1 In order to make assumptions necessary for inference on population proportions, means, and slopes, we must check for independence in data collection methods and for selection of the appropriate sampling distribution.
- UNC-4.B.2 In order to calculate a confidence interval to estimate a population proportion, $p$, we must check for independence and that the sampling distribution is approximately normal.
- a. To check for independence:
- i. Data should be collected using a random sample or a randomized experiment.
- ii. When sampling without replacement, check that $n \leq 10\%N$, where $N$ is the size of the population.
- b. To check that the sampling distribution of $\hat{p}$ is approximately normal (shape):
- i. For categorical variables, check that both the number of successes, $n\hat{p}$, and the number of failures, $n(1-\hat{p})$ are at least 10 so that the sample size is large enough to support an assumption of normality.
- a. To check for independence:
UNC-4.C
Determine the margin of error for a given sample size and an estimate for the sample size that will result in a given margin of error for a population proportion. [Skill 3.D]- UNC-4.C.1 Based on sample data, the standard error of a statistic is an estimate for the standard deviation for the statistic. The standard error of $\hat{p}$ is $SE_{\hat{p}} = \sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}$.
- UNC-4.C.2 A margin of error gives how much a value of a sample statistic is likely to vary from the value of the corresponding population parameter.
- UNC-4.C.3 For categorical variables, the margin of error is the critical value ($z^*$) times the standard error (SE) of the relevant statistic, which equals $z^* \sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}$ for a one sample proportion.
- UNC-4.C.4 The formula for margin of error can be rearranged to solve for $n$, the minimum sample size needed to achieve a given margin of error. For this purpose, use a guess for $\hat{p}$ or use $\hat{p} = 0.5$ in order to find an upper bound for the sample size that will result in a given margin of error.
UNC-4.D
Calculate an appropriate confidence interval for a population proportion. [Skill 3.D]- UNC-4.D.1 In general, an interval estimate can be constructed as point estimate ± (margin of error). For a one-sample proportion, the interval estimate is $\hat{p} \pm z^* \sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}$.
- Clarifying statement: Formulas for interval estimates do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the relevant standard error formulas that are provided on the formula sheet.
- UNC-4.D.2 Critical values represent the boundaries encompassing the middle C% of the standard normal distribution, where C% is an approximate confidence level for a proportion.
UNC-4.E
Calculate an interval estimate based on a confidence interval for a population proportion. [Skill 3.D]- UNC-4.E.1 Confidence intervals for population proportions can be used to calculate interval estimates with specified units.
来源:美国大学理事会 AP 课程与考试说明
置信区间的含义 一个置信区间(confidence interval)把参数估计为一个范围:统计量 $\pm$ 误差幅度(margin of error)。
$$\hat{p}\pm z^{*}\sqrt{\frac{\hat{p}(1-\hat{p})}{n}}.$$$z^{*}$ 是置信水平(confidence level)的临界值(例如 95% 是 $1.96$)。条件:随机样本、大计数(Large Counts)($n\hat p\ge 10$ 和 $n(1-\hat p)\ge 10$),以及 10% 条件。解释它:"我们有 95% 的信心,……的真比例在……和……之间。"解释这个水平:"在 95% 的样本里,这个方法产生一个捕获真比例的区间。"
在许多样本上,约 95% 的 95% 置信区间捕获真比例 Worked example. 在一个 $200$ 人的随机样本里,$120$ 个支持一项政策,所以 $\hat{p}=0.60$。一个 $95\%$ 区间用 $z^*=1.96$:
$$0.60\pm1.96\sqrt{\frac{0.60(0.40)}{200}}=0.60\pm0.068=(0.532,\ 0.668).$$我们有 $95\%$ 的信心,支持者的真比例在 $53.2\%$ 和 $66.8\%$ 之间。
一个 95% 置信区间在估计值的每一侧伸出 1.96 个标准误 选择样本量。 要让误差幅度不大于一个目标 $m$,令 $z^{*}\sqrt{\dfrac{\hat p(1-\hat p)}{n}}\le m$ 并解出 $n$。当你没有 $\hat p$ 的估计时,用 $\hat p=0.5$:它使 $\hat p(1-\hat p)$ 尽可能大,给出安全的(最大的)所需样本量。总是把结果向上取整到下一个整人数。
Worked example. 要一个误差幅度至多 $0.03$ 的 $95\%$ 区间,你必须调查多少人?用 $\hat p=0.5$ 和 $z^*=1.96$:
$$n=\frac{(z^*)^2\,\hat p(1-\hat p)}{m^2}=\frac{1.96^2(0.5)(0.5)}{0.03^2}=\frac{0.9604}{0.0009}\approx1067.1,$$所以你调查 $1068$ 人(总是向上取整,因为 $1067$ 会让误差幅度稍微太大)。词汇表 训练英文 中文 拼音 confidence interval 置信区间 zhì xìn qū jiān margin of error 误差幅度 wù chā fú dù confidence level 置信水平 zhì xìn shuǐ píng 6.3
基于总体比例置信区间论证结论
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.F
Interpret a confidence interval for a population proportion. [Skill 4.B]- UNC-4.F.1 A confidence interval for a population proportion either contains the population proportion or it does not, because each interval is based on random sample data, which varies from sample to sample.
- UNC-4.F.2 We are C% confident that the confidence interval for a population proportion captures the population proportion.
- UNC-4.F.3 In repeated random sampling with the same sample size, approximately C% of confidence intervals created will capture the population proportion.
- UNC-4.F.4 Interpreting a confidence interval for a one-sample proportion should include a reference to the sample taken and details about the population it represents.
- Illustrative examples for UNC-4.F.4: For interpreting a 99% confidence interval of (0.268, 0.292), based on the proportion of a nationally representative sample of twelfth-grade students who answered a particular multiple choice question correctly: "We are 99 percent confident that the interval from 0.268 to 0.292 contains the population proportion of all United States twelfth-grade students who would answer this question correctly" (2011 FRQ 6(a)).
UNC-4.G
Justify a claim based on a confidence interval for a population proportion. [Skill 4.D]- UNC-4.G.1 A confidence interval for a population proportion provides an interval of values that may provide sufficient evidence to support a particular claim in context.
UNC-4.H
Identify the relationships between sample size, width of a confidence interval, confidence level, and margin of error for a population proportion. [Skill 4.A]- UNC-4.H.1 When all other things remain the same, the width of the confidence interval for a population proportion tends to decrease as the sample size increases. For a population proportion, the width of the interval is proportional to $\dfrac{1}{\sqrt{n}}$.
- UNC-4.H.2 For a given sample, the width of the confidence interval for a population proportion increases as the confidence level increases.
- UNC-4.H.3 The width of a confidence interval for a population proportion is exactly twice the margin of error.
来源:美国大学理事会 AP 课程与考试说明
要判断一个宣称的值:若它落在区间内,数据与它一致;若它落在外,数据给出反对它的证据。基于这些可信的值是否包含这个宣称、在上下文里得出结论。
6.4
建立总体比例的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-6
The normal distribution may be used to model variation.VAR-6.D
Identify the null and alternative hypotheses for a population proportion. [Skill 1.F]- VAR-6.D.1 The null hypothesis is the situation that is assumed to be correct unless evidence suggests otherwise, and the alternative hypothesis is the situation for which evidence is being collected.
- VAR-6.D.2 For hypotheses about parameters, the null hypothesis contains an equality reference (=, ≥, or ≤), while the alternative hypothesis contains a strict inequality (<, >, or ≠). The type of inequality in the alternative hypothesis is based on the question of interest. Alternative hypotheses with < or > are called one-sided, and alternative hypotheses with ≠ are called two-sided. Although the null hypothesis for a one-sided test may include an inequality symbol, it is still tested at the boundary of equality.
- VAR-6.D.3 The null hypothesis for a population proportion is: $H_0 : p = p_0$, where $p_0$ is the null hypothesized value for the population proportion.
- VAR-6.D.4 A one-sided alternative hypothesis for a proportion is either $H_a : p < p_0$ or $H_a : p > p_0$. A two-sided alternate hypothesis is $H_a : p_1 \neq p_2$.
- VAR-6.D.5 For a one-sample $z$-test for a population proportion, the null hypothesis specifies a value for the population proportion, usually one indicating no difference or effect.
VAR-6.E
Identify an appropriate testing method for a population proportion. [Skill 1.E]- VAR-6.E.1 For a single categorical variable, the appropriate testing method for a population proportion is a one-sample $z$-test for a population proportion.
VAR-6.F
Verify the conditions for making statistical inferences when testing a population proportion. [Skill 4.C]- VAR-6.F.1 In order to make statistical inferences when testing a population proportion, we must check for independence and that the sampling distribution is approximately normal:
- a. To check for independence:
- i. Data should be collected using a random sample or a randomized experiment.
- ii. When sampling without replacement, check that $n \leq 10\%N$.
- b. To check that the sampling distribution of $\hat{p}$ is approximately normal (shape):
- i. Assuming that $H_0$ is true $(p = p_0)$, verify that both the number of successes, $np_0$, and the number of failures, $n(1-p_0)$ are at least 10 so that that the sample size is large enough to support an assumption of normality.
- a. To check for independence:
来源:美国大学理事会 AP 课程与考试说明
一个显著性检验(significance test)权衡反对一个宣称的证据。陈述一个关于参数 $p$ 的原假设(null hypothesis)$H_0$ 和一个备择假设(alternative hypothesis)$H_a$:
$$H_0: p=p_0 \qquad H_a: p\neq p_0 \ (\text{or } <,\, >).$$检查相同的条件(随机、用 $p_0$ 的大计数、10%)。检验统计量(test statistic)数离 $p_0$ 的标准误:$$z=\frac{\hat p-p_0}{\sqrt{p_0(1-p_0)/n}}.$$Worked example. 一个公司宣称 $90\%$ 满意度($p_0=0.90$);一个 $100$ 的样本发现 $84$ 个满意($\hat{p}=0.84$)。在 $\alpha=0.05$ 检验 $H_0:p=0.90$ 对 $H_a:p\neq0.90$:
$$z=\frac{0.84-0.90}{\sqrt{0.90(0.10)/100}}=\frac{-0.06}{0.03}=-2.0,$$给出一个约 $2(0.023)=0.046$ 的双尾 $p$ 值。因为 $0.046<0.05$,拒绝 $H_0$ ——有证据表明真满意率不同于(低于)$90\%$。
一个双尾 5% 检验在阴影尾里拒绝原假设 词汇表 训练英文 中文 拼音 significance test 显著性检验 xiǎn zhù xìng jiǎn yàn null hypothesis 原假设 yuán jiǎ shè alternative hypothesis 备择假设 bèi zé jiǎ shè test statistic 检验统计量 jiǎn yàn tǒng jì liàng 6.5
解释 p 值
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-6
The normal distribution may be used to model variation.VAR-6.G
Calculate an appropriate test statistic and $p$-value for a population proportion. [Skill 3.E]- VAR-6.G.1 The distribution of the test statistic assuming the null hypothesis is true (null distribution) can be either a randomization distribution or when a probability model is assumed to be true, a theoretical distribution ($z$).
- VAR-6.G.2 When using a $z$-test, the standardized test statistic can be written: $\text{test statistic} = \dfrac{\text{sample statistic} - \text{null value of the parameter}}{\text{standard deviation of the statistic}}$. This is called a $z$-statistic for proportions.
- VAR-6.G.3 The test statistic for a population proportion is: $z = \dfrac{\hat{p} - p_0}{\sqrt{\dfrac{p_0(1-p_0)}{n}}}$.
- Clarifying statement: The formulas for test statistics do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the relevant standard error formulas that are provided on the formula sheet.
- VAR-6.G.4 A $p$-value is the probability of obtaining a test statistic as extreme or more extreme than the observed test statistic when the null hypothesis and probability model are assumed to be true. The significance level may be given or determined by the researcher.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.A
Interpret the $p$-value of a significance test for a population proportion. [Skill 4.B]- DAT-3.A.1 The $p$-value is the proportion of values for the null distribution that are as extreme or more extreme than the observed value of the test statistic. This is:
- a. The proportion at or above the observed value of the test statistic, if the alternative is >.
- b. The proportion at or below the observed value of the test statistic, if the alternative is <.
- c. The proportion less than or equal to the negative of the absolute value of the test statistic plus the proportion greater than or equal to the absolute value of the test statistic, if the alternative is ≠.
- DAT-3.A.2 An interpretation of the $p$-value of a significance test for a one-sample proportion should recognize that the $p$-value is computed by assuming that the probability model and null hypothesis are true, i.e., by assuming that the true population proportion is equal to the particular value stated in the null hypothesis.
来源:美国大学理事会 AP 课程与考试说明
p 值的含义 $p$ 值(p-value)是得到一个与观测的一样极端或更极端的样本结果的概率,假设 $H_0$ 为真。一个小的 $p$ 值意味着若 $H_0$ 成立数据会令人惊讶——反对 $H_0$ 的证据。它不是 $H_0$ 为真的概率。
探索A p-value as a tail area
A p-value is the probability, if the null hypothesis were true, of a result at least this extreme — the shaded tail area. Small p-values cast doubt on the null.
词汇表 训练英文 中文 拼音 p-value P值 P zhí 6.6
得出总体比例检验的结论
大纲
Enduring Understanding Learning Objective Essential Knowledge DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.B
Justify a claim about the population based on the results of a significance test for a population proportion. [Skill 4.E]- DAT-3.B.1 The significance level, $\alpha$, is the predetermined probability of rejecting the null hypothesis given that it is true.
- DAT-3.B.2 A formal decision explicitly compares the $p$-value to the significance level, $\alpha$. If the $p$-value $\leq \alpha$, reject the null hypothesis. If the $p$-value $> \alpha$, fail to reject the null hypothesis.
- DAT-3.B.3 Rejecting the null hypothesis means there is sufficient statistical evidence to support the alternative hypothesis. Failing to reject the null means there is insufficient statistical evidence to support the alternative hypothesis.
- DAT-3.B.4 The conclusion about the alternative hypothesis must be stated in context.
- DAT-3.B.5 A significance test can lead to rejecting or not rejecting the null hypothesis, but can never lead to concluding or proving that the null hypothesis is true. Lack of statistical evidence for the alternative hypothesis is not the same as evidence for the null hypothesis.
- DAT-3.B.6 Small $p$-values indicate that the observed value of the test statistic would be unusual if the null hypothesis and probability model were true, and so provide evidence for the alternative. The lower the $p$-value, the more convincing the statistical evidence for the alternative hypothesis.
- DAT-3.B.7 $p$-values that are not small indicate that the observed value of the test statistic would not be unusual if the null hypothesis and probability model were true, so do not provide convincing statistical evidence for the alternative hypothesis nor do they provide evidence that the null hypothesis is true.
- DAT-3.B.8 A formal decision explicitly compares the $p$-value to the significance $\alpha$. If the $p$-value $\leq \alpha$, then reject the null hypothesis, $H_0 : p = p_0$. If the $p$-value $> \alpha$, then fail to reject the null hypothesis.
- DAT-3.B.9 The results of a significance test for a population proportion can serve as the statistical reasoning to support the answer to a research question about the population that was sampled.
来源:美国大学理事会 AP 课程与考试说明
把 $p$ 值与显著性水平(significance level)$\alpha$(常常 $0.05$)比较:
- $p\le\alpha$:拒绝 $H_0$ ——有令人信服的证据支持 $H_a$。
- $p>\alpha$:未能拒绝 $H_0$ ——支持 $H_a$ 的证据不够(永不"接受 $H_0$")。
总是在上下文里、连回这个宣称地写结论。
词汇表 训练英文 中文 拼音 significance level 显著性水平 xiǎn zhù xìng shuǐ píng 6.7
进行检验时的潜在错误
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-5
Probabilities of Type I and Type II errors influence inference.UNC-5.A
Identify Type I and Type II errors. [Skill 1.B]- UNC-5.A.1 A Type I error occurs when the null hypothesis is true and is rejected (false positive).
- UNC-5.A.2 A Type II error occurs when the null hypothesis is false and is not rejected (false negative).
- Table of Errors: With Actual Population Value across the top ($H_0$ true; $H_a$ true) and Decision down the side (Reject $H_0$; Fail to Reject $H_0$): Reject $H_0$ when $H_0$ true = Type I Error; Reject $H_0$ when $H_a$ true = Correct Decision; Fail to Reject $H_0$ when $H_0$ true = Correct Decision; Fail to Reject $H_0$ when $H_a$ true = Type II Error.
UNC-5.B
Calculate the probability of a Type I and Type II errors. [Skill 3.A]- UNC-5.B.1 The significance level, $\alpha$, is the probability of making a Type I error, if the null hypothesis is true.
- UNC-5.B.2 The power of a test is the probability that a test will correctly reject a false null hypothesis.
- UNC-5.B.3 The probability of making a Type II error $= 1 - power$.
UNC-5.C
Identify factors that affect the probability of errors in significance testing. [Skill 4.A]- UNC-5.C.1 The probability of a Type II error decreases when any of the following occurs, provided the others do not change:
- i. Sample size(s) increases.
- ii. Significance level ($\alpha$) of a test increases.
- iii. Standard error decreases.
- iv. True parameter value is farther from the null.
UNC-5.D
Interpret Type I and Type II errors. [Skill 4.B]- UNC-5.D.1 Whether a Type I or a Type II error is more consequential depends upon the situation.
- UNC-5.D.2 Since the significance level, $\alpha$, is the probability of a Type I error, the consequences of a Type I error influence decisions about a significance level.
来源:美国大学理事会 AP 课程与考试说明
第一类与第二类错误 - 一个第一类错误(Type I error):拒绝一个真的 $H_0$(一个假警报)。它的概率是 $\alpha$。
- 一个第二类错误(Type II error):未能拒绝一个假的 $H_0$(一个漏检)。它的概率是 $\beta$。
- 检验效能(power)$=1-\beta$ 是正确地检测一个真实效果的机会。效能随一个更大的样本、一个更大的效果,或一个更大的 $\alpha$ 上升。
在问题的上下文里描述每个错误和它的后果。
探索Two ways a test can be wrong
A Type I error rejects a true null (false alarm); a Type II error keeps a false null (a miss). Lowering one usually raises the other.
词汇表 训练英文 中文 拼音 Type I error 第一类错误 dì yī lèi cuò wù Type II error 第二类错误 dì èr lèi cuò wù power 检验效能 jiǎn yàn xiào néng 6.8
两个比例之差的置信区间
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.I
Identify an appropriate confidence interval procedure for a comparison of population proportions. [Skill 1.D]- UNC-4.I.1 The appropriate confidence interval procedure for a two-sample comparison of proportions for one categorical variable is a two-sample $z$-interval for a difference between population proportions.
UNC-4.J
Verify the conditions for calculating confidence intervals for a difference between population proportions. [Skill 4.C]- UNC-4.J.1 In order to calculate confidence intervals to estimate a difference between proportions, we must check for independence and that the sampling distribution is approximately normal:
- a. To check for independence:
- i. Data should be collected using two independent, random samples or a randomized experiment.
- ii. When sampling without replacement, check that $n_1 \leq 10\%N_1$ and $n_2 \leq 10\%N_2$.
- b. To check that sampling distribution of $\hat{p}_1 - \hat{p}_2$ is approximately normal (shape).
- i. For categorical variables, check that $n_1\hat{p}_1$, $n_1(1-\hat{p}_1)$, $n_2\hat{p}_2$, and $n_2\left(1-\hat{p}_2\right)$ are all greater than or equal to some predetermined value, typically either 5 or 10.
- a. To check for independence:
UNC-4.K
Calculate an appropriate confidence interval for a comparison of population proportions. [Skill 3.D]- UNC-4.K.1 For a comparison of proportions, the interval estimate is $(\hat{p}_1 - \hat{p}_2) \pm z^* \sqrt{\dfrac{\hat{p}_1(1-\hat{p}_1)}{n_1} + \dfrac{\hat{p}_2(1-\hat{p}_2)}{n_2}}$.
- Clarifying statement: Formulas for interval estimates do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the relevant standard error formulas that are provided on the formula sheet.
UNC-4.L
Calculate an interval estimate based on a confidence interval for a difference of proportions. [Skill 3.D]- UNC-4.L.1 Confidence intervals for a difference in proportions can be used to calculate interval estimates with specified units.
来源:美国大学理事会 AP 课程与考试说明
要比较两个比例,估计 $p_1-p_2$:
$$(\hat p_1-\hat p_2)\pm z^{*}\sqrt{\frac{\hat p_1(1-\hat p_1)}{n_1}+\frac{\hat p_2(1-\hat p_2)}{n_2}}.$$条件必须在两个样本里成立,而样本必须独立。6.9
基于两个总体比例之差的置信区间论证结论
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.M
Interpret a confidence interval for a difference of proportions. [Skill 4.B]- UNC-4.M.1 In repeated random sampling with the same sample size, approximately C% of confidence intervals created will capture the difference in population proportions.
- UNC-4.M.2 Interpreting a confidence interval for difference between population proportions should include a reference to the sample taken and details about the population it represents.
UNC-4.N
Justify a claim based on a confidence interval for a difference of proportions. [Skill 4.D]- UNC-4.N.1 A confidence interval for difference in population proportions provides an interval of values that may provide sufficient evidence to support a particular claim in context.
来源:美国大学理事会 AP 课程与考试说明
若 $p_1-p_2$ 的区间包含 $0$,数据与没有差异一致;若它整个在 $0$ 之上或之下,有一个差异的证据(在那个方向)。陈述方向和上下文。
6.10
建立两个总体比例之差的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-6
The normal distribution may be used to model variation.VAR-6.H
Identify the null and alternative hypotheses for a difference of two population proportions. [Skill 1.F]- VAR-6.H.1 For a two-sample test for a difference of two proportions, the null hypothesis specifies a value of $0$ for the difference in population proportions, indicating no difference or effect.
- VAR-6.H.2 The null hypothesis for a difference in proportions is: $H_0 : p_1 = p_2$, or $H_0 : p_1 - p_2 = 0$.
- VAR-6.H.3 A one-sided alternative hypothesis for a difference in proportions is $H_a : p_1 < p_2$, or, $H_a : p_1 > p_2$. A two-sided alternative hypothesis for a difference of proportions is $H_a : p_1 \neq p_2$.
VAR-6.I
Identify an appropriate testing method for the difference of two population proportions. [Skill 1.E]- VAR-6.I.1 For a single categorical variable, the appropriate testing method for the difference of two population proportions is a two-sample $z$-test for a difference between two population proportions.
VAR-6.J
Verify the conditions for making statistical inferences when testing a difference of two population proportions. [Skill 4.C]- VAR-6.J.1 In order to make statistical inferences when testing a difference between population proportions, we must check for independence and that the sampling distribution is approximately normal:
- a. To check for independence:
- i. Data should be collected using two independent, random samples or a randomized experiment.
- ii. When sampling without replacement, check that $n_1 \leq 10\%N_1$ and $n_2 \leq 10\%N_2$.
- b. To check that the sampling distribution of $\hat{p}_1 - \hat{p}_2$ is approximately normal (shape):
- i. For the combined sample, define the combined (or pooled) proportion, $\hat{p}_c = \dfrac{n_1\hat{p}_1 + n_2\hat{p}_2}{n_1 + n_2}$. Assuming that $H_0$ is true $(p_1 - p_2 = 0$ or $p_1 = p_2)$, check that $n_1\hat{p}_c$, $n_1\left(1-\hat{p}_c\right)$, $n_2\hat{p}_c$, and $n_2\left(1-\hat{p}_c\right)$ are all greater than or equal to some predetermined value, typically either 5 or 10.
- a. To check for independence:
来源:美国大学理事会 AP 课程与考试说明
假设比较两个比例:$H_0: p_1=p_2$ 对 $H_a: p_1\neq p_2$(或 $<,>$)。因为 $H_0$ 说比例相等,用一个合并(combined,pooled)样本比例 $\hat p_c=\dfrac{\text{total successes}}{\text{total sample size}}$ 来估计共同的 $p$。
词汇表 训练英文 中文 拼音 combined (pooled) 合并 hé bìng 6.11
执行两个总体比例之差的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-6
The normal distribution may be used to model variation.VAR-6.K
Calculate an appropriate test statistic for the difference of two population proportions. [Skill 3.E]- VAR-6.K.1 The test statistic for a difference in proportions is: $z = \dfrac{(\hat{p}_1 - \hat{p}_2) - 0}{\sqrt{\hat{p}_c(1-\hat{p}_c)}\sqrt{\dfrac{1}{n_1} + \dfrac{1}{n_2}}}$, where $\hat{p}_c = \dfrac{n_1\hat{p}_1 + n_2\hat{p}_2}{n_1 + n_2}$.
- Clarifying statement: The formulas for test statistics do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the standard error formulas for each of the relevant test statistics that are provided on the formula sheet.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.C
Interpret the $p$-value of a significance test for a difference of population proportions. [Skill 4.B]- DAT-3.C.1 An interpretation of the $p$-value of a significance test for a difference of two population proportions should recognize that the $p$-value is computed by assuming that the null hypothesis is true, i.e., by assuming that the true population proportions are equal to each other.
DAT-3.D
Justify a claim about the population based on the results of a significance test for a difference of population proportions. [Skill 4.E]- DAT-3.D.1 A formal decision explicitly compares the $p$-value to the significance $\alpha$. If the $p\text{-value} \leq \alpha$, then reject the null hypothesis, $H_0 : p_1 = p_2$, or $H_0 : p_1 - p_2 = 0$. If the $p$-value $> \alpha$, then fail to reject the null hypothesis.
- DAT-3.D.2 The results of a significance test for a difference of two population proportions can serve as the statistical reasoning to support the answer to a research question about the two populations that were sampled.
来源:美国大学理事会 AP 课程与考试说明
合并的两比例 $z$ 统计量:
$$z=\frac{\hat p_1-\hat p_2}{\sqrt{\hat p_c(1-\hat p_c)\left(\frac{1}{n_1}+\frac{1}{n_2}\right)}}.$$从正态模型求 $p$ 值、与 $\alpha$ 比较,并在上下文里得出结论——与单比例检验相同的四步逻辑。6.11
考试技巧
- 在任何比例推断前陈述条件(随机、10%、大计数 $np,\,nq\ge10$)。
- 一个置信区间 = 估计 $\pm$ 误差幅度;"95% 信心"指方法的长期捕获率。
- 对一个检验,写 $H_0$ 和 $H_a$、计算检验统计量、求 p 值,并与 $\alpha$ 比较。
- 一个小的 p 值是反对 $H_0$ 的证据;未能拒绝并不证明 $H_0$。
- 更大的样本缩小误差幅度;一个更高的置信水平加宽它。
-
7
定量数据的推断:均值
7.1
统计学导论:我应该担心误差吗?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.I
Identify questions suggested by probabilities of errors in statistical inference. [Skill 1.A]- VAR-1.I.1 Random variation may result in errors in statistical inference.
来源:美国大学理事会 AP 课程与考试说明
第一类与第二类错误 对一个均值的推断像对一个比例的推断那样工作,有一个改变:我们很少知道总体标准差 $\sigma$,所以我们用样本 $s$ 估计它。那额外的不确定性意味着我们用 $t$ 分布而不是正态——一个钟形但有更重的尾的分布(distribution),而它取决于自由度(degrees of freedom)$df=n-1$;随着 $n$ 增长它趋近正态。
词汇表 训练英文 中文 拼音 distribution 分布 fēn bù degrees of freedom 自由度 zì yóu dù 7.2
构建总体均值的置信区间
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.A
Describe $t$-distributions. [Skill 3.C]- VAR-7.A.1 When $s$ is used instead of $\sigma$ to calculate a test statistic, the corresponding distribution, known as the $t$-distribution, varies from the normal distribution in shape, in that more of the area is allocated to the tails of the density curve than in a normal distribution.
- VAR-7.A.2 As the degrees of freedom increase, the area in the tails of a $t$-distribution decreases.
UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.O
Identify an appropriate confidence interval procedure for a population mean, including the mean difference between values in matched pairs. [Skill 1.D]- UNC-4.O.1 Because $\sigma$ is typically not known for distributions of quantitative variables, the appropriate confidence interval procedure for estimating the population mean of one quantitative variable for one sample is a one-sample $t$-interval for a mean.
- UNC-4.O.2 For one quantitative variable, $X$, that is normally distributed, the distribution of $t = \dfrac{(\overline{x} - \mu)}{\frac{s}{\sqrt{n}}}$ is a $t$-distribution with $n-1$ degrees of freedom.
- UNC-4.O.3 Matched pairs can be thought of as one sample of pairs. Once differences between pairs of values are found, inference for confidence intervals proceeds as for a population mean.
UNC-4.P
Verify the conditions for calculating confidence intervals for a population mean, including the mean difference between values in matched pairs. [Skill 4.C]- UNC-4.P.1 In order to calculate confidence intervals to estimate a population mean, we must check for independence and that the sampling distribution is approximately normal:
- a. To check for independence:
- i. Data should be collected using a random sample or a randomized experiment.
- ii. When sampling without replacement, check that $n \leq 10\%N$, where $N$ is the size of the population.
- b. To check that the sampling distribution of $\overline{x}$ is approximately normal (shape):
- i. If the observed distribution is skewed, $n$ should be greater than 30.
- ii. If the sample size is less than 30, the distribution of the sample data should be free from strong skewness and outliers.
- a. To check for independence:
UNC-4.Q
Determine the margin of error for a given sample size for a one-sample $t$-interval. [Skill 3.D]- UNC-4.Q.1 The critical value $t^*$ with $n-1$ degrees of freedom can be found using a table or computer-generated output.
- UNC-4.Q.2 The standard error for a sample mean is given by $SE = \dfrac{s}{\sqrt{n}}$, where $s$ is the sample standard deviation.
- UNC-4.Q.3 For a one-sample $t$-interval for a mean, the margin of error is the critical value ($t^*$) times the standard error ($SE$), which equals $t^*\left(\dfrac{s}{\sqrt{n}}\right)$.
UNC-4.R
Calculate an appropriate confidence interval for a population mean, including the mean difference between values in matched pairs. [Skill 3.D]- UNC-4.R.1 The point estimate for a population mean is the sample mean, $\overline{x}$.
- UNC-4.R.2 For the population mean for one sample with unknown population standard deviation, the confidence interval is $\overline{x} \pm t^* \dfrac{s}{\sqrt{n}}$.
Boundary statement: Formulas for interval estimates do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the relevant standard error formulas that are provided on the formula sheet.
来源:美国大学理事会 AP 课程与考试说明
置信区间的含义 一个对 $\mu$ 的单样本 $t$ 区间:
$$\bar{x}\pm t^{*}\frac{s}{\sqrt{n}}.$$$t^{*}$ 是带 $df=n-1$ 的临界值。条件:随机样本、正态/大样本(总体正态,或由 CLT 的 $n\ge 30$,或一个没有离群值的大致对称样本),以及 10% 条件。在上下文里解释这个区间和置信水平。Worked example. 一个 $n=25$ 的随机样本有 $\bar{x}=50$ 和 $s=8$。对于一个 $95\%$ 区间,$df=24$ 给出 $t^*=2.064$:
$$50\pm2.064\cdot\frac{8}{\sqrt{25}}=50\pm2.064(1.6)=50\pm3.3=(46.7,\ 53.3).$$
t 分布比正态有一个更低的峰和更重的尾 
"95% 信心"描述这个方法,不是一个区间:在许多样本上约 95% 的区间包含 $\mu$ 而约 5% 错过它。 探索Why a t interval is wider than a z interval
A mean interval uses $t^*$, not $1.96$, because $\sigma$ is estimated by $s$. Drag df down and watch $t^*$ grow — at $df=10$ it is $2.228$, and the interval is wider for it. Drag df up and $t^*$ falls back toward $1.96$, which is why large samples may use $z$.
7.3
基于置信区间论证关于总体均值的结论
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.S
Interpret a confidence interval for a population mean, including the mean difference between values in matched pairs. [Skill 4.B]- UNC-4.S.1 A confidence interval for a population mean either contains the population mean or it does not, because each interval is based on data from a random sample, which varies from sample to sample.
- UNC-4.S.2 We are C% confident that the confidence interval for a population mean captures the population mean.
- UNC-4.S.3 An interpretation of a confidence interval for a population mean includes a reference to the sample taken and details about the population it represents.
- Illustrative examples for UNC-4.S.3: For interpreting a 96% confidence interval for mean foot length for all footprints found in a cave based on a particular randomly selected sample of footprints in the cave: "We are 96% confident that the mean foot length for all footprints found in the cave falls within the confidence interval" (based on 2000 FRQ 2).
UNC-4.T
Justify a claim based on a confidence interval for a population mean, including the mean difference between values in matched pairs. [Skill 4.D]- UNC-4.T.1 A confidence interval for a population mean provides an interval of values that may provide sufficient evidence to support a particular claim in context.
UNC-4.U
Identify the relationships between sample size, width of a confidence interval, confidence level, and margin of error for a population mean. [Skill 4.A]- UNC-4.U.1 When all other things remain the same, the width of a confidence interval for a population mean tends to decrease as the sample size increases.
- UNC-4.U.2 For a single mean, the width of the interval is proportional to $\dfrac{1}{\sqrt{n}}$.
- UNC-4.U.3 For a given sample, the width of the confidence interval for a population mean increases as the confidence level increases.
来源:美国大学理事会 AP 课程与考试说明
与比例一样:一个宣称的均值在区间内是可信的;在区间外,数据给出反对它的证据。用这个可信范围在上下文里回答。
7.4
建立总体均值的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.B
Identify an appropriate testing method for a population mean with unknown $\sigma$, including the mean difference between values in matched pairs. [Skill 1.E]- VAR-7.B.1 The appropriate test for a population mean with unknown $\sigma$ is a one-sample $t$-test for a population mean.
- VAR-7.B.2 Matched pairs can be thought of as one sample of pairs. Once differences between pairs of values are found, inference for significance testing proceeds as for a population mean.
VAR-7.C
Identify the null and alternative hypotheses for a population mean with unknown $\sigma$, including the mean difference between values in matched pairs. [Skill 1.F]- VAR-7.C.1 The null hypothesis for a one-sample $t$-test for a population mean is $H_0 : \mu = \mu_0$, where $\mu_0$ is the hypothesized value. Depending upon the situation, the alternative hypothesis is $H_a : \mu < \mu_0$, or $H_a : \mu > \mu_0$, or $H_a : \mu \neq \mu_0$.
- VAR-7.C.2 When finding the mean difference, $\mu_d$, between values in a matched pair, it is important to define the order of subtraction.
VAR-7.D
Verify the conditions for the test for a population mean, including the mean difference between values in matched pairs. [Skill 4.C]- VAR-7.D.1 In order to make statistical inferences when testing a population mean, we must check for independence and that the sampling distribution is approximately normal:
- a. To check for independence:
- i. Data should be collected using a random sample or a randomized experiment.
- ii. When sampling without replacement, check that $n \leq 10\%N$.
- b. To check that the sampling distribution of $\overline{x}$ is approximately normal (shape):
- i. If the observed distribution is skewed, $n$ should be greater than 30.
- ii. If the sample size is less than 30, the distribution of the sample data should be free from strong skewness and outliers.
- a. To check for independence:
来源:美国大学理事会 AP 课程与考试说明
p 值的含义 陈述关于 $\mu$ 的假设:$H_0:\mu=\mu_0$ 对 $H_a:\mu\neq\mu_0$(或 $<,>$)。检查相同的条件。单样本 $t$ 统计量:
$$t=\frac{\bar{x}-\mu_0}{s/\sqrt{n}},\qquad df=n-1.$$Worked example. 对上面的样本($\bar{x}=50$、$s=8$、$n=25$)检验 $H_0:\mu=45$ 对 $H_a:\mu\neq45$:
$$t=\frac{50-45}{8/\sqrt{25}}=\frac{5}{1.6}=3.13,\qquad df=24.$$这个 $t$ 远在尾里(双尾 $p<0.01$),所以拒绝 $H_0$ ——均值不是 $45$ 的强证据。注意 $45$ 也落在 $95\%$ 区间 $(46.7,53.3)$ 之外,由两条路径得到相同的结论。7.5
执行总体均值的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.E
Calculate an appropriate test statistic for a population mean, including the mean difference between values in matched pairs. [Skill 3.E]- VAR-7.E.1 For a single quantitative variable when random sampling with replacement from a population that can be modeled with a normal distribution with mean $\mu$ and standard deviation $\sigma$, the sampling distribution of $t = \dfrac{\overline{x} - \mu}{\frac{s}{\sqrt{n}}}$ has a $t$-distribution with $n - 1$ degrees of freedom.
Boundary statement: The formulas for test statistics do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the relevant standard error formulas that are provided on the formula sheet.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.E
Interpret the $p$-value of a significance test for a population mean, including the mean difference between values in matched pairs. [Skill 4.B]- DAT-3.E.1 An interpretation of the $p$-value of a significance test for a population mean should recognize that the $p$-value is computed by assuming that the null hypothesis is true, i.e., by assuming that the true population mean is equal to the particular value stated in the null hypothesis.
DAT-3.F
Justify a claim about the population based on the results of a significance test for a population mean. [Skill 4.E]- DAT-3.F.1 A formal decision explicitly compares the $p$-value to the significance $\alpha$. If the $p$-value $\leq \alpha$, then reject the null hypothesis, $H_0 : \mu = \mu_0$. If the $p$-value $> \alpha$, then fail to reject the null hypothesis.
- DAT-3.F.2 The results of a significance test for a population mean can serve as the statistical reasoning to support the answer to a research question about the population that was sampled.
来源:美国大学理事会 AP 课程与考试说明
从带 $df=n-1$ 的 $t$ 分布求 $p$ 值、与 $\alpha$ 比较,并在上下文里得出结论——拒绝或未能拒绝 $H_0$,然后陈述那对这个宣称意味着什么。展示检验名称、统计量、$df$ 和 $p$ 值。
探索Read a p-value off the t curve
The p-value is the shaded tail area beyond your $t$ statistic — both tails for a two-tailed $H_a$. The dashed normal curve behind $t$ shows what you would have got by wrongly using $z$: at small df the $t$ tail is visibly fatter, so the true p-value is larger than the normal would suggest.
7.6
两个均值之差的置信区间
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.V
Identify an appropriate confidence interval procedure for a difference of two population means. [Skill 1.D]- UNC-4.V.1 Consider a simple random sample from population 1 of size $n_1$, mean $\mu_1$, and standard deviation $\sigma_1$ and a second simple random sample from population 2 of size $n_2$, mean $\mu_2$, and standard deviation $\sigma_2$. If the distributions of populations 1 and 2 are normal or if both $n_1$ and $n_2$ are greater than 30, then the sampling distribution of the difference of means, $\overline{x}_1 - \overline{x}_2$ is also normal. The mean for the sampling distribution of $\overline{x}_1 - \overline{x}_2$ is $\mu_1 - \mu_2$. The standard deviation of $\overline{x}_1 - \overline{x}_2$ is $\sqrt{\dfrac{(\sigma_1)^2}{n_1} + \dfrac{(\sigma_2)^2}{n_2}}$.
- UNC-4.V.2 The appropriate confidence interval procedure for one quantitative variable for two independent samples is a two-sample $t$-interval for a difference between population means.
UNC-4.W
Verify the conditions to calculate confidence intervals for the difference of two population means. [Skill 4.C]- UNC-4.W.1 In order to calculate confidence intervals to estimate a difference of population means, we must check for independence and that the sampling distribution is approximately normal:
- a. To check for independence:
- i. Data should be collected using two independent, random samples or a randomized experiment.
- ii. When sampling without replacement, check that $n_1 \leq 10\%N_1$ and $n_2 \leq 10\%N_2$.
- b. To check that the sampling distribution of $(\overline{x}_1 - \overline{x}_2)$ should be approximately normal (shape):
- i. If the observed distributions are skewed, both $n_1$ and $n_2$ should be greater than 30.
- a. To check for independence:
UNC-4.X
Determine the margin of error for the difference of two population means. [Skill 3.D]- UNC-4.X.1 For the difference of two sample means, the margin of error is the critical value ($t^*$) times the standard error ($SE$) of the difference of two means.
- UNC-4.X.2 The standard error for the difference in two sample means with sample standard deviations, $s_1$ and $s_2$, is $\sqrt{\dfrac{(s_1)^2}{n_1} + \dfrac{(s_2)^2}{n_2}}$.
UNC-4.Y
Calculate an appropriate confidence interval for a difference of two population means. [Skill 3.D]- UNC-4.Y.1 The point estimate for the difference of two population means is the difference in sample means, $\overline{x}_1 - \overline{x}_2$.
- UNC-4.Y.2 For a difference of two population means where the population standard deviations are not known, the confidence interval is $(\overline{x}_1 - \overline{x}_2) \pm t^* \sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}$ where $\pm t^*$ are the critical values for the central C% of a $t$-distribution with appropriate degrees of freedom that can be found using technology.
Boundary statement: Formulas for interval estimates do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the relevant standard error formulas that are provided on the formula sheet.
来源:美国大学理事会 AP 课程与考试说明
对于独立样本,估计 $\mu_1-\mu_2$:
$$(\bar{x}_1-\bar{x}_2)\pm t^{*}\sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}.$$条件必须在两个样本里成立。(用技术求 $df$;在 AP 考试上不要合并方差。)
随机化支撑两组均值差检验中的公平比较 7.7
基于置信区间论证关于两个均值之差的结论
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.Z
Interpret a confidence interval for a difference of population means. [Skill 4.B]- UNC-4.Z.1 In repeated random sampling with the same sample size, approximately C% of confidence intervals created will capture the difference of population means.
- UNC-4.Z.2 An interpretation for a confidence interval for the difference of two population means should include a reference to the samples taken and details about the populations they represent.
- Illustrative examples for UNC-4.Z.2: For interpreting a confidence interval for a difference between mean response times for two fire stations (northern - southern): "Based on these samples, one can be 95 percent confident that the difference in the population mean response times (northern - southern) is between -2.37 minutes and 0.37 minutes" (2009 FRQ 4).
UNC-4.AA
Justify a claim based on a confidence interval for a difference of population means. [Skill 4.D]- UNC-4.AA.1 A confidence interval for a difference of population means provides an interval of values that may provide sufficient evidence to support a particular claim in context.
UNC-4.AB
Identify the effects of sample size on the width of a confidence interval for the difference of two means. [Skill 4.A]- UNC-4.AB.1 When all other things remain the same, the width of the confidence interval for the difference of two means tends to decrease as the sample sizes increase.
来源:美国大学理事会 AP 课程与考试说明
若 $\mu_1-\mu_2$ 的区间包含 $0$,数据与相等的均值一致;若它排除 $0$,有一个那个方向的差异的证据。在上下文里解释。
7.8
建立两个总体均值之差的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.F
Identify an appropriate selection of a testing method for a difference of two population means. [Skill 1.E]- VAR-7.F.1 For a quantitative variable, the appropriate test for a difference of two population means is a two-sample $t$-test for a difference of two population means.
VAR-7.G
Identify the null and alternative hypotheses for a difference of two population means. [Skill 1.F]- VAR-7.G.1 The null hypothesis for a two-sample $t$-test for a difference of two population means, $\mu_1$ and $\mu_2$, is: $H_0 : \mu_1 - \mu_2 = 0$, or $H_0 : \mu_1 = \mu_2$. The alternative hypothesis is $H_a : \mu_1 - \mu_2 < 0$, or $H_a : \mu_1 - \mu_2 > 0$, or $H_a : \mu_1 - \mu_2 \neq 0$, or $H_a : \mu_1 > \mu_2$, or $H_a : \mu_1 < \mu_2$, or $H_a : \mu_1 \neq \mu_2$.
VAR-7.H
Verify the conditions for the significance test for the difference of two population means. [Skill 4.C]- VAR-7.H.1 In order to make statistical inferences when testing a difference between population means, we must check for independence and that the sampling distribution is approximately normal:
- a. Individual observations should be independent:
- i. Data should be collected using simple random samples or a randomized experiment.
- ii. When sampling without replacement, check that $n_1 \leq 10\%N_1$ and $n_2 \leq 10\%N_2$.
- b. The sampling distribution of $\overline{x}_1 - \overline{x}_2$ should be approximately normal (shape).
- i. If the observed distribution is skewed, both $n_1$ and $n_2$ should be greater than 30.
- ii. If the sample size is less than 30, the distribution of the sample data should be free from strong skewness and outliers. This should be checked for BOTH samples.
- a. Individual observations should be independent:
来源:美国大学理事会 AP 课程与考试说明
假设:$H_0:\mu_1=\mu_2$ 对 $H_a:\mu_1\neq\mu_2$(或 $<,>$)。区分两个独立样本和配对数据(paired data)——对配对数据(前/后、匹配的受试者),先取差并对它们运行一个单样本 $t$ 程序。
词汇表 训练英文 中文 拼音 paired data 配对数据 pèi duì shù jù 7.9
执行两个总体均值之差的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.I
Calculate an appropriate test statistic for a difference of two means. [Skill 3.E]- VAR-7.I.1 For a single quantitative variable, data collected using independent random samples or a randomized experiment from two populations, each of which can be modeled with a normal distribution, the sampling distribution of $t = \dfrac{(\overline{x}_1 - \overline{x}_2) - (\mu_1 - \mu_2)}{\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}}$ is an approximate $t$-distribution with degrees of freedom that can be found using technology. The degrees of freedom fall between the smaller of $n_1 - 1$ and $n_2 - 1$ and $n_1 + n_2 - 2$.
- Illustrative examples for VAR-7.I.1: In a study comparing mean recovery times for two surgical procedures to repair a torn anterior cruciate ligament (ACL), the group receiving one procedure had a sample size of 110, while the group receiving the other procedure had a sample size of 100. The degrees of freedom fall between 100 (the smaller of 110 and 100) and 208 (110 + 100 - 2). The degrees of freedom may be determined using technology. If the test statistic for this study is $t \approx 7.13$, then the $p$-value is the area greater than 7.13 for a $t$-distribution with $df = 207.18$ (2018 FRQ 4).
Boundary statement: The formulas for test statistics do not appear explicitly on the AP Statistics Formula Sheet provided with the AP Statistics Exam. However, these formulas do not need to be memorized, as they can be constructed based on the general test statistic formula and the standard error formulas for each of the relevant test statistics that are provided on the formula sheet.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.G
Interpret the $p$-value of a significance test for a difference of population means. [Skill 4.B]- DAT-3.G.1 An interpretation of the $p$-value of a significance test for a two-sample difference of population means should recognize that the $p$-value is computed by assuming that the null hypothesis is true, i.e., by assuming that the true population means are equal to each other.
DAT-3.H
Justify a claim about the population based on the results of a significance test for a difference of two population means in context. [Skill 4.E]- DAT-3.H.1 A formal decision explicitly compares the $p$-value to the significance $\alpha$. If the $p$-value $\leq \alpha$, then reject the null hypothesis, $H_0 : \mu_1 - \mu_2 = 0$, or $H_0 : \mu_1 = \mu_2$. If the $p$-value $> \alpha$, then fail to reject the null hypothesis.
- DAT-3.H.2 The results of a significance test for a two-sample test for a difference between two population means can serve as the statistical reasoning to support the answer to a research question about the populations that were sampled.
来源:美国大学理事会 AP 课程与考试说明
两样本 $t$ 统计量:
$$t=\frac{(\bar{x}_1-\bar{x}_2)-0}{\sqrt{\frac{s_1^2}{n_1}+\frac{s_2^2}{n_2}}}.$$得到 $p$ 值(用技术求 $df$)、与 $\alpha$ 比较,在上下文里得出结论。7.10
技能聚焦:选择、实施与表达推断方法
大纲
This topic is intended to focus on the skill of selecting an appropriate inference procedure, now that students have a range of options. Students should be given opportunities to practice when and how to apply all learning objectives relating to inference involving proportions or means.
来源:美国大学理事会 AP 课程与考试说明
最难的考试技能是选择正确的程序:一个还是两个样本?比例还是均值?配对还是独立?置信区间还是检验?读题弄清什么被估计或宣称,然后命名程序、检查它的条件、执行它,并用数字和上下文清楚地传达结论。
7.10
考试技巧
- 对均值用 t 程序(总体 $\sigma$ 未知)——t 分布比正态有更重的尾。
- 检查条件:随机、独立,以及大致正态(或大的 $n$)。
- 在上下文里解释一个区间和一个检验,总是系于参数(真均值)。
- 匹配正确的程序:单样本、两样本,或配对(寻找一个自然的配对)。
- 陈述自由度;对一个双样本 $t$ 检验用技术给出的值(或手算时用保守的较小的 $n-1$)。
-
8
分类数据的推断:卡方
8.1
统计学导论:我的结果出乎意料吗?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.J
Identify questions suggested by variation between observed and expected counts in categorical data. [Skill 1.A]- VAR-1.J.1 Variation between what we find and what we expect to find may be random or not.
来源:美国大学理事会 AP 课程与考试说明
当数据是散布在几个类别上的计数(counts)时,我们检验观测计数是否不同于一个宣称预测的。工具是卡方(chi-square)($\chi^2$)统计量,它把观测和期望计数之间的标准化差加起来:
$$\chi^2=\sum \frac{(\text{observed}-\text{expected})^2}{\text{expected}}.$$一个大的 $\chi^2$ 意味着观测计数远离期望——反对这个宣称的证据。卡方分布(chi-square distribution)右偏而取决于它的自由度(degrees of freedom)。词汇表 训练英文 中文 拼音 chi-square 卡方 kǎ fāng degrees of freedom 自由度 zì yóu dù 8.2
建立卡方拟合优度检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-8
The chi-square distribution may be used to model variation.VAR-8.A
Describe chi-square distributions. [Skill 3.C]-
VAR-8.A.1 Expected counts of categorical data are counts consistent with the null hypothesis. In general, an expected count is a sample size times a probability.
The chi-square statistic measures the distance between observed and expected counts relative to expected counts.
Chi-square distributions have positive values and are skewed right. Within a family of density curves, the skew becomes less pronounced with increasing degrees of freedom.
VAR-8.B
Identify the null and alternative hypotheses in a test for a distribution of proportions in a set of categorical data. [Skill 1.F]- VAR-8.B.1 For a chi-square goodness-of-fit test, the null hypothesis specifies null proportions for each category, and the alternative hypothesis is that at least one of these proportions is not as specified in the null hypothesis.
VAR-8.C
Identify an appropriate testing method for a distribution of proportions in a set of categorical data. [Skill 1.E]- VAR-8.C.1 When considering a distribution of proportions for one categorical variable, the appropriate test is the chi-square test for goodness of fit.
VAR-8.D
Calculate expected counts for the chi-square test for goodness of fit. [Skill 3.A]- VAR-8.D.1 Expected counts for a chi-square goodness-of-fit test are (sample size)(null proportion).
VAR-8.E
Verify the conditions for making statistical inferences when testing goodness of fit for a chi-square distribution. [Skill 4.C]- VAR-8.E.1 In order to make statistical inferences for a chi-square test for goodness of fit we must check the following:
- a. To check for independence:
- i. Data should be collected using a random sample or randomized experiment.
- ii. When sampling without replacement, check that $n \leq 10\%N$.
- b. The chi-square test for goodness of fit becomes more accurate with more observations, so large counts should be used (shape).
- i. A conservative check for large counts is that all expected counts should be greater than 5.
- a. To check for independence:
来源:美国大学理事会 AP 课程与考试说明
卡方检验 一个拟合优度(goodness-of-fit,GOF)检验检查一个分类变量是否遵循一个宣称的分布(例如"这个骰子是公平的")。假设:
$$H_0:\text{the distribution is as claimed}\qquad H_a:\text{at least one proportion differs}.$$每个类别的期望计数(expected count)$=n\times(\text{claimed proportion})$。条件:随机样本、所有期望计数 $\ge 5$,以及 10% 条件。
卡方分布右偏。一个大的统计量落在临界值之外的阴影右尾里——那是你拒绝这个模型的地方。 词汇表 训练英文 中文 拼音 goodness-of-fit (GOF) 拟合优度 nǐ hé yōu dù 8.3
执行卡方拟合优度检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-8
The chi-square distribution may be used to model variation.VAR-8.F
Calculate the appropriate statistic for the chi-square test for goodness of fit. [Skill 3.E]- VAR-8.F.1 The test statistic for the chi-square test for goodness of fit is
- Equation: $\chi^2 = \sum \dfrac{(Observed\ count - Expected\ count)^2}{Expected\ count}$, with $degrees\ of\ freedom = number\ of\ categories - 1$.
- VAR-8.F.2 The distribution of the test statistic assuming the null hypothesis is true (null distribution) can be either a randomization distribution or, when a probability model is assumed to be true, a theoretical distribution (chi-square).
VAR-8.G
Determine the $p$-value for chi-square test for goodness of fit significance test. [Skill 3.E]- VAR-8.G.1 The $p$-value for a chi-square test for goodness of fit for a number of degrees of freedom is found using the appropriate table or computer generated output.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.I
Interpret the $p$-value for the chi-square test for goodness of fit. [Skill 4.B]- DAT-3.I.1 An interpretation of the $p$-value for the chi-square test for goodness of fit is the probability, given the null hypothesis and probability model are true, of obtaining a test statistic as, or more, extreme than the observed value.
DAT-3.J
Justify a claim about the population based on the results of a chi-square test for goodness of fit. [Skill 4.E]- DAT-3.J.1 A decision to either reject or fail to reject the null hypothesis is based on comparison of the $p$-value to the significance level, $\alpha$.
- DAT-3.J.2 The results of a chi-square test for goodness of fit can serve as the statistical reasoning to support the answer to a research question about the population that was sampled.
来源:美国大学理事会 AP 课程与考试说明
计算 $\chi^2=\sum\dfrac{(O-E)^2}{E}$ 带 $df=(\text{number of categories})-1$。从卡方分布(上尾)求 $p$ 值、与 $\alpha$ 比较,并在上下文里得出结论。这个和的一个大分量指向偏离最多的类别。

卡方把观测计数与在原假设下期望的那些比较 Worked example. 一个骰子掷 $60$ 次给出计数 $8,10,12,9,11,10$。若它公平,每个期望计数是 $60/6=10$,所以
$$\chi^2=\frac{(8-10)^2}{10}+\frac{(10-10)^2}{10}+\frac{(12-10)^2}{10}+\frac{(9-10)^2}{10}+\frac{(11-10)^2}{10}+\frac{(10-10)^2}{10}=0.4+0+0.4+0.1+0.1+0=1.0,$$带 $df=6-1=5$。要写出每一个类别,包括两个正好等于期望计数、因而加 $0$ 的类别——求和跑遍全部六个类别,而 $df$ 数的是类别数,不是只数有差异的那些。这个 $\chi^2$ 很小(一个大的 $p$ 值),所以我们未能拒绝 $H_0$ ——没有骰子不公平的证据。探索Explore the chi-square distribution and its p-value
The p-value is the area in the right tail beyond your test statistic, so a larger $\chi^2$ means a smaller p-value. Drag $\chi^2$ to watch that area shrink, and drag df to see the whole family change shape — strongly right-skewed at small df, more symmetric as df grows.
8.4
双向表中的期望频数
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-8
The chi-square distribution may be used to model variation.VAR-8.H
Calculate expected counts for two-way tables of categorical data. [Skill 3.A]- VAR-8.H.1 The expected count in a particular cell of a two-way table of categorical data can be calculated using the formula:
- Equation: $expected\ count = \dfrac{(row\ total)(column\ total)}{table\ total}$.
来源:美国大学理事会 AP 课程与考试说明
对于一个双向表,一个单元格里的期望计数(在"没有关联"下)是
$$E=\frac{(\text{row total})\times(\text{column total})}{\text{grand total}}.$$这是若行和列变量无关你会看到的计数。Worked example. 在一个双向表里一个单元格的行总计是 $40$、它的列总计是 $50$,而总计是 $200$。它的期望计数是 $E=\dfrac{40\times50}{200}=10$。对每个单元格重复给出期望表以对照观测的那个比较。

电子表格在卡方检验前整理分类计数 8.5
建立卡方齐性或独立性检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-8
The chi-square distribution may be used to model variation.VAR-8.I
Identify the null and alternative hypotheses for a chi-square test for homogeneity or independence. [Skill 1.F]-
VAR-8.I.1 The appropriate hypotheses for a chi-square test for homogeneity are:
$H_0$: There is no difference in distributions of a categorical variable across populations or treatments.
$H_a$: There is a difference in distributions of a categorical variable across populations or treatments.
-
VAR-8.I.2 The appropriate hypotheses for a chi-square test for independence are:
$H_0$: There is no association between two categorical variables in a given population or the two categorical variables are independent.
$H_a$: Two categorical variables in a population are associated or dependent.
VAR-8.J
Identify an appropriate testing method for comparing distributions in two-way tables of categorical data. [Skill 1.E]- VAR-8.J.1 When comparing distributions to determine whether proportions in each category for categorical data collected from different populations are the same, the appropriate test is the chi-square test for homogeneity.
- VAR-8.J.2 To determine whether row and column variables in a two-way table of categorical data might be associated in the population from which the data were sampled, the appropriate test is the chi-square test for independence.
VAR-8.K
Verify the conditions for making statistical inferences when testing a chi-square distribution for independence or homogeneity. [Skill 4.C]- VAR-8.K.1 In order to make statistical inferences for a chi-square test for two-way tables (homogeneity or independence), we must verify the following:
- a. To check for independence:
- i. For a test for independence: Data should be collected using a simple random sample.
- ii. For a test for homogeneity: Data should be collected using a stratified random sample or randomized experiment.
- iii. When sampling without replacement, check that $n \leq 10\%N$.
- b. The chi-square tests for independence and homogeneity become more accurate with more observations, so large counts should be used (shape).
- i. A conservative check for large counts is that all expected counts should be greater than 5.
- a. To check for independence:
来源:美国大学理事会 AP 课程与考试说明
两个检验用相同的 $\chi^2$ 数学但回答不同的问题:
- 同质性检验(test for homogeneity):一个分类变量的分布是否跨几个总体或组相同(分开的样本/处理)?
- 独立性检验(test for independence):两个分类变量是否在单个总体内关联(一个样本、测量两个变量)?
设计(几个样本对一个样本)决定用哪个名称和假设。
词汇表 训练英文 中文 拼音 Test for homogeneity 同质性 tóng zhì xìng Test for independence 独立性 dú lì xìng 8.6
执行卡方齐性或独立性检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-8
The chi-square distribution may be used to model variation.VAR-8.L
Calculate the appropriate statistic for a chi-square test for homogeneity or independence. [Skill 3.E]- VAR-8.L.1 The appropriate test statistic for a chi-square test for homogeneity or independence is the chi-square statistic:
- Equation: $\chi^2 = \sum \dfrac{(Observed\ count - Expected\ count)^2}{Expected\ count}$, with degrees of freedom equal to: $(number\ of\ rows - 1)(number\ of\ columns - 1)$.
VAR-8.M
Determine the $p$-value for a chi-square significance test for independence or homogeneity. [Skill 3.E]- VAR-8.M.1 The $p$-value for a chi-square test for independence or homogeneity for a number of degrees of freedom is found using the appropriate table or technology.
- VAR-8.M.2 For a test of independence or homogeneity for a two-way table, the $p$-value is the proportion of values in a chi-square distribution with appropriate degrees of freedom that are equal to or larger than the test statistic.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.K
Interpret the $p$-value for the chi-square test for homogeneity or independence. [Skill 4.B]- DAT-3.K.1 An interpretation of the $p$-value for the chi-square test for homogeneity or independence is the probability, given the null hypothesis and probability model are true, of obtaining a test statistic as, or more, extreme than the observed value.
DAT-3.L
Justify a claim about the population based on the results of a chi-square test for homogeneity or independence. [Skill 4.E]- DAT-3.L.1 A decision to either reject or fail to reject the null hypothesis for a chi-square test for homogeneity or independence is based on comparison of the $p$-value to the significance level, $\alpha$.
- DAT-3.L.2 The results of a chi-square test for homogeneity or independence can serve as the statistical reasoning to support the answer to a research question about the population that was sampled (independence) or the populations that were sampled (homogeneity).
来源:美国大学理事会 AP 课程与考试说明
计算期望计数,然后在所有单元格上 $\chi^2=\sum\dfrac{(O-E)^2}{E}$,带
$$df=(\text{rows}-1)(\text{columns}-1).$$条件:随机数据、所有期望计数 $\ge 5$、10% 条件。求 $p$ 值、与 $\alpha$ 比较,并在上下文里得出结论——组之间一个差异(同质性)或一个关联(独立性)的证据。8.7
技能聚焦:为分类数据选择合适的推断方法
大纲
This topic is intended to focus on the skill of selecting an appropriate inference procedure now that students have a range of options. Students should be given opportunities to practice when and how to apply all learning objectives relating to inference for categorical data.
来源:美国大学理事会 AP 课程与考试说明
按设置决定:一个分类变量对照一个宣称的分布 $\Rightarrow$ 拟合优度;一个样本按两个变量交叉分类 $\Rightarrow$ 独立性;比较几个样本/组 $\Rightarrow$ 同质性。只比较两个比例能用一个两比例 $z$ 检验或一个卡方检验,但仅限双尾备择假设,此时两者完全一致($\chi^2=z^2$)。卡方检验总是双尾的,所以它给不出有方向的结论:若 $H_a$ 是单尾的(比如 $p_1>p_2$),要用 $z$ 检验。
探索Which chi-square test is this?
All three tests use the same $\chi^2$ arithmetic, so the marks are won by naming the right one. The design decides — how many samples were taken, and how many variables were measured on each unit.
8.7
考试技巧
- 对分类数据用 $\chi^2=\sum\tfrac{(O-E)^2}{E}$;总是除以期望计数。
- 挑正确的检验:拟合优度(一个变量)、独立性,或同质性(双向表)。
- 把期望计数算作 $\tfrac{\text{row total}\times\text{column total}}{\text{grand total}}$ 并检查每个 $\ge5$。
- 一个大的 $\chi^2$(小 p 值)意味着观测计数比机会更多地不同于期望。
- 正确地陈述自由度(类别 $-1$,或 $(r-1)(c-1)$)。
-
9
定量数据的推断:斜率
9.1
统计学导论:这些点在一条线上吗?
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-1
Given that variation may be random or not, conclusions are uncertain.VAR-1.K
Identify questions suggested by variation in scatter plots. [Skill 1.A]- VAR-1.K.1 Variation in points' positions relative to a theoretical line may be random or non-random.
来源:美国大学理事会 AP 课程与考试说明
一个样本散点图(scatterplot)给出最小二乘回归(regression)线的一个样本斜率(sample slope)$b$ ——但一个不同的样本会给一个略微不同的斜率。所以 $b$ 是一个有抽样变异性(sampling variability)的统计量,估计真(总体)斜率(true (population) slope)$\beta$。这个单元对 $\beta$ 做推断(inference):有一个真实的线性(linear)关系吗,以及它有多强?
词汇表 训练英文 中文 拼音 scatterplot 散点图 sàn diǎn tú sample slope 样本斜率 yàng běn xié lǜ regression 回归 huí guī sampling variability 抽样变异性 chōu yàng biàn yì xìng true (population) slope 总体斜率 zǒng tǐ xié lǜ inference 推断 tuī duàn linear 线性 xiàn xìng 9.2
回归模型斜率的置信区间
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.AC
Identify an appropriate confidence interval procedure for a slope of a regression model. [Skill 1.D]- UNC-4.AC.1 Consider a response variable, $y$, that is linearly related to an explanatory variable, $x$. For a simple random sample of $n$ observations, the sample regression line, $\hat{y} = a + bx$, is an estimate of the population regression line $\mu_y = \alpha + \beta x$. For a particular observation, $(x_i, y_i)$, the residual from the sample regression line, $y_i - \hat{y}_i = y_i - (a + bx_i)$, is an estimate of $y_i - (\alpha + \beta x_i)$, the deviation of the response variable from the population regression line. For all points $(x, y)$ in the population, the standard deviation of all of the deviations of the response variable from the population regression line, $\sigma$, can be estimated by the standard deviation of the residuals from the sample regression line, $s = \sqrt{\dfrac{\sum\left(y_i - \hat{y}_i\right)^2}{n-2}}$. (Note: This formula uses $n-2$ in the denominator instead of $n-1$ because two parameters, $\alpha$ and $\beta$, must be estimated to obtain the predicted values from the least-squares regression line.)
- UNC-4.AC.2 For a simple random sample of $n$ observations, let $b$ represent the slope of a sample regression line. Then the mean of the sampling distribution for $b$ equals the population slope: $\mu_b = \beta$. The standard deviation of the sampling distribution for $b$ is $\sigma_b = \dfrac{\sigma}{\sigma_x \sqrt{n}}$, where $\sigma_x = \sqrt{\dfrac{\sum\left(x_i - \bar{x}\right)^2}{n}}$.
- UNC-4.AC.3 The appropriate confidence interval for the slope of a regression model is a $t$-interval for the slope.
UNC-4.AD
Verify the conditions to calculate confidence intervals for the slope of a regression model. [Skill 4.C]- UNC-4.AD.1 In order to calculate a confidence interval to estimate the slope of a regression line, we must check the following:
- a. The true relationship between $x$ and $y$ is linear. Analysis of residuals may be used to verify linearity.
- b. The standard deviation for $y$, $\sigma_y$, does not vary with $x$. Analysis of residuals may be used to check for approximately equal standard deviations for all $x$.
- c. To check for independence:
- i. Data should be collected using a random sample or a randomized experiment.
- ii. When sampling without replacement, check that $n \le 10\% N$.
- d. For a particular value of $x$, the responses ($y$-values) are approximately normally distributed. Analysis of graphical representations of residuals may be used to check for normality.
- i. If the observed distribution is skewed, $n$ should be greater than 30.
UNC-4.AE
Determine the given margin of error for the slope of a regression model. [Skill 3.D]- UNC-4.AE.1 For the slope of a regression line, the margin of error is the critical value $\left(t^*\right)$ times the standard error ($SE$) of the slope.
- UNC-4.AE.2 The standard error for the slope of a regression line with sample standard deviation, $s$, is $SE = \dfrac{s}{s_x \sqrt{n-1}}$, where $s$ is the estimate of $\sigma$ and $s_x$ is the sample standard deviation of the $x$ values.
UNC-4.AF
Calculate an appropriate confidence interval for the slope of a regression model. [Skill 3.D]- UNC-4.AF.1 The point estimate for the slope of a regression model is the slope of the line of best fit, $b$.
- UNC-4.AF.2 For the slope of a regression model, the interval estimate is $b \pm t^* \left(SE_b\right)$.
来源:美国大学理事会 AP 课程与考试说明
一个对真斜率 $\beta$ 的 $t$ 区间:
$$b\pm t^{*}\,SE_b,\qquad df=n-2,$$其中 $b$ 是样本斜率而 $SE_b$ 它的标准误(standard error)(从计算机输出读)。条件(LINER):真关系是线性的(Linear)、观测独立(Independent)、残差正态(Normal),而残差有相等(Equal)的散布(检查残差图和一个残差的直方图),来自随机(Random)数据。在上下文里、以每单位 $x$ 的 $y$ 的单位解释对 $\beta$ 的区间。
一个随机、无模式的残差图支持这些条件;一条曲线或一个扇形不 残差图(residual plot)是你检查线性和相等散布的地方:你想要零周围一个无形的云。一条曲线意味着关系不是线性的;一个扇形(散布随 $x$ 增长)意味着残差没有相等的散布——两者都破坏一个条件。
Worked example. 回归输出从 $n=20$ 个点给出斜率 $b=2.5$ 带 $SE_b=0.8$。对于一个 $95\%$ 区间,$df=18$ 给出 $t^*=2.101$:
$$2.5\pm2.101(0.8)=2.5\pm1.68=(0.82,\ 4.18).$$因为 $0$ 不在区间里,有一个正线性关系的证据。
斜率推断基于穿过这些点的最小二乘回归线 最小二乘回归:使残差平方和最小的直线 探索Inference for a regression slope
The sample slope varies from sample to sample; a confidence interval and t-test ask whether the true slope could be zero (no linear relationship).
词汇表 训练英文 中文 拼音 residual plot 残差图 cán chà tú 9.3
基于置信区间论证关于回归模型斜率的结论
大纲
Enduring Understanding Learning Objective Essential Knowledge UNC-4
An interval of values should be used to estimate parameters, in order to account for uncertainty.UNC-4.AG
Interpret a confidence interval for the slope of a regression model. [Skill 4.B]- UNC-4.AG.1 In repeated random sampling with the same sample size, approximately C% of confidence intervals created will capture the slope of the regression model, i.e., the true slope of the population regression model.
- UNC-4.AG.2 An interpretation for a confidence interval for the slope of a regression line should include a reference to the sample taken and details about the population it represents.
UNC-4.AH
Justify a claim based on a confidence interval for the slope of a regression model. [Skill 4.D]- UNC-4.AH.1 A confidence interval for the slope of a regression model provides an interval of values that may provide sufficient evidence to support a particular claim in context.
UNC-4.AI
Identify the effects of sample size on the width of a confidence interval for the slope of a regression model. [Skill 4.A]- UNC-4.AI.1 When all other things remain the same, the width of the confidence interval for the slope of a regression model tends to decrease as the sample size increases.
来源:美国大学理事会 AP 课程与考试说明
若 $\beta$ 的置信区间包含 $0$,一个零斜率是可信的——没有一个线性关系的证据。若区间整个为正或负,有一个真实的(正或负)线性关系的证据。在上下文里陈述方向。
9.4
建立回归模型斜率的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.J
Identify the appropriate selection of a testing method for a slope of a regression model. [Skill 1.E]- VAR-7.J.1 The appropriate test for the slope of a regression model is a $t$-test for a slope.
VAR-7.K
Identify appropriate null and alternative hypotheses for a slope of a regression model. [Skill 1.F]- VAR-7.K.1 The null hypothesis for a $t$-test for a slope is: $H_0 : \beta = \beta_0$, where $\beta_0$ is the hypothesized value from the null hypothesis. The alternative hypothesis is $H_0 : \beta < \beta_0$ or $H_0 : \beta > \beta_0$, or $H_0 : \beta \neq \beta_0$.
VAR-7.L
Verify the conditions for the significance test for the slope of a regression model. [Skill 4.C]- VAR-7.L.1 In order to make statistical inferences when testing for the slope of a regression model, we must check the following:
- a. The true relationship between $x$ and $y$ is linear. Analysis of residuals may be used to verify linearity.
- b. The standard deviation for $y$, $\sigma_y$, does not vary with $x$. Analysis of residuals may be used to check for approximately equal standard deviations for all $x$.
- c. To check for independence:
- i. Data should be collected using a random sample or a randomized experiment.
- ii. When sampling without replacement, check that $n \le 10\% N$.
- d. For a particular value of $x$, the responses ($y$-values) are approximately normally distributed. Analysis of graphical representations of residuals may be used to check for normality.
- i. If the observed distribution is skewed, $n$ should be greater than 30.
- ii. If the sample size is less than 30, the distribution of the sample data should be free from strong skewness and outliers.
来源:美国大学理事会 AP 课程与考试说明
通常的检验问是否有任何线性关系:
$$H_0:\beta=0 \quad(\text{no linear relationship})\qquad H_a:\beta\neq 0 \ (\text{or } <,\,>).$$检查 LINER 条件。这是一个对斜率的 $t$ 检验。
在信任斜率置信区间或检验前先检查残差图 9.5
执行回归模型斜率的检验
大纲
Enduring Understanding Learning Objective Essential Knowledge VAR-7
The $t$-distribution may be used to model variation.VAR-7.M
Calculate an appropriate test statistic for the slope of a regression model. [Skill 3.E]- VAR-7.M.1 The distribution of the slope of a regression model assuming all conditions are satisfied and the null hypothesis is true (null distribution) is a $t$-distribution.
- VAR-7.M.2 For simple linear regression when random sampling from a population for the response that can be modeled with a normal distribution for each value of the explanatory variable, the sampling distribution of $t = \dfrac{b - \beta}{SE_b}$ has a $t$-distribution with degrees of freedom equal to $n - 2$. When testing the slope in a simple linear regression model with one parameter, the slope, the test for the slope has $df = n - 1$.
DAT-3
Significance testing allows us to make decisions about hypotheses within a particular context.DAT-3.M
Interpret the $p$-value of a significance test for the slope of a regression model. [Skill 4.B]- DAT-3.M.1 An interpretation of the $p$-value of a significance test for the slope of a regression model should recognize that the $p$-value is computed by assuming that the null hypothesis is true, i.e., by assuming that the true population slope is equal to the particular value stated in the null hypothesis.
DAT-3.N
Justify a claim about the population based on the results of a significance test for the slope of a regression model. [Skill 4.E]- DAT-3.N.1 A formal decision explicitly compares the $p$-value to the significance $\alpha$. If the $p$-value $\le \alpha$, then reject the null hypothesis, $H_0 : \beta = \beta_0$. If the $p$-value $> \alpha$, then fail to reject the null hypothesis.
- DAT-3.N.2 The results of a significance test for the slope of a regression model can serve as the statistical reasoning to support the answer to a research question about that sample.
来源:美国大学理事会 AP 课程与考试说明
斜率 $t$ 统计量:
$$t=\frac{b-0}{SE_b},\qquad df=n-2.$$$b$ 和 $SE_b$ 都直接来自回归输出。从 $t$ 分布求 $p$ 值、与 $\alpha$ 比较,并在上下文里得出结论——两个变量之间一个线性关系的证据(或没有)。注意尾数。 回归输出打印的总是双尾 $p$ 值(对应 $H_a:\beta\neq 0$)。若你的 $H_a$ 是单尾的,要把它减半——并且先检查样本斜率确实指向 $H_a$ 声称的方向;若指向相反,单尾 $p$ 值大于 $0.5$,你不能拒绝 $H_0$。
Worked example. 对于相同的输出($b=2.5$、$SE_b=0.8$、$n=20$),检验 $H_0:\beta=0$:
$$t=\frac{2.5-0}{0.8}=3.13,\qquad df=18,$$一个小的 $p$ 值($<0.01$),所以拒绝 $H_0$ ——一个线性关系的令人信服的证据。这与区间匹配,它排除了 $0$。9.6
技能聚焦:选择合适的推断方法
大纲
This topic is intended to focus on the skill of selecting an appropriate inference procedure now that students have a range of options. Students should be given opportunities to practice when and how to apply all learning objectives relating to inference.
来源:美国大学理事会 AP 课程与考试说明
跨全部推断,辨认:什么被估计或宣称(一个比例、一个均值、一个差异、一个计数的分布,或一个斜率)、多少个样本,以及哪个设计(独立或配对;样本或实验)。然后命名程序、验证它的条件、执行它,并用统计量、$p$ 值或区间,以及一个上下文里的平白语言答案传达结论。这个选择-与-传达技能正是调查性任务问题最奖励的。
9.6
考试技巧
- 对一个斜率的推断检验真斜率是否为 $0$(没有线性关系)。
- 若一个斜率的置信区间包含 0,你不能得出一个真实线性关系的结论——两个变量仍可能以弯曲的方式相关。
- 直接从计算机输出读斜率、标准误、t 统计量和 p 值——但打印的 p 值是双尾的,对单尾 $H_a$ 要减半。
- 通过残差图检查回归条件(线性、独立、大致正态的残差、相等的散布)。
- 在上下文里解释区间和检验,系于真斜率。