Correlation & Simple Regression

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

37 Terms

1
New cards

Pearson r

• strength (0 to 1) + direction (+/−) • LINEAR relationships only • average cross-product of z-scores • scales don't matter • no prediction equation

2
New cards

r formula

• r = Σ(z_X × z_Y) / N • computational: [NΣXY − ΣXΣY] / √{[NΣX² − (ΣX)²][NΣY² − (ΣY)²]}

3
New cards

Shyness vs speeches example

• N = 6 • (642 − 960) / √(480 × 332) • r = −.797

4
New cards

Nonlinear relationship (effect on r)

• r understates the real relationship • e.g., Yerkes-Dodson inverted U • fix: scatterplot; transform (ln X, √X, X², 1/X, ln Y)

5
New cards

On-line outlier

• falls near the regression line • INFLATES r

6
New cards

Off-line outlier

• falls far from the regression line • DEFLATES r

7
New cards

Range restriction / truncated range

• limited range on one or both variables • DEFLATES r • e.g., correlating only among people hired

8
New cards

Range restriction correction

• I-O corrects predictor only (criterion's unrestricted SD rarely known) • Thorndike Case II: r_c = r(S/s) / √[1 − r² + r²(S²/s²)] • S = unrestricted SD, s = restricted SD

9
New cards

Sample size and r

• size of r doesn't depend on n • significance does • small n → chance correlations • huge n → trivial rs significant

10
New cards

Critical r at p = .05

• n = 50 → .28 • n = 100 → .20 • n = 200 → .14

11
New cards

Power for correlations (.80, α .05)

• ρ = .10 → N 782 • ρ = .20 → N 193 • ρ = .30 → N 84

12
New cards

Correlation vs causation

• X → Y? • Y → X? • third variable Z causes both?

13
New cards

Fisher z transformation

• z_r = ½ ln[(1 + r) / (1 − r)] • SE_z = 1 / √(n − 3) • near-normal; variance doesn't depend on ρ • not the same as z from a z-test

14
New cards

Why use Fisher z

• r's sampling distribution skewed for |ρ| ≥ ~.50 • r's variance depends on ρ

15
New cards

r to z values

• .30 → .31 • .50 → .55 • .70 → .87 • .90 → 1.47

16
New cards

Test 1: is ρ = 0?

• t = r√(N − 2) / √(1 − r²) • df = N − 2 • e.g., r = .25, N = 100 → t ≈ 2.56, significant

17
New cards

Test 2: is ρ a specific value?

• z = (z_r − z_ρ) × √(N − 3) • e.g., r = .54 vs ρ = .30, N = 200 → z = 4.13, significant

18
New cards

Test 3: two independent rs

• z = (z1 − z2) / √[1/(n1 − 3) + 1/(n2 − 3)] • e.g., .63 vs .70 → slide shows −1.18, ns • can run even if one r is ns

19
New cards

Test 4: 3+ independent rs

• Q = Σ(n − 3)(z − z̄)² • z̄ weighted by n − 3 • compare to χ², df = k − 1 • e.g., Q = 17.09 > 5.99 → not all ρ equal

20
New cards

Test 5: dependent rs (shared variable)

• Hotelling-Williams t • same sample • df = N − 3 • e.g., N = 101, r12 .4, r13 .6, r23 .3 → t ≈ −2.10 (my calculation; check slide)

21
New cards

Cosine similarity

• relationship among 3+ measures • cos = (d1 · d2) / (‖d1‖ × ‖d2‖) • 0 = orthogonal (90°) • equals r for centered, normalized vectors

22
New cards

Simple linear regression

• predicts Y from one X • turns a correlation into an equation • least squares: minimize Σ(Y − Y′)²

23
New cards

Regression equation

• Y′ = b0 + b1X (predicted) • Y = b0 + b1X + ε (actual)

24
New cards

Y′ (Y-hat)

• predicted score • falls on the regression line

25
New cards

Residual (ε)

• Y − Y′ • unexplained part of each score • unique for each person

26
New cards

Intercept (b0)

• predicted Y when X = 0 • b0 = mean Y − b1 × mean X

27
New cards

Slope (b1)

• change in Y per 1-unit change in X • in Y's units • b1 = r × (SD_Y / SD_X) = Cov(X, Y) / Var(X) • trap: needs r; never just the SD ratio

28
New cards

Slope rules

• r = 1 → slope = SD_Y / SD_X • r near 0 → slope near 0 • slope 0 → best prediction = mean of Y • line passes through (mean X, mean Y)

29
New cards

Slope worked example

• r .50, SD_Y 10, SD_X 2, mean X 5, mean Y 40 • b1 = 2.5, b0 = 27.5 • X = 8 → Y′ = 47.5

30
New cards

SST

• Σ(Y − mean Y)² • total variation

31
New cards

SSR

• Σ(Y′ − mean Y)² • explained (regression) variation

32
New cards

SSE

• Σ(Y − Y′)² • unexplained (residual) variation

33
New cards

Variance partition

• SST = SSR + SSE • same logic as ANOVA

34
New cards

r² (coefficient of determination)

• r² = SSR / SST = 1 − SSE / SST • proportion of Y's variance explained by X • shared variance (circle overlap) • trap: SSE / SST = unexplained share

35
New cards

Why residuals exist

• measurement error • missing predictors • sampling error • straight line is only an approximation

36
New cards

Standardized β in simple regression

• β = r

37
New cards

r vs r² trap

• r = .30 ≠ 30% explained • r² = .09 = 9% explain