コンテンツへスキップ

単変量データの探索

AP Statisticsトピック 1

查看幻灯片 練習する
このトピックのビデオレッスン 動画ページを開く
9:03

単変量データの探索

同じものを20回測定しても、20回の結果がすべて一致するとは限りません。20人の学生が同じ机を測りましたが、値は異なりました。これは…ではありません。

英語のナレーション・英語と中国語の字幕を切り替え可能

1.1

統計学入門:データから何を学べるか?

シラバス

長期的理解(VAR-1): ばらつきがランダムである場合でもそうでない場合でも、結論には不確実性が伴う。

学習目標 VAR-1.A: 単一変数データのばらつきに基づいて、答えたい問いを特定せよ。[スキル 1.A]

  • VAR-1.A.1 数値は、文脈に置かれることで意味のある情報を伝えることができる。

出典: College Board AP コースおよび試験説明書

English

Two companies both offer you a first job at $\$36{,}000$ a year. One has a higher median salary; the other has a few very high salaries and a wider spread. Which offer is better for you? A single number cannot say. To answer, you need the whole distribution, described with the right summaries and in context. That is what this unit teaches.

Statistics 统计学 is the science of learning from data 数据 – numbers or labels collected from the real world. Data vary, so we describe patterns and account for the variation 变异 rather than expecting every value to match. A statistical question anticipates an answer based on data that vary. A number on its own means little: "$42$" is meaningless, but "$42\%$ of students in the sample walk to school" carries information because it has context.

Two distinctions run through the whole course. A parameter 参数 is a numerical summary of a whole population; a statistic 统计量 is a numerical summary of a sample - we use the statistic to estimate the parameter we cannot measure directly. And descriptive statistics 描述统计学 only summarise the data set in hand, while inferential statistics 推断统计 use a sample to make and test claims about the larger population.

Statistics answers questions by collecting, analysing and interpreting data
Statistics answers questions by collecting, analysing and interpreting data
探索

変動するデータ

値にわたって広がる実際のデータ — 統計学はその変動の中にパターンを見つける。

English 日本語
Statistics/stəˈtɪstɪks/ 統計学
data/ˈdeɪtə/ データ
variation/ˌveərɪˈeɪʃn/ 変動
parameter/pəˈræmɪtə/ パラメータ
statistic/stəˈtɪstɪk/ 統計量
descriptive statistics/dɪˈskrɪptɪv stəˈtɪstɪks/ 記述統計
inferential statistics/ɪnfəˈrenʃl stəˈtɪstɪks/ 推論統計
1.2

変動の言語:変数

シラバス

長期的理解(VAR-1): ばらつきがランダムである場合でもそうでない場合でも、結論には不確実性が伴う。

学習目標 VAR-1.B: データセットの変数を特定せよ。[スキル 2.A]

  • VAR-1.B.1 変数とは、一人から別の一人へと変化 characteristic である。

学習目標 VAR-1.C: 変数の種類を分類せよ。[スキル 2.A]

  • VAR-1.C.1 質的変数は、カテゴリ名やグループラベルとなる値をとる。
  • VAR-1.C.2 量的変数は、測定またはカウントされた数量に対して数値的な値をとる変数である。
    • *VAR-1.Cの例示:
      • 質的変数:
        • 利き手
        • 年齢層(若年者または高齢者)
        • 取得した最高学位
      • 定量的変数:
        • 構造物の年齢
        • 子供の身長
        • サンプルの濃度

出典: College Board AP コースおよび試験説明書

English

A variable 变量 is a characteristic that can differ between individuals. Two kinds:

A large crowd of people
Every person in a crowd differs in height, age and much else: statistics starts from that variation
  • Categorical 分类 (qualitative): values are labels/groups (eye colour, brand).
  • Quantitative 定量: values are numbers you can do arithmetic on (height, age). Quantitative variables are discrete (countable) or continuous (measured).

Choosing the right graph and summary depends on which kind you have.

Categorical variables sort cases into groups; quantitative variables are numbers you can average
Categorical variables sort cases into groups; quantitative variables are numbers you can average
探索

カテゴリー型か定量的か?

変数は質的変数(単位をグループで識別するもの)か量的変数(平均を取れる測定値)のいずれかです。この種類によって、使用可能なグラフや要約方法が決まります。

English 日本語
variable/ˈveərɪəbl/ 変数
Categorical/ˌkætɪˈɡɒrɪkl/ カテゴリー
Quantitative/ˈkwɒntɪteɪtɪv/ 定量
1.3

カテゴリー型変数を表で表現する

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.A: 頻度表または相対頻度表を用いてカテゴリカルデータを表現する。[スキル 2.B]

  • UNC-1.A.1 頻度表は、各カテゴリに分類される事象の数を示す。相対頻度表は、各カテゴリに分類される事象の割合を示す。

学習目標 UNC-1.B: 頻度表または相対頻度表で表現されたカテゴリカルデータを説明する。[スキル 2.A]

  • UNC-1.B.1 パーセンテージ、相対頻度、率はいずれも、割合と同じ情報を提供する。
  • UNC-1.B.2 カテゴリカルデータの個数と相対頻度は、文脈におけるデータに関する主張を正当化するために使用できる情報を明らかにする。

出典: College Board AP コースおよび試験説明書

English

A frequency table 频数表 lists each category's count (frequency); a relative frequency 相对频率 table lists each category's proportion 比例 (count ÷ total). Relative frequencies let you compare groups of different sizes fairly. A proportion, a percentage and a rate all say the same thing: $30$ out of $200$ is $0.15$, $15\%$, or a rate of $150$ per $1000$.

Worked example. In a survey, $36$ of $120$ juniors and $45$ of $200$ seniors said they drive to school. More seniors drive ($45>36$), but that is only because more seniors were asked. Compare proportions: $36/120=0.30$ for juniors and $45/200=0.225$ for seniors. A higher proportion of juniors drive.

A frequency table lists counts; relative frequency is each count divided by the total
A frequency table lists counts; relative frequency is each count divided by the total
探索

全体に対する割合

相対頻度は、各カテゴリーが全体に占める割合であり、これは周波数表の円グラフで正確に示されるものです。

English 日本語
frequency table/ˈfriːkwənsi ˈteɪbl/ 頻数表
relative frequency/ˈrelətɪv ˈfriːkwənsi/ 相対頻度
proportion/prəˈpɔːʃn/ 比率
1.4

グラフによるカテゴリカル変数の表現

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.C: グラフを用いてカテゴリカルデータを表現する。[スキル 2.B]

  • UNC-1.C.1 棒グラフ(またはバーチャート)は、カテゴリカルデータの頻度(個数)または相対頻度(割合)を表示するために用いられる。
  • UNC-1.C.2 棒グラフの各棒の高さまたは長さは、各カテゴリに含まれる観察値の数または割合に対応する。
  • UNC-1.C.3 カテゴリカルデータの頻度(個数)または相対頻度(割合)を表現する方法には、他に多数存在する。

学習目標 UNC-1.D: グラフで表現されたカテゴリカルデータを説明する。[スキル 2.A]

  • UNC-1.D.1 カテゴリカル変数のグラフ表現は、文脈におけるデータに関する主張を正当化するために使用できる情報を明らかにする。

学習目標 UNC-1.E: 複数のカテゴリカルデータのセットを比較する。[スキル 2.D]

  • UNC-1.E.1 頻度表、棒グラフ、または他の表現方法を用いて、同じカテゴリカル変数について2つ以上のデータセットを比較することができる。

出典: College Board AP コースおよび試験説明書

English

Bar charts 条形图 show the count or proportion of each category as separated bars; a pie chart shows each category's share of the whole. The bar heights (or slices) let you compare categories at a glance. Bars may be ordered by size or by a natural category order. On a bar chart the bars do not touch, and the order of the categories carries no meaning unless the categories have a natural order.

To compare two or more groups on the same categorical variable, use relative frequencies, not counts. A side-by-side bar graph 并列条形图 puts each group's bars next to each other. A segmented bar graph 分段条形图 gives each group one bar of height $1$ ($100\%$), divided into segments for the categories. If the segments are about the same size in every bar, the distribution of the variable is similar across the groups.

The same data as a bar chart and as a pie chart
The same data as a bar chart and as a pie chart
探索

質的変数を円グラフで表示する

円グラフは全体のうち各カテゴリーの割合をスライスに変換します。割合が大きいほどスライスの大きさも大きくなり、すべてのスライスを合わせると100%になります。これは相対頻度表の視覚的な表現です。

English 日本語
Bar charts/bɑː tʃɑːts/ 棒グラフ
side-by-side bar graph/saɪd baɪ saɪd bɑː ɡræf/ 並列棒グラフ
segmented bar graph/seɡˈmentɪd bɑː ɡræf/ 積み上げ棒グラフ
1.5

グラフによる定量的変数の表現

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.F: 定量的変数の種類を分類する。[スキル 2.A]

  • UNC-1.F.1 離散変数は、数えられる数の値をとることができる。その値の数は有限である場合や、自然数のように数え无穷大である場合がある。
  • UNC-1.F.2 連続変数は無限多くの値をとるが、それらの値は数えることができない。連続変数の2つの値間の間隔がいかに小さくても、その間に別の値を特定することは常に可能である。
    • UNC-1.F の例示:
      • 離散変数:
        • クラス内の生徒数
      • 連続変数:
        • 子供の身長

学習目標 UNC-1.G: グラフを用いて定量的データを表現する。[スキル 2.B]

  • UNC-1.G.1 ヒストグラムにおいて、各棒の高さは、その棒に対応する区間に含まれる観察値の数または割合を示す。区間の幅を変えるとヒストグラムの外見が変わることがある。
  • UNC-1.G.2 ステム&リーフプロットでは、各データ値は「stem」(最初の桁または桁の組み合わせ)と「leaf」(通常は最後の桁)に分割される。
  • UNC-1.G.3 ドットプロットでは、各観察値を点で表し、水平軸上の位置はその観察値のデータ値に対応させ、ほぼ同じ値は積み重ねて表示する。
  • UNC-1.G.4 累積グラフは、与えられた数以下にあるデータセットの数または割合を表す。
  • UNC-1.G.5 定量的データの分布をグラフで表現する方法には、他に多数存在する。

出典: College Board AP コースおよび試験説明書

English

For numbers, use a dotplot 点图, stem-and-leaf plot 茎叶图, or histogram 直方图 (bars over value intervals called bins). These show the distribution 分布 – how the values spread out. A histogram's bin width changes the picture, so choose it to reveal the shape.

A discrete 离散 variable takes countable values, such as the number of siblings ($0,1,2,\dots$). A continuous 连续 variable can take any value in an interval, such as a time or a mass: between any two values there is always another. A dotplot places one dot per observation above a number line, stacking equal values. A stem-and-leaf plot splits each value into a stem (leading digits) and a leaf (last digit), so it keeps every data value: the stem $4$ with leaves $2\,5\,5\,8$ stands for $42, 45, 45, 48$. A cumulative graph plots the proportion of values at or below each value (see below).

On a histogram with unequal class widths the bar area is the frequency
On a histogram with unequal class widths the bar area is the frequency
探索

ビン幅がヒストグラムの形状に与える影響を調べる

ヒストグラムはデータを等幅のビンに分類し、各ビンの上に棒を描きます。ビンを変更すると、同じデータでもギザギザ(ビンが狭すぎる場合)や滑らか(ビンが広すぎる場合)に見え方が変わり、形状は選択によるものです。

English 日本語
dotplot/ˈdɒtplɒt/ ドットプロット
stem-and-leaf plot/stem ænd liːf plɒt/ 茎葉図
histogram/ˈhɪstəɡræm/ ヒストグラム
distribution/ˌdɪstrɪˈbjuːʃn/ 分布
discrete/dɪˈskriːt/ 離散
continuous/kənˈtɪnjuːəs/ 連続
1.6

定量的変数の分布の説明

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.H: 定量的データの分布の特徴を説明する。[スキル 2.A]

  • UNC-1.H.1 定量的データの分布の説明には、形状、中心、ばらつき(spread)、および外れ値、ギャップ、クラスター、または複数の山などの異常な特徴が含まれる。
  • UNC-1.H.2 単一変数データの外れ値とは、他のデータに対して異常に小さいまたは大きいデータポイントである。
  • UNC-1.H.3 分布の右側尾が左側尾より長い場合、分布は右に歪んでいる(正の歪み)。左側尾が右側尾より長い場合、分布は左に歪んでいる(負の歪み)。左半分が右半分の鏡像である場合、分布は対称である。
  • UNC-1.H.4 単一の主要な山を持つ一変数グラフは単峰分布と呼ばれる。2つの明確な山を持つグラフは双峰分布である。各棒の高さがほぼ同じ(明確な山がない)グラフは概ね均一分布である。
  • UNC-1.H.5 ギャップとは、2つのデータ値の間で観測されたデータが存在しない分布の領域である。
  • UNC-1.H.6 クラスターとは、通常ギャップによって分離されているデータの集中部である。
  • UNC-1.H.7 記述統計は、データセットの特性をより大きな母集団に帰属させるものではないが、後続の検定のための推論の基礎を提供することがある。

出典: College Board AP コースおよび試験説明書

English

Describe four things (remember SOCS):

  • Shape 形状: symmetric, or skewed 偏斜 left/right (a long tail on that side), and how many peaks - one main peak is unimodal 单峰, two prominent peaks bimodal 双峰, and roughly equal bars uniform 均匀.
  • Outliers 离群值: unusual values far from the rest.
  • Center: a typical value (mean or median).
  • Spread: how much the values vary (range, IQR, standard deviation).

Always describe shape/center/spread in context, with units.

Common mistakes. Naming skew by the peak instead of the tail: a long tail to the left is skewed left, even though most values pile up on the right. Writing “the data are normal” from a histogram: say “roughly symmetric and unimodal”, because real data are only ever approximately normal. Leaving out context: “the median is $7$” earns less than “the median commute is $7$ minutes”.

Also look for gaps (stretches of the number line with no data) and clusters (groups of values separated by gaps). These often show that the data mix two kinds of individuals.

Worked example (describing a distribution). A dotplot shows the tips one waiter received on one day: the minimum is $\$2$, the median is $\$4$, most tips are between $\$2$ and $\$6$, and a long right tail ends at one tip of $\$18$. A full answer: "The distribution of tip amounts is skewed right, with a median of about $\$4$. Most tips lie between $\$2$ and $\$6$ (a range of about $\$16$ including the high tip). The $\$18$ tip appears to be an outlier." It names the shape, the centre, the spread and the unusual feature, all with units. A description like this is descriptive only: it is about this waiter's tips on this day, not every day.

The shape of a distribution: symmetric, skewed right (long right tail), or skewed left
The shape of a distribution: symmetric, skewed right (long right tail), or skewed left
探索

形状を読む

片側に長いテールがある場合、分布はその方向に歪んでいます——歪みはテールの方向によって名付けられます。

English 日本語
Shape/ʃeɪp/ 形状
skewed/skjuːd/ 歪み
unimodal/ˌʌnɪˈmɒdl/ 単峰性
bimodal/baɪˈmɒdl/ 二峰性
uniform/ˈjuːnɪfɔːm/ 均一
Outliers/ˈaʊtlaɪəz/ 外れ値
1.7

定量的変数の要約統計量

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.I: 定量的データの中心と位置の尺度を計算する。[スキル 2.C]

  • UNC-1.I.1 統計量は、サンプルデータの数値的な要約である。
  • UNC-1.I.2 平均値は、すべてのデータ値の和を値の数で割ったものである。標本における平均値は $x$-bar: $\bar{x} = \dfrac{1}{n}\sum_{i=1}^{n} x_i$ で表され、ここで $x_i$ は標本内の $i^{\text{th}}$ 番目のデータ点を表し、$n$ は標本内のデータ値の数を表す。
  • UNC-1.I.3 データセットの中央値(メジアン)は、データを並べ替えたときの真ん中の値である。データ点の数が偶数の場合、中央値は2つの真ん中の値の間にある任意の値をとることができる。AP統計学では、偶数個の値を持つデータセットの中央値として最も一般的に用いられるのは、2つの真ん中の値の平均値である。
  • UNC-1.I.4 第1四分位数 Q1 は、最小値から中央値の位置までの並べ替えられたデータセットの半分に対する中央値である。第3四分位数 Q3 は、中央値の位置から最大値までの並べ替えられたデータセットの半分に対する中央値である。Q1 と Q3 は、並べ替えられたデータセットの中央50%の値の境界線を形成する。
  • UNC-1.I.5 $p^{\text{th}}$ パーセンタイルは、データの $p\%$ がそれ以下となる値として解釈される。

学習目標 UNC-1.J: 定量データのばらつきの尺度を計算する。[スキル 2.C]

  • UNC-1.J.1 分布におけるばらつき(または広がり)の尺度としてよく使われるものは、極差、四分位範囲、標準偏差の3つである。
  • UNC-1.J.2 全範囲は、最大データ値と最小データ値の差として定義される。四分位範囲(IQR)は、第3四分位数と第1四分位数の差として定義される:$Q3 - Q1$。全範囲と四分位範囲は、定量変数の分布のばらつきの測定方法として両方可能である。
  • UNC-1.J.3 標準偏差は、定量変数の分布のばらつきを測る方法である。標本における標準偏差は $s$: $s_x = \sqrt{\dfrac{1}{n-1}\sum(x_i - \bar{x})^2}$ で表される。標本標準偏差の二乗 $s^2$ は、標本分散と呼ばれる。
  • UNC-1.J.4 測定単位の変更は、計算された統計量の値に影響を与える。

学習目標 UNC-1.K: 定量データセットを記述するために特定の中心尺度および/またはばらつきの尺度を選択する理由を説明する。[スキル 4.B]

  • UNC-1.K.1 外れ値を特定する方法は多様である。このコースで頻繁に使用される2つの方法は以下の通りである:
    • UNC-1.K.1.i 外れ値とは、第3四分位数より $1.5 \times \text{IQR}$ 大きい値か、第1四分位数より $1.5 \times \text{IQR}$ 小さい値のことである。
    • UNC-1.K.1.ii 外れ値とは、平均値より標準偏差2以上上にあるか、下にある値のことである。
  • UNC-1.K.2 平均値、標準偏差、極差は、外れ値の影響を受けやすい(非耐性、または非頑健)と考えられている。一方、中央値とIQRは、外れ値がその値に大きく影響しない(もし影響するなら極めて僅か)ため、耐性(または頑健)な尺度と考えられている。

出典: College Board AP コースおよび試験説明書

English
Standard deviation: spread about the mean
  • Center: the mean 均值 $\boxed{\bar{x}=\dfrac{\sum x_i}{n}}$ (average) and the median 中位数 (middle value). The median resists outliers; the mean is pulled toward a skew.
  • Spread: the range, the interquartile range 四分位距 $\boxed{\text{IQR}=Q_3-Q_1}$ (middle 50%), and the standard deviation 标准差 $\boxed{s_x=\sqrt{\dfrac{\sum(x_i-\bar{x})^2}{n-1}}}$ (typical distance from the mean; its square is the variance 方差).
  • The five-number summary 五数概括: min, $Q_1$, median, $Q_3$, max.

Use resistant measures (median, IQR) for skewed data; mean and standard deviation for roughly symmetric data. With an even number of values, the median is the mean of the two middle values.

What changes when one value changes? Suppose the largest tip in a set was $\$8$ and is changed to $\$18$. The mean goes up by $\$10/n$, and the standard deviation increases as this largest value moves farther from the others. The median and IQR stay unchanged only if the changed value does not enter their calculations; being above the median alone does not guarantee an unchanged upper quartile. The mean, standard deviation and range are nonresistant: an extreme value can move them.

Changing units. Adding the same constant to every value (for example, $+5$ points to every test score) shifts the mean, median and quartiles by that constant, but leaves the range, IQR and standard deviation unchanged. Multiplying every value by a positive constant (for example, converting metres to centimetres, $\times100$) multiplies all of them: the centre and the spread.

Worked example (combining groups). At one school, $200$ teachers have a mean of $9.1$ years' experience, and $18$ more teachers have a mean of $2.5$ years. The mean for all $218$ is not the mean of $9.1$ and $2.5$; weight each group by its size:

$$\bar x=\frac{200(9.1)+18(2.5)}{218}=\frac{1820+45}{218}=8.56\ \text{years}.$$

The percentile 百分位数 of a value is the percent of the data at or below it – so the median is the 50th percentile and $Q_1$ the 25th. A cumulative relative frequency graph 累积相对频率图 makes percentiles easy to read: for each value it plots the proportion of the data at or below it, rising from 0 to 1. Go up from a value to the curve and across to its percentile, or reverse the steps to find the value at a given percentile (the same reading works from a cumulative-frequency table).

Worked example. For the data $4, 8, 6, 10, 7$: the mean is $\bar{x}=\dfrac{4+8+6+10+7}{5}=\dfrac{35}{5}=7$. Sorting to $4,6,7,8,10$, the median is the middle value, $7$. The mean and median agree here because the data are roughly symmetric.

Worked example: standard deviation. For the same data, $\bar x=7$. Work in a table: each deviation from the mean, then its square.

$x_i$ $4$ $6$ $7$ $8$ $10$
$x_i-\bar x$ $-3$ $-1$ $0$ $1$ $3$
$(x_i-\bar x)^2$ $9$ $1$ $0$ $1$ $9$

The squares add to $20$. Divide by $n-1=4$, not by $n$, then take the square root:

$$s_x=\sqrt{\frac{\sum(x_i-\bar x)^2}{n-1}}=\sqrt{\frac{20}{4}}=\sqrt5\approx 2.24.$$

Interpretation: a typical value is about $2.24$ away from the mean of $7$. The deviations always add to $0$ (here $-3-1+0+1+3=0$), which is why they are squared first.

Common mistakes. Dividing by $n=5$ instead of $n-1=4$ (that gives $\sqrt4=2$, not $2.24$); stopping at the variance, $5$, and reporting it as the standard deviation; and describing $s_x$ as a distance from the median, or as the largest distance from the mean, instead of a typical distance from the mean.

探索

データの中心とばらつき

平均値と中央値が中心を示し、範囲、IQR、標準偏差がばらつきを測定します。

English 日本語
mean/miːn/ 平均
median/ˈmiːdiːən/ 中央値
interquartile range/ˌɪntəˈkwɔːtaɪl reɪndʒ/ 四分位範囲
standard deviation/ˈstændəd ˌdiːvɪˈeɪʃn/ 標準偏差
variance/ˈveərɪəns/ 分散
five-number summary/faɪv ˈnʌmbə ˈsʌməri/ 五数要約
percentile/pəˈsentaɪl/ 百分位数
cumulative relative frequency graph/ˈkjuːmjʊlətɪv ˈrelətɪv ˈfriːkwənsi ɡræf/ 累積相対頻度図
1.8

要約統計量の視覚的表現

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.L: 定量データの要約統計量をグラフで表現する。[スキル 2.B]

  • UNC-1.L.1 最小データ値、第1四分位数(Q1)、中央値、第3四分位数(Q3)、最大データ値を合わせて、5個要約(five-number summary)という。
  • UNC-1.L.2 ボックスプロットは、5個要約(最小値、第1四分位数、中央値、第3四分位数、最大値)のグラフによる表現である。ボックスは中央50%のデータを表し、中央値に線が引かれ、ボックスの端は四分位数に対応している。Box の端から外れ値ではない最も極端な点まで線(「ひげ」)が伸びており、外れ値はその先の独自の記号で示される。

学習目標 UNC-1.M: グラフで表現された定量データの要約統計量を記述する。[スキル 2.A]

  • UNC-1.M.1 定量データ、あるいは定量データの集合の要約統計量は、文脈におけるデータに関する主張を裏付けるために使用できる。
  • UNC-1.M.2 分布が比較的対称的な場合、平均値と中央値は互いに比較的近い位置にある。分布が右に歪んでいる場合、平均値は通常中央値の右側にある。分布が左に歪んでいる場合、平均値は通常中央値の左側にある。

出典: College Board AP コースおよび試験説明書

English

A boxplot 箱线图 draws the five-number summary: a box from $Q_1$ to $Q_3$ with the median inside, and whiskers to the most extreme non-outlier values. A point is an outlier if it lies more than $1.5\times\text{IQR}$ beyond a quartile – a rule you may be asked to apply. Boxplots are ideal for comparing several groups side by side.

Worked example. A dataset has $Q_1=20$ and $Q_3=32$, so $\text{IQR}=12$. The outlier fences are $Q_1-1.5(12)=2$ and $Q_3+1.5(12)=50$. Any value below $2$ or above $50$ is flagged as an outlier.

A second rule, also used in this course, flags a value that is 2 or more standard deviations from the mean. The two rules can disagree. In a strongly skewed data set the standard deviation is inflated by the long tail, so the $1.5\times\text{IQR}$ rule usually flags more points. If a question asks which rule identifies a value as an outlier, compute both fences and check.

Mean, median and shape. In a roughly symmetric distribution the mean and median are close together. In a right-skewed distribution the mean is usually to the right of (greater than) the median; in a left-skewed distribution, to the left.

What a boxplot hides. A boxplot summarises quartiles and extremes, with outliers shown separately. It cannot show peaks, gaps or clusters, so two very different distributions can have the same boxplot.

A histogram of room sizes in a residence hall with two clear peaks, one near 150 and one near 250 square feet, separated by a gap. Below it, the boxplot of the same data: one wide box from about 148 to 250 with whiskers from 115 to 283, showing no sign of the two peaks
The histogram shows two clusters and a gap; the boxplot of the same data hides them

Common mistakes. Building the fences from the range instead of the IQR; adding $1.5\times\text{IQR}$ to the median instead of to the quartiles; and drawing a whisker out to the fence ($50$) instead of to the largest value that is not an outlier.

A box-and-whisker plot shows the quartiles and the range
A box-and-whisker plot shows the quartiles and the range
A boxplot draws the five-number summary; the box spans the IQR
A boxplot draws the five-number summary; the box spans the IQR
探索

5数要約を箱ひげ図として調べる

$Q_1$、中央値、および$Q_3$をドラッグして、箱(その長さはIQR)を確認します。また、箱内の中央値の位置から歪みを見取ることができます。中央値が$Q_1$に近い場合、右に歪んだ分布を示しています。

English 日本語
boxplot/ˈbɒksplɒt/ 箱ひげ図
1.9

定量変数の分布の比較

シラバス

永続的理解 (UNC-1): グラフや統計は、データの主要な特徴を特定・表現するために用いられる。

学習目標 UNC-1.N: 複数の定量データセットに対して、グラフによる表現を比較する。[スキル 2.D]

  • UNC-1.N.1 ヒストグラム、横並びボックスプロットなど、どのグラフ表現でも、中心、ばらつき、クラスター、ギャップ、外れ値、その他の特徴について、2つ以上の独立したサンプルを比較することができる。

学習目標 UNC-1.O: 複数の定量データセットの要約統計量を比較する。[スキル 2.D]

  • UNC-1.O.1 平均値、標準偏差、相対頻度などのいずれかの数値要約を用いて、2つ以上の独立したサンプルを比較することができる。

出典: College Board AP コースおよび試験説明書

English

To compare two or more groups, compare shape, center, and spread, and mention outliers – always with comparative words ("Group A has a higher median than Group B") and in context. Do not just describe each group separately; make the comparison explicit.

Worked example (comparing in context). Roughly symmetric boxplots show yearly salaries at Corporation A (median $\$40{,}000$, IQR $\$12{,}000$, no outliers) and Corporation B (median $\$34{,}000$, IQR $\$20{,}000$, two high outliers). A strong answer: "The median salary at A ($\$40{,}000$) is higher than at B ($\$34{,}000$). Salaries at B are more variable: the IQR at B is $\$20{,}000$, compared with $\$12{,}000$ at A. Both are roughly symmetric, but B has two unusually high salaries." For a job offered at $\$36{,}000$, A might appeal because more of its salaries are high (its median is above the offer). B might appeal because a few people earn far more, and $\$36{,}000$ is already above B's median.

Parallel box plots compare centre, spread and outliers of two groups
Parallel box plots compare centre, spread and outliers of two groups
探索

箱ひげ図による分布の比較

箱ひげ図は5数要約を視覚化します。同じスケール上に2つの箱ひげ図を配置することで、中心(中央値)、ばらつき(IQR=箱の幅)、歪みを一目で比較でき、グループ間の公平な比較が可能になります。

1.10

正規分布

シラバス

長期的理解(VAR-2): 正規分布は、ある集団の分布を表すために使用できる。

学習目標 VAR-2.A: データの分布を正規分布モデルと比較せよ。[スキル 2.D]

  • VAR-2.A.1 パラメータとは、集団の数的要約のことである。
  • VAR-2.A.2 一部のデータセットは、おおよそ正規分布すると描写されることがある。正規曲線は山型であり対称的である。正規分布のパラメータは、集団平均 $\mu$ および集団標準偏差 $\sigma$ である。
  • VAR-2.A.3 正規分布において、観測値のおよそ68%は平均から標準偏差1個分以内、およそ95%は平均から標準偏差2個分以内、およそ99.7%は平均から標準偏差3個分以内に位置する。これを経験則という。
  • VAR-2.A.4 多くの変数は正規分布によってモデル化できる。
    • *VAR-2.Aの例示:
      • 正規分布でモデル化できる変数:
        • 体温
        • パンの塊の重量

学習目標 VAR-2.B: 正規分布から割合とパーセンタイルを決定せよ。[スキル 3.A]

  • VAR-2.B.1 特定のデータ値の標準化スコアは、(データ値 − 平均) / (標準偏差) で計算され、そのデータ値が平均から標準偏差いくつ離れているかを示す。
  • VAR-2.B.2 標準化された点数の一例として、$z$-点がある。これは $z\text{-score} = \left(\dfrac{x_i - \mu}{\sigma}\right)$ によって計算される。$z$-点は、データ値が平均からどれだけ標準偏差離れているかを示す。
  • VAR-2.B.3 電卓、標準正規分布表、またはコンピュータ出力のような技術手段を用いて、正規分布する確率変数の与えられた区間に位置するデータ値の割合を求めることができる。
  • VAR-2.B.4 正規分布曲線の下の領域の面積が与えられた場合、電卓、標準正規分布表、またはコンピュータ出力のような技術手段を用いて、いくつかの集団のパラメータを推定することができる。

学習目標 VAR-2.C: データセット内の相対位置の尺度を比較せよ。[スキル 2.D]

  • VAR-2.C.1 パーセンタイルと$z$-スコアを用いて、データセット内またはデータセット間のポイントの相対位置を比較できる。

出典: College Board AP コースおよび試験説明書

English

A normal distribution 正态分布 is a symmetric, bell-shaped model described by its mean $\mu$ and standard deviation $\sigma$. The empirical rule 经验法则 (68–95–99.7): about 68% of values lie within $1\sigma$ of the mean, 95% within $2\sigma$, and 99.7% within $3\sigma$.

A Galton board with balls forming a bell shape
A Galton board: balls bouncing left or right at random pile up into a bell-shaped, approximately Normal distribution
The normal curve: a probability is the area under it, centred on the mean
The normal curve: a probability is the area under it, centred on the mean

A $z$-score 标准分数 measures how many standard deviations a value is from the mean:

$$\boxed{z=\frac{x-\mu}{\sigma}}.$$
Convert to a $z$-score, then use the normal table or technology to find the proportion (area) below, above, or between values – and reverse the process to find a value from a given percentile.

Worked example. Test scores are normal with $\mu=500$ and $\sigma=100$. A score of $700$ has $z=\dfrac{700-500}{100}=2$. By the empirical rule, $95\%$ of scores lie within $2\sigma$, so $2.5\%$ lie above $700$ – meaning a $700$ is at about the $97.5$th percentile.

Worked example: between two values, and backwards. With the same $\mu=500$, $\sigma=100$:

  • Proportion between $450$ and $650$: $z=\dfrac{450-500}{100}=-0.5$ and $z=\dfrac{650-500}{100}=1.5$. The area is $P(z<1.5)-P(z<-0.5)=0.9332-0.3085=0.6247$, so about $62.5\%$ of scores.
  • The score at the $90$th percentile: the table (or invNorm) gives $z=1.28$ for an area of $0.90$ below. Solve $z=\dfrac{x-\mu}{\sigma}$ for $x$: $x=\mu+z\sigma=500+1.28(100)\approx 628$.

Worked example (a percentile from the model). Battery life is normal with $\mu=30$ months and $\sigma=6$ months. After how many months have $25\%$ of batteries failed? That is the $25$th percentile: the table gives $z=-0.674$ for an area of $0.25$ below, so $x=30-0.674(6)=26.0$ months.

A $z$-score also compares values from different distributions. A score of $82$ on a test with mean $70$ and SD $8$ ($z=1.5$) is relatively better than $90$ on a test with mean $80$ and SD $10$ ($z=1.0$).

On the exam, show the distribution, the boundary and the area: “Normal, $\mu=500$, $\sigma=100$, $P(450<X<650)\approx 0.6247$”. A bare calculator command does not earn full credit.

Common mistakes. Using the empirical rule for a $z$-score that is not a whole number ($z=1.5$ needs the table or technology); giving the area below when the question asks for the proportion above (subtract from $1$); and using a normal model for a distribution the question describes as strongly skewed.

The normal curve and the 68-95-99.7 empirical rule
The normal curve and the 68-95-99.7 empirical rule
探索

From a raw value to a normal-model area

$z=(x-\mu)/\sigma$

Connect the lesson’s raw values to standardised bounds and the correct shaded region. Changing a model does not show that real data follow it.

English 日本語
normal distribution/ˈnɔːml ˌdɪstrɪˈbjuːʃn/ 正規分布
empirical rule/emˈpɪrɪkl ruːl/ 経験則
1.10

実践

English

Answer each before reading the answers below.

  1. For the data $3,\ 5,\ 7,\ 8,\ 9,\ 12,\ 15$, find the median and the IQR, and check for outliers with the $1.5\times IQR$ rule.

  2. Household incomes in a city are strongly right-skewed. Which is larger, the mean or the median? Which better describes a typical household?

  3. A test has mean 70 and standard deviation 8. Find the $z$-score of a student who scored 82.

  4. If the scores in question 3 are approximately normal, what proportion of students scored below 58?

  5. A student says: "The mean is always the best measure of center." Correct the student.

  6. The $30$ values in a data set have mean $20$ and standard deviation $4$. Every value is multiplied by $3$ and then $5$ is added. Find the new mean and standard deviation.

  7. A class of $12$ has a mean score of $78$, and another class of $18$ has a mean of $68$. Find the mean for all $30$ students.

  8. A data set has $\bar x=50$, $s=5$, $Q_1=46$ and $Q_3=53$. Is a value of $61$ an outlier by the $1.5\times\text{IQR}$ rule? By the 2-standard-deviation rule?

1.10

解答

English
  1. Median $8$. $Q_1=5$ and $Q_3=12$ (medians of the lower and upper halves), so $IQR=7$. The fences are $5-10.5=-5.5$ and $12+10.5=22.5$; no value lies outside them, so there are no outliers.

  2. The mean is larger, pulled up by the few very high incomes. The median better describes a typical household, because it resists extreme values.

  3. $z=\dfrac{82-70}{8}=1.5$: one and a half standard deviations above the mean.

  4. $z=\dfrac{58-70}{8}=-1.5$, so the proportion is about $0.067$, or $6.7\%$.

  5. The mean is sensitive to outliers and skew. For skewed data or data with outliers, the median is the better summary of a typical value; report the IQR with it.

  6. Mean: $3(20)+5=65$. Standard deviation: $3(4)=12$; adding $5$ does not change the spread.

  7. $\dfrac{12(78)+18(68)}{30}=\dfrac{936+1224}{30}=72$.

  8. $\text{IQR}=7$, so the upper fence is $53+10.5=63.5$: $61$ is not an outlier by that rule. It is $\dfrac{61-50}{5}=2.2$ standard deviations above the mean, so it is an outlier by the 2-SD rule.

1.10

試験対策ポイント

English
  • Describe a distribution by shape, center, spread, and outliers (SOCS) — always in context.
  • The mean is pulled by outliers; the median resists them, so prefer the median for skewed data.
  • For a normal distribution use the 68–95–99.7 rule and z-scores $z=\tfrac{x-\mu}{\sigma}$.
  • Compare distributions with side-by-side boxplots and comment on center, spread, and shape.
  • Standard deviation measures a typical distance from the mean; the IQR pairs with the median.
  • When one value changes, say which statistics change and why: the mean and SD move; the median and IQR stay unless the middle of the data changes.
  • Compare groups with proportions, not counts, when the groups differ in size.
English 日本語
z-score/zed skɔː/ z点

このトピックのインタラクティブ授業

一歩ずつ進め、即時チェック付きの問題で学習します。

過去問

AP Statistics の他のトピック

ログインまたはアカウント作成

IGCSE, A-Level & AP