プリンキピア

第8章統計学

The Mean平均

Recall our example of ways we could identify the “average” height of an individual. The last method we discussed was also the most complicated. It involved a game where the player guesses a height, then figures out how far off that guess is from every single person’s height. Those differences get squared and added together to get a score. Our next measure of centrality gives the lowest possible score: No other guess would beat it in the game. Given a dataset containing n total values, the mean of the dataset is the sum of all the data values, divided by n.
英語のヒント
個人の「平均的な」身長を見きわめる方法の例を思い出そう。最後に述べた方法はいちばん複雑だった。プレイヤーが身長を予想し、その予想が一人ひとりの身長からどれだけ離れているかを求めるゲームだった。それらの差を2乗して足し合わせ、点数を得る。次の中心性の尺度は、ありうるもっとも低い点数を与える。ゲームでそれを破る予想はほかにない。n個の値を含むデータセットが与えられたとき、データセットの平均は、すべてのデータの値の和をnで割ったものである。
This is a computation you have likely done before. In many places, including spreadsheet programs like Microsoft Excel and Google Sheets, this number is called the average. For statisticians, though, the word average has too many possible meanings, so they prefer the one we’ll use: mean.
英語のヒント
これはおそらく前にしたことのある計算である。Microsoft ExcelやGoogle Sheetsのような表計算ソフトをはじめ多くの場所で、この数はaverageと呼ばれる。しかし統計学者にとって、averageという語は意味がありすぎるので、ここで使う語、meanを好む。
Example 8.20例題 8.20

Finding the Mean平均を求める

Compute the mean of the numbers 12, 15, 17, 18, 18, and 19.
英語のヒント
数12, 15, 17, 18, 18, 19の平均を計算せよ。
Solution解答
The mean is the sum of the values, divided by the number of values on the list. So, we get:
英語のヒント
平均は、値の和を一覧の値の数で割ったものである。だから、次が得られる:
12+15+17+18+18+196=996=16.5.
Example 8.21例題 8.21

Finding the Mean Using a Frequency Distribution度数分布を使って平均を求める

Refer again to the frequency distribution of the number of siblings people who attended a conflict resolution class reported:
英語のヒント
紛争解決の講座に参加した人が報告したきょうだいの数の度数分布をもう一度見よう:
Number of Siblingsきょうだいの数Frequency度数
05
113
26
33
42
51
What is the mean of the number of siblings?
英語のヒント
きょうだいの数の平均は何か。
Solution解答
Step 1: We compute the mean by adding up all the data values and then dividing by the number of data values on the list.
英語のヒント
手順1:すべてのデータの値を足し、一覧のデータの値の数で割って平均を計算する。
Step 2: Adding up the frequencies, we get 5+13+6+3+2+1=30 data values in our list.
英語のヒント
手順2:度数を足すと、一覧のデータの値は5+13+6+3+2+1=30個である。
Step 3: Now, to find the sum of all the data values, we could simply reconstruct the raw data and add up all the numbers there. But, there’s an easier way: Remember that repeatedly adding a number to itself is the definition of multiplication. So, for example, since there are six 2s in our data, the sum of all those 2s must be 6×2=12.
英語のヒント
手順3:次に、すべてのデータの値の和を求めるには、生データを作り直してすべての数を足すこともできる。しかし、もっと簡単な方法がある。数を繰り返し足すことがかけ算の定義であることを思い出そう。だから、たとえば、データに2が6個あるので、それらの2すべての和は6×2=12である。
Step 4: Let’s add a column to our distribution for these products:
英語のヒント
手順4:分布に、これらの積の列を加えよう:
Number of Siblingsきょうだいの数Frequency度数(Number of Siblings) × (Frequency)(きょうだいの数)×(度数)
050
11313
2612
339
428
515
Step 5: So, the sum of all our data values is 0+13+12+9+8+5=47. The mean is 4730≈1.567.
英語のヒント
手順5:だから、すべてのデータの値の和は0+13+12+9+8+5=47である。平均は4730≈1.567である。
As the number of data values we are considering grows, the computation for the mean gets more and more complicated. That’s why people generally trust technology to perform that computation.
英語のヒント
考えるデータの値の数が増えると、平均の計算はどんどん複雑になる。だからふつう、その計算は計算機器に任せる。
Note that a recent update to Google Sheets introduced a new function called “MODE.MULT,” which will find every mode (not just the first one on the list).
英語のヒント
Google Sheetsの最近の更新で「MODE.MULT」という新しい関数が導入されたことに注意しよう。この関数は(一覧の最初のものだけでなく)すべての最頻値を見つける。
Example 8.22例題 8.22

Using Google Sheets to Compute Measures of CentralityGoogle Sheetsを使って中心性の尺度を計算する

The dataset "InState" contains the in-state tuitions of every college and university in the country that reported that data to the Department of Education. Find the mode, median, and mean of those in-state tuition values.
英語のヒント
データセット「InState」は、教育省にデータを報告した国内のすべての大学の州内学費を含む。それらの州内学費の値の最頻値、中央値、平均を求めよ。
Solution解答
Step 1: To find the mode, we select an empty cell type “=MODE(”, click on the header of the column to insert a reference to the column into our formula, and then close the parentheses. When we hit the enter key, our formula is replaced with the mode: $13,380.
英語のヒント
手順1:最頻値を求めるには、空のセルを選んで「=MODE(」と入力し、列の見出しをクリックして列への参照を式に入れ、かっこを閉じる。Enterキーを押すと、式が最頻値13,380ドルに置きかわる。
Step 2: We can find the median and mean using the same process, except using the functions “MEDIAN” and “AVERAGE” in place of “MODE”. We find that the median is $11,207 and the mean is $15,476.79.
英語のヒント
手順2:同じ手順で、「MODE」の代わりに関数「MEDIAN」と「AVERAGE」を使って、中央値と平均を求められる。中央値は11,207ドルで、平均は15,476.79ドルである。