プリンキピア

第8章統計学

The Median中央値

Let's revisit our example of trying to identify the height of the “average” person. If we lined everyone up in order by height and found the person right in the middle, that person’s height is called the median, or the value that is greater than no more than half and less than no more than half of the values.
英語のヒント
「平均的な」人の身長を見きわめようとする例に戻ろう。全員を身長順に並べてちょうど真ん中の人を見つけたなら、その人の身長を中央値という。つまり、値の半分以下より大きく、値の半分以下より小さい値である。
Let’s look at a really simple example. Consider the following list of numbers: 11, 12, 13, 13, 14. Is the first number on the list, 11, the median? There are no values less than 11 (that’s 0%), and there are four values greater than 11 (that’s 80%). Since more than 50% of the data are greater than 11, the definition is violated; it’s not the median. Here’s a chart with the rest of the data, with red shading to show where the definition is violated:
英語のヒント
とても簡単な例を見よう。次の数の一覧を考える:11, 12, 13, 13, 14。一覧の最初の数11は中央値だろうか。11より小さい値はなく(0%である)、11より大きい値は4つある(80%である)。データの50%より多くが11より大きいので、定義に反する。中央値ではない。残りのデータの表を示す。定義に反する場所を赤い影で示す:
Table 8.6表8.6
Data Valueデータの値Number of Values Below下の値の数Percentage of Values Below下の値の百分率Number of Values Above上の値の数Percentage of Values Above上の値の百分率
1100%480%
12120%360%
13240%120%
14480%00%
Only 13 has no violations, so it’s the median according to the definition. In practice, we find the median just like we described in the average height example: by lining up all the data values in order from smallest to largest and picking the value in the middle. For our easy example (with data values 11, 12, 13, 13, 14), that first 13 is right in the middle; there are two values to the left and two values to the right. If there’s not one value right in the middle, we pick the two closest, then choose the number exactly between them. For example, let’s say we have the data 41, 44, 46, 53. Since there are an even number of data values in our list, we can’t pick the one right in the middle. The two closest to the middle are 44 and 46, so we’ll choose the number halfway between those to be the median: 45. As this example shows, the median (unlike the mode) doesn’t have to be a number in our original set of data.
英語のヒント
13だけ違反がないので、定義によりこれが中央値である。実際には、平均的な身長の例で述べたとおりに中央値を求める。すべてのデータの値を小さい順に並べ、真ん中の値を選ぶ。この簡単な例(データの値は11, 12, 13, 13, 14)では、最初の13がちょうど真ん中にある。左に2つ、右に2つの値がある。ちょうど真ん中に1つの値がないなら、いちばん近い2つを選び、そのちょうど中間の数を選ぶ。たとえば、データが41, 44, 46, 53だとしよう。一覧のデータの値は偶数個なので、ちょうど真ん中のものを選べない。真ん中にいちばん近い2つは44と46なので、その中間の数45を中央値とする。この例が示すように、中央値は(最頻値と違って)もとのデータの集まりにある数でなくてもよい。
In the examples we’ve looked at so far, it’s been pretty easy to identify which number is right in the middle. If we had a very large dataset, though, it might be harder. Fortunately, we have some formulas to help us with that.
英語のヒント
ここまで見た例では、どの数がちょうど真ん中にあるかを見きわめるのはかなり簡単だった。しかし、とても大きなデータセットなら難しいかもしれない。幸い、それを助ける公式がある。
Let’s put those formulas to work in an example.
英語のヒント
それらの公式を例で使おう。
Example 8.17例題 8.17

Finding the Median Using a Stem-and-Leaf Plot幹葉図を使って中央値を求める

In Example 8.9, we looked at a stem-and-leaf plot that contained 33 sale prices (in dollars) of a particular collectible trading card:
英語のヒント
例題8.9で、あるコレクション用トレーディングカードの33の販売価格(ドル)を含む幹葉図を見た:
05 8 9
10 0 0 3 4 4 5 5 5 5 6 9 9
20 0 0 0 5 5 9 9
30 0 0 5 5
40 0 5
5
60
What is the median price?
英語のヒント
価格の中央値はいくらか。
Solution解答
Step 1: Since 33 is odd, the median is the data value at position n+12, where n is the number of values in the dataset. There are 33 total values, so our formula becomes 33+12=17. That means we want to look for the 17th number in the dataset.
英語のヒント
手順1:33は奇数なので、中央値は位置n+12のデータの値である。ここでnはデータセットの値の数である。値は全部で33あるので、公式は33+12=17となる。つまり、データセットの17番目の数を探す。
Step 2: We'll want to count from the lowest value to the 17th number. We can use our stem and leaf plot to do this.
英語のヒント
手順2:最小の値から17番目の数まで数える。これには幹葉図を使える。
1 2 3
05 8 9
4 5 6 7 8 9 10 11 12 13 14 15 16
10 0 0 3 4 4 5 5 5 5 6 9 9
17
20 0 0 0 5 5 9 9
30 0 0 5 5
40 0 5
5
60
The seventeenth number is 20, so the median is 20.
英語のヒント
17番目の数は20なので、中央値は20である。
Now, let’s tackle an example with an even number of values.
英語のヒント
では、値が偶数個の例に取り組もう。
Example 8.18例題 8.18

Finding the Median中央値を求める

In Example 8.10, we looked at the number of times different crickets (of differing species, genders, etc.) chirped in a one-minute span. That data is again provided below:
英語のヒント
例題8.10で、さまざまなコオロギ(種や性別などが異なる)が1分間に鳴いた回数を見た。そのデータをもう一度下に示す:
8997821028499
1151058910910789
10110911610310091
931031209185104
1048210692104106
Find the median.
英語のヒント
中央値を求めよ。
Solution解答
Step 1: In order to find the median, we first need to sort the data so that they’re in order, smallest to largest:
英語のヒント
手順1:中央値を求めるには、まずデータを小さい順に並べる必要がある:
828284858989
899191929397
99100101102103103
104104104105106106
107109109115116120
Step 2: Next, we figure out how many data values we have. Counting them up, we see there are 30, which is even.
英語のヒント
手順2:次に、データの値がいくつあるかを求める。数えると30あり、偶数である。
Step 3: Since we have an even number of data values, we need to find the values in positions 302=15 and 302+1=16. These are 101 and 102.
英語のヒント
手順3:データの値は偶数個なので、位置302=15と302+1=16の値を見つける必要がある。これらは101と102である。
Step 4: We use the formula to compute the median: 101+1022=101.5.
英語のヒント
手順4:公式を使って中央値を計算する。101+1022=101.5である。
Example 8.19例題 8.19

Finding the Median Using a Frequency Distribution度数分布を使って中央値を求める

In Example 8.3, we created a frequency distribution of the number of siblings of the people who attended a conflict resolution class. Let's review that data again:
英語のヒント
例題8.3で、紛争解決の講座に参加した人のきょうだいの数の度数分布を作った。そのデータをもう一度見よう:
Number of Siblingsきょうだいの数Frequency度数
05
113
26
33
42
51
What is the median of the number of siblings?
英語のヒント
きょうだいの数の中央値は何か。
Solution解答
There are 30 data values total, so the median is between the 15th and 16th values in the ordered list. There are five 0s and thirteen 1s according to the frequency distribution, so items one through five are all 0s and items six through eighteen are all 1s. Since both items fifteen and sixteen are 1s, the median is 1.
英語のヒント
データの値は全部で30あるので、中央値は順に並べた一覧の15番目と16番目の値のあいだである。度数分布によると0が5個、1が13個あるので、1番目から5番目はすべて0で、6番目から18番目はすべて1である。15番目と16番目はどちらも1なので、中央値は1である。