プリンキピア

第8章統計学

8.8 Scatter Plots, Correlation, and Regression Lines8.8 散布図、相関、回帰直線

A scatter plot. The x-axis ranges from 20 to 120, in increments of 20. The y-axis ranges from 0 to 160, in increments of 40. The points are scattered along a line from 40 to 110 on the horizontal axis and 20 to 120 on the vertical axis. The line represents the best line of fit and it passes through the following points: (20, 20), (40, 40), (60, 60), (80, 80), (100, 100), and (120, 122). Note: all values are approximate.
Figure 8.65図8.65
A scatter plot is a visualization of the relationship between quantitative dataset.
英語のヒント
散布図は、量的データセットのあいだの関係の可視化である。

Learning Objectives学習目標

After completing this section, you should be able to:
英語のヒント
この節を終えると、次のことができるようになる。
  1. Construct a scatter plot for a dataset.
    英語のヒント
    データセットの散布図を作る。
  2. Interpret a scatter plot.
    英語のヒント
    散布図を解釈する。
  3. Distinguish among positive, negative and no correlation.
    英語のヒント
    正の相関、負の相関、相関なしを見分ける。
  4. Compute the correlation coefficient.
    英語のヒント
    相関係数を計算する。
  5. Estimate and interpret regression lines.
    英語のヒント
    回帰直線を見積もって解釈する。
One of the most powerful tools statistics gives us is the ability to explore relationships between two datasets containing quantitative values, and then use that relationship to make predictions. For example, a student who wants to know how well they can expect to score on an upcoming final exam may consider reviewing the data on midterm and final exam scores for students who have previously taken the class. It seems reasonable to expect that there is a relationship between those two datasets: If a student did well on the midterm, they were probably more likely to do well on the final than the average student. Similarly, if a student did poorly on the midterm, they probably also did poorly on the final exam.
英語のヒント
統計学が与えてくれるもっとも強力な道具の1つは、量的な値を含む2つのデータセットの関係を調べ、その関係を使って予測する能力である。たとえば、次の期末試験でどれだけの点が期待できるかを知りたい学生は、これまでにその授業をとった学生の中間試験と期末試験の点数のデータを見直すことを考えるかもしれない。その2つのデータセットのあいだに関係があると期待するのは理にかなっているようである。学生が中間試験でよくできたなら、おそらく平均的な学生より期末試験でよくできる可能性が高かった。同様に、学生が中間試験でできなかったなら、おそらく期末試験でもできなかった。
Of course, that relationship isn’t set in stone; a student’s performance on a midterm exam doesn’t cement their performance on the final! A student might use a poor result on the midterm as motivation to study more for the final. A student with a really good grade on the midterm might be overconfident going into the final, and as a result doesn’t prepare adequately.
英語のヒント
もちろん、その関係は石に刻まれているわけではない。中間試験の成績が期末試験の成績を決めてしまうわけではない!学生は中間試験の悪い結果を、期末試験に向けてもっと勉強する動機にするかもしれない。中間試験の成績がとてもよい学生は、期末試験に自信過剰で臨み、その結果十分に準備しないかもしれない。
The statistical method of regression can find a formula that does the best job of predicting a score on the final exam based on the student’s score on the midterm, as well as give a measure of the confidence of that prediction! In this section, we’ll discover how to use regression to make these predictions. First, though, we need to lay some graphical groundwork.
英語のヒント
統計学の回帰という方法は、学生の中間試験の点数にもとづいて期末試験の点数をいちばんよく予測する式を見つけ、その予測の確かさの尺度も与えてくれる!この節では、回帰を使ってこれらの予測をする方法を見つける。しかし、まずグラフの土台を作る必要がある。

Relationships Between Quantitative Datasets量的データセットのあいだの関係

Before we can evaluate a relationship between two datasets, we must first decide if we feel that one might depend on the other. In our exam example, it is appropriate to say that the score on the final depends on the score on the midterm, rather than the other way around: if the midterm depended on the final, then we’d need to know the final score first, which doesn’t make sense.
英語のヒント
2つのデータセットの関係を評価する前に、まず一方がもう一方によるかもしれないと思うかどうかを決めなければならない。試験の例では、期末試験の点数が中間試験の点数によると言うのが適切で、その逆ではない。中間試験が期末試験によるなら、まず期末試験の点数を知る必要があり、それは意味をなさない。
Here’s another example: if we collected data on home purchases in a certain area, and noted both the sale price of the house and the annual household income of the purchaser, we might expect a relationship between those two. Which depends on the other? In this case, sale price depends on income: people who have a higher income can afford a more expensive house. If it were the other way around, people could buy a new, more expensive house and then expect a raise! (This is very bad advice.)
英語のヒント
もう1つ例を挙げよう。ある地域の住宅購入のデータを集め、住宅の販売価格と購入者の年間世帯所得の両方を書きとめたなら、その2つのあいだに関係があると期待するかもしれない。どちらがもう一方によるのか。この場合、販売価格が所得による。所得の高い人はより高い家を買う余裕がある。逆なら、新しいもっと高い家を買えば昇給を期待できることになる!(これはとても悪い助言である。)
It's worth noting that not every pair of related datasets has clear dependence. For example, consider the percent of a country’s budget devoted to the military and the percent earmarked for public health. These datasets are generally related: as one goes up, the other goes down. However, in this case, there’s not a preferred choice for dependence, as each could be seen as depending on the other. When exploring the relationship between two datasets, if one set seems to depend on the other, we’ll say that dataset contains values of the response variable (or dependent variable). The dataset that the response variable depends on contains values of what we call the explanatory variable (or independent variable). If no dependence relationship can be identified, then we can assign either dataset to either role.
英語のヒント
関係のあるデータセットの組のすべてに、はっきりした依存関係があるわけではないことは注目に値する。たとえば、国の予算のうち軍事に向ける割合と公衆衛生に充てる割合を考えよう。これらのデータセットはふつう関係している。一方が上がると、もう一方が下がる。しかし、この場合、どちらかに依存を決める選択はない。どちらももう一方によると見なせるからである。2つのデータセットの関係を調べるとき、一方の集まりがもう一方によるように見えるなら、そのデータセットは応答変数(または従属変数)の値を含むという。応答変数がよるデータセットは、説明変数(または独立変数)と呼ぶものの値を含む。依存関係を見きわめられないなら、どちらのデータセットをどちらの役割に割り当ててもよい。
Example 8.44例題 8.44

Identifying Explanatory and Response Variables説明変数と応答変数を見きわめる

For each of the following pairs of related datasets, identify which (if any) should be assigned the role of response variable and which should be assigned to be the explanatory variable.
英語のヒント
関係のあるデータセットの次の組それぞれについて、どちらを(あれば)応答変数の役割に、どちらを説明変数の役割に割り当てるべきかを見きわめよ。
  1. A person’s height and weight
    英語のヒント
    人の身長と体重
  2. A professional basketball player’s salary and their average points scored per game (which is a measure of how good they are at basketball)
    英語のヒント
    プロバスケットボール選手の年俸と、1試合あたりの平均得点(バスケットボールのうまさの尺度である)
  3. The length and width of leaves on a tree
    英語のヒント
    木の葉の長さと幅
Solution解答
  1. As people get taller, their weight tends to increase. But if a person goes on a diet and loses weight, we don’t expect them to also get shorter. So, weight depends on height. That means we’ll say that the response variable is weight and the explanatory variable is height.
    英語のヒント
    背が高くなると、体重は増える傾向がある。しかし、ダイエットをして体重が減っても、背が低くなるとは期待しない。だから、体重が身長による。つまり、応答変数は体重で、説明変数は身長である。
  2. The more points a basketball player scores, the more money they should make. But if a basketball player gets a raise, we wouldn’t expect them to get better at basketball as a result. So, the response is salary and the explanatory is points per game.
    英語のヒント
    バスケットボール選手の得点が多いほど、稼ぎは多いはずである。しかし、バスケットボール選手の給料が上がっても、その結果バスケットボールがうまくなるとは期待しない。だから、応答変数は年俸で、説明変数は1試合あたりの得点である。
  3. The way that the length and width of leaves are connected isn’t clear. It seems reasonable that as the width goes up, so would the length. But the other direction is also plausible: as the length goes up, so does the width. Without a clear dependence relationship, we’re free to declare either to be the response and the other to be the explanatory.
    英語のヒント
    葉の長さと幅がどうつながっているかははっきりしない。幅が増えれば長さも増えるのは理にかなっているようである。しかし、逆の方向もありそうである。長さが増えれば幅も増える。はっきりした依存関係がないので、どちらを応答変数と宣言し、もう一方を説明変数としてもよい。
Once we’ve assigned roles to our two datasets, we can take the first step in visualizing the relationship between them: creating a scatter plot.
英語のヒント
2つのデータセットに役割を割り当てたら、それらの関係を可視化する最初の手順に進める。散布図を作ることである。

Creating Scatter Plots散布図を作る

A scatter plot is a visualization of the relationship between two quantitative sets of data. The scatter plot is created by turning the datasets into ordered pairs: the first coordinate contains data values from the explanatory dataset, and the second coordinate contains the corresponding data values from the response dataset. These ordered pairs are then plotted in the 𝑥𝑦-plane. Let's return to our exam example to put this into practice.
英語のヒント
散布図は、2つの量的データの集まりのあいだの関係の可視化である。散布図は、データセットを順序対にして作る。第1座標には説明変数のデータセットのデータの値を、第2座標には応答変数のデータセットの対応するデータの値を入れる。これらの順序対を𝑥𝑦平面にプロットする。試験の例に戻って、これを実践しよう。
Example 8.45例題 8.45
Creating Scatter Plots Without Technology計算機器を使わずに散布図を作る
Students are exploring the relationship between scores on the midterm exam and final exam in their math course. Here are some of the scores reported by their classmates:
英語のヒント
学生たちが数学の授業の中間試験と期末試験の点数の関係を調べている。クラスメートが報告した点数の一部は次のとおりである:
Name名前Midterm grade中間試験の点Final grade期末試験の点
Student 1学生18884
Student 2学生27180
Student 3学生37577
Student 4学生49495
Student 5学生56873
Create a scatter plot to visualize the data.
英語のヒント
データを可視化する散布図を作れ。
Solution解答
Step 1: Since it makes more sense to think of the final exam score as being dependent on the midterm exam score, we’ll let the final grade be the response. So, let’s think of these two datasets as a set of ordered pairs, midterm first, final second:
英語のヒント
手順1:期末試験の点数が中間試験の点数によると考えるほうが意味をなすので、期末試験の点を応答変数としよう。そこで、これら2つのデータセットを、中間を先、期末をあとにした順序対の集まりと考えよう:
Name名前(Midterm, Final)(中間、期末)
Student 1学生1(88, 84)
Student 2学生2(71, 80)
Student 3学生3(75, 77)
Student 4学生4(94, 95)
Student 5学生5(68, 73)
Step 2: Next, let’s make the axes. On the horizontal axis, make sure the range of values is sufficient to cover all of the explanatory data. For our data, that’s 68 to 94. Similarly, the vertical axis should cover all of the response data (73 to 95):
英語のヒント
手順2:次に、軸を作ろう。横軸では、値の範囲がすべての説明変数のデータを覆うのに十分になるようにする。このデータでは68から94である。同様に、縦軸はすべての応答変数のデータ(73から95)を覆うようにする:
A blank coordinate plane. The horizontal axis ranges from 65 to 95, in increments of 5. The vertical axis ranges from 70 to 100, in increments of 5.
Figure 8.66図8.66
Step 3: Our first point is (88, 84). So, we’ll locate 88 on the horizontal axis, 84 on the vertical axis, and identify the point that’s directly above the first location and horizontally level with the second:
英語のヒント
手順3:最初の点は(88, 84)である。そこで、横軸の88と縦軸の84を見つけ、最初の位置の真上で、2番目の位置と水平にそろう点を見きわめる:
A coordinate plane plots a point. The horizontal axis ranges from 65 to 95, in increments of 5. The vertical axis ranges from 70 to 100, in increments of 5. A horizontal dotted line is drawn at 84. A vertical dotted line is drawn at 88. The two dotted lines intersect at the point (88, 84).
Figure 8.67図8.67
Step 4: Repeat this process to place the other four points on the graph:
英語のヒント
手順4:この手順を繰り返して、ほかの4つの点をグラフに置く:
Five points are plotted on a coordinate plane. The horizontal axis ranges from 65 to 95, in increments of 5. The vertical axis ranges from 70 to 100, in increments of 5. The points are as follows: (68, 73), (72, 80), (75, 77), (88, 84), and (94, 95). Note: all values are approximate.
Figure 8.68図8.68
Step 5: Finally, label the axes:
英語のヒント
手順5:最後に、軸にラベルをつける:
Five points are plotted on a coordinate plane. The horizontal axis representing midterm ranges from 65 to 95, in increments of 5. The vertical axis representing final ranges from 70 to 100, in increments of 5. The points are as follows: (68, 73), (72, 80), (75, 77), (88, 84), and (94, 95). Note: all values are approximate.
Figure 8.69図8.69
For large datasets, it’s impractical to create scatter plots manually. Luckily, Google Sheets automates this process for us.
英語のヒント
大きなデータセットでは、手で散布図を作るのは実際的でない。幸い、Google Sheetsがこの過程を自動化してくれる。
Example 8.46例題 8.46
Creating Scatter Plots in Google SheetsGoogle Sheetsで散布図を作る
The dataset “NHL19” gives the results of the 2018–2019 National Hockey League season. The columns are team, wins (W), losses (L), overtime losses (OTL), total points (PTS), goals scored by the team (GF), goals scored against the team (GA), and goal differential (the difference in GF and GA). Use Google Sheets to create a scatter plot for GF vs. GA.
英語のヒント
データセット「NHL19」は、2018–2019年のナショナル・ホッケー・リーグのシーズンの結果を示している。列は、チーム、勝ち(W)、負け(L)、延長負け(OTL)、総ポイント(PTS)、チームの得点(GF)、チームの失点(GA)、得失点差(GFとGAの差)である。Google Sheetsを使ってGF対GAの散布図を作れ。
Solution解答
Step 1: Open the dataset in Google Sheets, and click and drag to select the data we want to visualize (in this case, we want the columns for GF and GA; make sure you include those labels in the selection).
英語のヒント
手順1:データセットをGoogle Sheetsで開き、クリックしてドラッグし、可視化したいデータを選ぶ(この場合はGFとGAの列がほしい。それらのラベルを選択に必ず含める)。
Step 2: Next, click on the “Insert” menu, then click “Chart.” Sheets will automatically choose a chart format; if the result isn’t a scatter plot, click on the drop-down menu under “Chart type” in the Chart Editor on the right side of the window and select “Scatter chart.”
英語のヒント
手順2:次に、「挿入」メニューをクリックし、「グラフ」をクリックする。Sheetsが自動的にグラフの形式を選ぶ。結果が散布図でなければ、ウィンドウの右側のグラフエディタの「グラフの種類」の下のドロップダウンメニューをクリックし、「散布図」を選ぶ。
Step 3: Next, check that the correct choices were made for the horizontal and vertical axes. In this case, we want to see GF on the vertical axis and GA on the horizontal axis. If Sheets made the wrong choice, we can fix it in the Chart Editor by clicking on the name of the dataset under “X-axis” to open up a dropdown menu, then selecting the variable that should go on the horizontal axis (GA in this case).
英語のヒント
手順3:次に、横軸と縦軸の選択が正しいことを確かめる。この場合、GFを縦軸に、GAを横軸に見たい。Sheetsが間違った選択をしたなら、グラフエディタで「X軸」の下のデータセットの名前をクリックしてドロップダウンメニューを開き、横軸に置くべき変数(この場合はGA)を選んで直せる。
Step 4: Now, click on the variable under “Series” and select the one that should go on the vertical axis (GF). If you had to make that change, the axis labels in the graph may also need changing; those labels can be fixed using the “Customize” tab in the Chart Editor under “Chart & axis titles.” Your result should look like this:
英語のヒント
手順4:次に、「系列」の下の変数をクリックし、縦軸に置くべきもの(GF)を選ぶ。その変更をしたなら、グラフの軸のラベルも変える必要があるかもしれない。それらのラベルは、グラフエディタの「カスタマイズ」タブの「グラフと軸のタイトル」で直せる。結果は次のようになるはずである:
A scatter plot titled, GF versus GA. The horizontal axis representing GA ranges from 180 to 320, in increments of 20. The vertical axis representing GF ranges from 190 to 330, in increments of 20. The points are scattered throughout and it lies from 200 to 300 on the horizontal axis and 200 to 290 on the vertical axis.
Figure 8.70図8.70
(data source: www.nhl.com)
英語のヒント
(データ出典:www.nhl.com)

Reading and Interpreting Scatter Plots散布図を読んで解釈する

Scatter plots give us information about the existence and strength of a relationship between two datasets. To break that information down, there are a series of questions we might ask to help us. First: Is there a curved pattern in the data? If the answer is “yes,” then we can stop; none of the linear regression techniques from here to the end of this section are appropriate. Figure 8.71 and Figure 8.74 show several examples of scatter plots that can help us identify these curved patterns.
英語のヒント
散布図は、2つのデータセットの関係の有無と強さについての情報を与えてくれる。その情報を分解するために、助けになる一連の問いがある。まず、データに曲線のパターンがあるか。答えが「はい」なら、そこで止める。ここからこの節の終わりまでの線形回帰の技法はどれも適切でない。図8.71と図8.74は、これらの曲線のパターンを見きわめる助けになる散布図の例をいくつか示している。
A scatter plot represents a curved pattern. The x-axis ranges from 20 to 120, in increments of 20. The y-axis ranges from negative 100 to 500, in increments of 100. The scatter plot shows points scattered along a curve that passes through the following points: (20, 90), (40, 20), (50, 0), (80, 100), (100, 250), and (120, 500). Note: all values are approximate.
Figure 8.71図8.71
Curved pattern
英語のヒント
曲線のパターン
A scatter plot represents no curved pattern. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 140, in increments of 20. The points are scattered throughout and it lies from 30 to 100 on the horizontal axis and 10 to 120 on the vertical axis.
Figure 8.72図8.72
No curved pattern
英語のヒント
曲線のパターンなし
A scatter plot represents a curved pattern. The x-axis ranges from 30 to 100, in increments of 10. The y-axis ranges from 40 to 120, in increments of 10. The scatter plot shows points scattered along a curve that passes through the following points: (30, 80), (40, 60), (55, 50), (70, 65), (90, 102), (100, 110), and (100, 105). Note: all values are approximate.
Figure 8.73図8.73
Curved pattern
英語のヒント
曲線のパターン
A scatter plot represents no curved pattern. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 300, in increments of 50. The points are scattered in linear decreasing order. Some of the points are as follows: (35, 250), (40, 220), (50, 200), (60, 175), (70, 150), (80, 125), (90, 75), and (100, 50). Note: all values are approximate.
Figure 8.74図8.74
No curved pattern
英語のヒント
曲線のパターンなし
Once we have confirmed that there is no curved pattern in our data, we can move to the next question: Is there a linear relationship? To answer this, we must look at different values of the explanatory variable and determine whether the corresponding response values are different, on average. It's important to look at the values “on average” because, in general, our scatter plots won’t include just one corresponding response point for each value of the explanatory variable (i.e., there may be multiple response values for each explanatory value). So, we try to look for the center of those points. Let’s look again at Figure 8.74, but consider some different values for the explanatory variable. Let’s highlight the points whose x-values are around 50 and those that are around 80:
英語のヒント
データに曲線のパターンがないことを確かめたら、次の問いに進める。線形の関係があるか。これに答えるには、説明変数のさまざまな値を見て、対応する応答の値が平均して異なるかどうかを決めなければならない。「平均して」見ることが大切である。一般に、散布図には説明変数のそれぞれの値に対応する応答の点が1つだけあるわけではないからである(つまり、それぞれの説明の値に複数の応答の値があるかもしれない)。そこで、それらの点の中心を探そうとする。図8.74をもう一度見て、説明変数のさまざまな値を考えよう。xの値が50くらいの点と80くらいの点を強調しよう:
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 300, in increments of 50. The points are scattered in linear decreasing order. Some of the points are highlighted in red and the points are as follows: (50, 290), (48, 195), (48, 200), (49.5, 225), (50, 203), (78, 145), (79, 130), (80, 120), (81, 120), (81, 70), (82, 90), (82.5, 90), (82, 100), and (82, 120). Note: all values are approximate.
Figure 8.75図8.75
Now, we can estimate the middle of each group of points. Let's add our estimated averages to the plot as starred points:
英語のヒント
次に、それぞれの点のまとまりの真ん中を見積もれる。見積もった平均を星印の点としてプロットに加えよう:
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 300, in increments of 50. The points are scattered in linear decreasing order. Some of the points are highlighted in red and the points are as follows: (50, 290), (48, 195), (48, 200), (49.5, 225), (50, 203), (78, 145), (79, 130), (80, 120), (81, 120), (81, 70), (82, 90), (82.5, 90), (82, 100), and (82, 120). Asterisks are marked at (50, 200) and (80, 120). Note: all values are approximate.
Figure 8.76図8.76
Since those two starred points occur at different heights, we can conclude that there’s likely a relationship worth exploring.
英語のヒント
これら2つの星印の点は異なる高さにあるので、調べる価値のある関係がありそうだと結論できる。
Here’s another example using a different set of data:
英語のヒント
異なるデータの集まりを使ったもう1つの例である:
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 250, in increments of 50. The points are scattered throughout and it lies from 30 to 105 on the horizontal axis and 50 to 250 on the vertical axis.
Figure 8.77図8.77
Let’s look again at the points near 50 and near 80, and estimate the middles of those clusters:
英語のヒント
もう一度50の近くと80の近くの点を見て、それらのかたまりの真ん中を見積もろう:
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 250, in increments of 50. The points are scattered throughout and it lies from 30 to 105 on the horizontal axis and 50 to 250 on the vertical axis. Some of the points are marked in red: (48, 120), (48, 140), (50, 150), (50, 155), (48, 190), (51, 195), (82, 75), (80, 125), (81, 130), (80, 160), (81, 160), (82, 140), (81, 195), (81, 200), and (78, 210). Asterisks are marked at (50, 150) and (80, 170). Note all values are approximate.
Figure 8.78図8.78
Notice that there’s not much vertical distance between our two starred points. This tells us that there’s not a strong relationship between these two datasets.
英語のヒント
2つの星印の点のあいだの縦の距離があまりないことに注意しよう。これは、これら2つのデータセットのあいだに強い関係がないことを教えてくれる。

Positive and Negative Linear Relationships正と負の線形の関係

Another way to assess whether there is a relationship between two datasets in a scatter plot is to see if the points seem to be clustered around a line (specifically, a line that’s not horizontal). The stronger the clustering around that line is, the stronger the relationship.
英語のヒント
散布図で2つのデータセットのあいだに関係があるかを評価するもう1つの方法は、点が線(具体的には水平でない線)のまわりに集まっているように見えるかを見ることである。その線のまわりの集まりが強いほど、関係は強い。
Once we’ve established that there’s a relationship worth exploring, it’s time to start quantifying that relationship. Two datasets have a positive linear relationship if the values of the response tend to increase, on average, as the values of the explanatory variable increase. If the values of the response decrease with increasing values of the explanatory variable, then there is a negative linear relationship between the two datasets. The strength of the relationship is determined by how closely the scatter plot follows a single straight line: the closer the points are to that line, the stronger the relationship. The scatter plots in Figure 8.74 to Figure 8.80 depict varying strengths and directions of linear relationships.
英語のヒント
調べる価値のある関係があるとわかったら、その関係を数値にし始める時である。説明変数の値が増えるにつれて応答の値が平均して増える傾向があるなら、2つのデータセットには正の線形の関係がある。説明変数の値が増えるにつれて応答の値が減るなら、2つのデータセットのあいだには負の線形の関係がある。関係の強さは、散布図が1本の直線にどれだけ近く従うかで決まる。点がその線に近いほど、関係は強い。図8.74から図8.80までの散布図は、線形の関係のさまざまな強さと向きを描いている。
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 210 to 290, in increments of 10. The points are arranged in linear decreasing order in a single row. Some of the points are as follows: (32, 288), (40, 280), (60, 260), (70, 250), (90, 230), and (100, 220). Note: all values are approximate.
Figure 8.79図8.79
Perfect negative relationship
英語のヒント
完全な負の関係
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 200 to 300, in increments of 20. The points are arranged in linear decreasing order in multiple rows. Some of the points are as follows: (32, 287), (40, 281), (60, 260), (70, 245), (90, 230), and (100, 225). Note: all values are approximate.
Figure 8.80図8.80
Strong negative relationship
英語のヒント
強い負の関係
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 150 to 350, in increments of 50. The points are scattered throughout. Most points lie from 30 to 100 on the horizontal axis and 200 to 300 on the vertical axis.
Figure 8.81図8.81
Weak negative relationship
英語のヒント
弱い負の関係
A scatter plot. The x-axis ranges from 30 to 110, in increments of 10. The y-axis ranges from 0 to 250, in increments of 50. The points are scattered throughout. Most points lie from 30 to 105 on the horizontal axis and 50 to 250 on the vertical axis.
Figure 8.82図8.82
No relationship
英語のヒント
関係なし
A scatter plot. The x-axis ranges from 20 to 110, in increments of 10. The y-axis ranges from 300 to 500, in increments of 20. The points are scattered at the center of the graph. Most points lie from 50 to 90 on the horizontal axis and 340 to 440 on the vertical axis.
Figure 8.83図8.83
Weak positive relationship
英語のヒント
弱い正の関係
A scatter plot. The x-axis ranges from 20 to 110, in increments of 10. The y-axis ranges from 300 to 500, in increments of 20. The points are scattered in linear increasing order in a single row. Some of the points are as follows: (27, 345), (40, 360), (60, 380), (70, 390), (80, 400), and (100, 420). Note: all values are approximate.
Figure 8.84図8.84
Strong positive relationship
英語のヒント
強い正の関係
A scatter plot. The x-axis ranges from 20 to 110, in increments of 10. The y-axis ranges from 300 to 500, in increments of 20. The points are scattered in linear increasing order in a single row. Some of the points are as follows: (27, 345), (40, 360), (60, 380), (70, 390), (80, 400), and (100, 420). Note: all values are approximate.
Figure 8.85図8.85
Perfect positive relationship
英語のヒント
完全な正の関係
The strength and direction (positive or negative) of a linear relationship can also be measured with a statistic called the correlation coefficient (denoted r). Positive values of r indicate a positive relationship, while negative values of r indicate a negative relationship. Values of r close to 0 indicate a weak relationship, while values close to ±1 correspond to a very strong relationship. Looking again at Figure 8.74 to Figure 8.80, the correlation coefficients for each, in sequential order, are: ‒1, ‒0.97, ‒0.55, ‒0.03, 0.61, 0.97, and 1.
英語のヒント
線形の関係の強さと向き(正か負か)は、相関係数(rと書く)という統計量でも測れる。rの正の値は正の関係を示し、rの負の値は負の関係を示す。rの値が0に近いと弱い関係を示し、±1に近いととても強い関係にあたる。図8.74から図8.80までをもう一度見ると、それぞれの相関係数は順に、‒1、‒0.97、‒0.55、‒0.03、0.61、0.97、1である。
There’s no firm rule that establishes a cutoff value of r to divide strong relationships from weak ones, but ±0.7 is often given as the dividing line (i.e., if r>0.7 or r<-0.7 the relationship is strong, and if -0.7<r<0.7 the relationship is weak).
英語のヒント
強い関係と弱い関係を分けるrの境界の値を定める厳しい決まりはないが、±0.7が境界線としてよく挙げられる(つまり、r>0.7かr<-0.7なら関係は強く、-0.7<r<0.7なら関係は弱い)。
The formula for computing r is very complicated; it’s almost never done without technology. Google Sheets will do the computation for you using the CORREL function. The syntax works like this: if your explanatory values are in cells A2 to A50 and the corresponding response values are in B2 to B50, then you can find the correlation coefficient by entering “=CORREL(A2:A50, B2:B50)”. (Note that the order doesn’t matter for correlation coefficients; “=CORREL(B2:B50, A2:A50)” will give the same result.)
英語のヒント
rを計算する公式はとても複雑で、計算機器なしで行うことはほとんどない。Google SheetsはCORREL関数を使って計算してくれる。書き方は次のとおりである。説明の値がセルA2からA50に、対応する応答の値がB2からB50にあるなら、「=CORREL(A2:A50, B2:B50)」と入力して相関係数を求められる。(相関係数では順序は問題にならないことに注意しよう。「=CORREL(B2:B50, A2:A50)」も同じ結果を与える。)
Let’s put all of this together in an example.
英語のヒント
これらすべてを例で合わせよう。
Example 8.47例題 8.47
Interpreting Scatter Plots散布図を解釈する
Consider the four scatter plots below:
英語のヒント
下の4つの散布図を考える:
  1. A scatter plot shows points arranged in a parabolic path. The x-axis ranges from 30 to 20, in increments of 10. The y-axis ranges from negative 10 to 60, in increments of 10. The points are scattered in the form of an open upward parabola. Some of the points are as follows: (negative 20, 45), (negative 10, 10), (0, 0), (10, 10), and (15, 22). Note: all values are approximate.
    Figure 8.86図8.86
  1. A scatter plot shows points arranged in increasing order. The x-axis ranges from 30 to 20, in increments of 10. The y-axis ranges from negative 100 to 150, in increments of 50. The points are scattered in increasing order. Some of the points are as follows: (negative 20, negative 50), (negative 10, 0), (0, 40), (10, 75), and (15, 100). Note: all values are approximate.
    Figure 8.87図8.87
  1. A scatter plot shows points arranged in decreasing order. The x-axis ranges from 30 to 20, in increments of 10. The y-axis ranges from negative 20 to 20, in increments of 10. The points are scattered in decreasing order. Some of the points are as follows: (negative 20, 10), (negative 10, 5), (0, 0), (10, negative 5), and (15, negative 15). Note: all values are approximate.
    Figure 8.88図8.88
  1. A scatter plot. The x-axis ranges from 30 to 20, in increments of 10. The y-axis ranges from 0 to 40, in increments of 5. The points are scattered throughout and the points lie from negative 20 to 15 on the horizontal axis and 0 to 30 on the vertical axis.
    Figure 8.89図8.89
For each of these, answer the following questions:
英語のヒント
これらのそれぞれについて、次の問いに答えよ:
  1. Is there a curved pattern in the data? If yes, stop here. If no, continue to part b.
    英語のヒント
    データに曲線のパターンがあるか。はいなら、ここで止める。いいえなら、問いbに進む。
  2. Classify the strength and direction of the relationship. Make a guess at the value of r.
    英語のヒント
    関係の強さと向きを分類せよ。rの値を予想せよ。
Solution解答
    1. Yes, there is a curved pattern.
      英語のヒント
      はい、曲線のパターンがある。
    1. No, there’s no curved pattern.
      英語のヒント
      いいえ、曲線のパターンはない。
    2. Since the points tend upward as we move from left to right, this is a positive relationship. The points seem pretty closely grouped around a line, so it’s fairly strong. Comparing this scatter plot to those in Figure 8.79 to Figure 8.85, we can see that the relationship is stronger than the one in Figure 8.83 (r=0.61 ) but not as strong as the one in Figure 8.84 (r=0.97). So, the value of the correlation coefficient is somewhere between the two. We might guess that r=0.9.
      英語のヒント
      左から右へ進むと点が上向きの傾向があるので、これは正の関係である。点は線のまわりにかなり近く集まっているようなので、かなり強い。この散布図を図8.79から図8.85までのものと比べると、関係は図8.83のもの(r=0.61 )より強いが、図8.84のもの(r=0.97)ほど強くない。だから、相関係数の値はその2つのあいだのどこかである。r=0.9と予想できるかもしれない。
    1. No, there’s no curved pattern.
      英語のヒント
      いいえ、曲線のパターンはない。
    2. Since the points tend downward as we move from left to right, this is a negative relationship. The points are not tightly grouped around a line, but the pattern is clear. It looks like it has approximately the same strength as the plot in Figure 8.83, just with the opposite sign. So, we might guess that r=-0.6.
      英語のヒント
      左から右へ進むと点が下向きの傾向があるので、これは負の関係である。点は線のまわりにきつく集まってはいないが、パターンははっきりしている。図8.83の図とほぼ同じ強さで、符号だけが逆のようである。だから、r=-0.6と予想できるかもしれない。
    1. No, there’s no curved pattern.
      英語のヒント
      いいえ、曲線のパターンはない。
    2. Since the points don’t really tend upward or downward as we move from left to right, there is no real relationship here. Thus, r≈0.
      英語のヒント
      左から右へ進んでも点は上向きにも下向きにもあまり傾向がないので、ここには実際の関係はない。したがって、r≈0である。
Example 8.48例題 8.48
Finding the Correlation Coefficient相関係数を求める
The data that were plotted in the previous example can be found in the dataset “correlationcoefficient1”. All of them share the same values for the explanatory variable x. The four responses are labeled y1 through y4. Compute the correlation coefficients for each, if appropriate, using Google Sheets. Round to the nearest hundredth.
英語のヒント
前の例題でプロットしたデータは、データセット「correlationcoefficient1」にある。どれも説明変数xの値は同じである。4つの応答にはy1からy4のラベルがついている。適切なら、Google Sheetsを使ってそれぞれの相関係数を計算せよ。小数第2位に四捨五入せよ。
Solution解答
Step 1: There is a curved pattern in the data, so the correlation coefficient isn’t meaningful.
英語のヒント
手順1:データに曲線のパターンがあるので、相関係数は意味がない。
Step 2: Using “=CORREL(A2:A101, C2:C101)” we get r=0.89.
英語のヒント
手順2:「=CORREL(A2:A101, C2:C101)」を使うと、r=0.89が得られる。
Step 3: Using “=CORREL(A2:A101, D2:D101)” we get r=-0.66.
英語のヒント
手順3:「=CORREL(A2:A101, D2:D101)」を使うと、r=-0.66が得られる。
Step 4: Using “=CORREL(A2:A101, E2:E101)” we get r=-0.04.
英語のヒント
手順4:「=CORREL(A2:A101, E2:E101)」を使うと、r=-0.04が得られる。