相関
導入済み
7:48
二変量データの探索
ある小学校から三十人の子供。各子供について二つの数値:靴のサイズと読力テストの得点。子供ごとに一点プロットする。パターンを把握するのは難しい…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| linear trend | |
| Correlation/ˌkɒrɪˈleɪʃn/ | |
| linear relationship/ˈlɪnɪə rɪˈleɪʃənʃɪp/ | |
| linear association | |
| variable/ˈveərɪəbl/ | A characteristic recorded for each individual, such as height or eye colour. |
| Positive correlation/ˈpɒzɪtɪv ˌkɒrɪˈleɪʃn/ | |
| negative correlation/ˈneɡətɪv ˌkɒrɪˈleɪʃn/ | |
| curve/kɜːv/ | A curved pattern in a residual plot, showing a linear model is unsuitable. |
| outlier/ˈaʊtlaɪə/ | An observation unusually far from the rest of the data or from the pattern expected under a model. |
| scatterplot/ˈskætəplɒt/ | A plot of paired data as points, showing form, direction, strength and outliers. |
| causation/kɔːˈseɪʃn/ | A relationship in which a change or event helps bring about another change or event. |
| lurking variable | |
| experiment/ekˈsperɪmənt/ | A planned investigation in which conditions or treatments are manipulated to observe their effects. |
| not resistant | |
| datasets |
直線的な傾向を表す一つの数値
- 相関係数 $r$ は、直線的な関係の強さと方向を表す単一の数値である。
- その符号は方向と一致する:$r>0$ が正、$r<0$ が負。
- その絶対値は密さを表す:$\pm 1$ に近いほど直線が密、$0$ に近いほど直線的な傾向がない。
- $r$ は「 fairly strong」という主観的な表現を、正確で比較可能な数値に変換する。
−1 と 1 の間にある
- 相関係数は境界を持つ:$-1 \le r \le 1$ で常に。
- $r=+1$ :完全な増加直線;$r=-1$ :完全な減少直線。
- $r=0$ :直線的な相関がない(データ点は非直線的なパターンを持つ可能性がある)。
- $r$ は単位を持たず、どちらの変数を $x$ (応答変数)とするか交代しても値は変わらない。

正の相関は共に上昇し、負の相関は逆方向に動く

r が誤解を生む場合
- $r$ は直線的な強さのみを測る — 強い曲線でも中間的な $r$ を与えることがある。
- 単一の外れ値が $r$ を劇的に引き上げるか下げる。
- したがって、必ず散布図を見る前に $r$ を報告してはならない。
- 曲線や外れ値の影響を受けたプロットでの高い $r$ は、誤った要約となる。
相関は因果関係ではない
- 高い $r$ は変数が一緒に動くことを示すだけで、片方が他を原因すると意味しない。
- アイスクリームの販売量と溺水死は相関する — どちらも夏に増える(暑さは隠れた変数)。
- 因果関係を確立するには、単なる高い相関だけでなく実験が必要である。
- 「相関は因果を意味しない」が、この単元の基本原則である。
$r$ は直線的な指標であり、頑健性(ロバスト) を持たない。曲線的な関係では変数が密接に関連していても$r$ は小さく、また一箇所の外れ値が$r$ を大きく上下させる。$r$ を信じる前に必ず散布図を見る — また、高い$r$ が決して因果関係を証明するものではないことを忘れること。
2つのデータセットは共に$r \approx 0.2$ を持つ。
- データセットA: 本物の弱い、ばらついた直線的な傾向 — $r=0.2$ は誠実である。
- データセットB: 強いU字型の曲線 — 直線的な$r$ は$0$ に近く、真の関係を隠している。
- 同じ$r$ だが全く異なる物語 — 故にプロットを見なければならない。
相関係数 $r$ は直線的な関係の強さと方向を測り、$-1 \le r \le 1$ (符号=方向、絶対値=密さ、単位なし)を持つ。曲線データや外れ値がある場合は誤解を招くため、必ず散布図を確認すること — さらに、相関は決して因果関係を意味しない。
相関係数が負の0.9であることからを書く
- 散布図は右下がりの傾きを示し、点は直線に沿って分布しています。
- 相関係数は0.9の負の値です。
A scatterplot slopes downward, the points hug a straight line, and r=−0.9. Interpret its direction and strength.
The sign is direction. The size is strength.
What does r equal to negative 0.9 mean?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Close to negative 1 is a strong downward line.
Correlation and the point cloud
Increase the magnitude of the correlation and the points hug the line more tightly.
What is the largest possible value of a correlation coefficient r?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
r ranges from −1 to 1, so the maximum is 1.
A correlation of r = 0 means there is definitely no relationship of any kind between the variables.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
r = 0 means no LINEAR relationship; a strong curve can still exist.
Ice-cream sales and drownings both rise in summer, giving a high correlation. This is best explained by...
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Summer heat drives both — correlation without causation.
Which can make r a misleading summary?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
r is unitless; the real traps are curves, outliers, and skipping the plot.
Correlation r measures the strength and direction of a ___ relationship (one word).
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
r captures linear strength only.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。