MSCA 602 Session 3: Linear Least-Squares 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/30

encourage image

There's no tags or description

Looks like no tags are added yet.

31 Terms

1
New cards

Population vs. sample model

Population: Y = α + βX + ε (unknown). Sample: Y = A + BX + E (estimated).

2
New cards

Fitted value

Ŷ = A + BX, the line's prediction.

3
New cards

Residual

E = Y − Ŷ (actual minus predicted); vertical distance to the line. Positive = above the line (underprediction); negative = below (overprediction). Same units as Y.

4
New cards

Why least squares (not the plain sum of residuals)

The plain sum lets positive and negative residuals cancel. Squaring makes all positive and gives a closed-form solution. Drawback: sensitive to outliers (squaring magnifies large errors).

5
New cards

Least absolute values (LAV)

Minimizes Σ|E|; robust to outliers but has no closed-form solution.

6
New cards

Slope formula

B = Σ(X − X̄)(Y − Ȳ) / Σ(X − X̄)² (how X and Y move together ÷ how much X moves).

7
New cards

Intercept formula

A = Ȳ − B·X̄ → the line passes through the point of means (X̄, Ȳ).

8
New cards

Properties of the least-squares line

Passes through (X̄, Ȳ); residuals sum to 0; residuals uncorrelated with X and Ŷ.

9
New cards

Davis calculation: Σ(X−X̄)(Y−Ȳ) = 4359.33, Σ(X−X̄)² = 4470, X̄ = 56.67, Ȳ = 57.19

B = 4359.33/4470 = 0.975; A = 57.19 − 0.975 × 56.67 ≈ 1.93. Ŷ = 1.93 + 0.975X.

10
New cards

Interpret Davis slope 0.975

"A 1 kg increase in reported weight is associated with an average increase of 0.975 kg in measured weight." Cross-sectional: compares different women, not change over time.

11
New cards

Interpret Davis intercept 1.93

Predicted measured weight when reported weight = 0; outside the data, so not meaningful.

12
New cards

Perfect self-reporting benchmark

A = 0 and B = 1 (the line Y = X). Davis: 1.93 ≈ 0, 0.975 ≈ 1 → accurate reporting.

13
New cards

Residual standard error formula

SE = √(RSS / (n − 2)) for simple regression; √(RSS / (n − k − 1)) for multiple. Typical prediction error, in units of Y.

14
New cards

Davis SE = 2.03 kg: interpret

Predictions are typically off by about 2 kg; ~95% of residuals within ±4 kg (±2 SE).

15
New cards

TSS

Σ(Y − Ȳ)²: total variation in Y; error from predicting the mean for everyone (baseline).

16
New cards

RSS

Σ(Y − Ŷ)²: variation left unexplained after the regression.

17
New cards

RegSS

Σ(Ŷ − Ȳ)²: variation explained by the regression = TSS − RSS.

18
New cards

ANOVA identity

TSS = RegSS + RSS (total = explained + unexplained). RSS ≤ TSS always.

19
New cards

R² formula

R² = RegSS / TSS = 1 − RSS / TSS. Share of variation in Y explained (0 to 1, unitless).

20
New cards

Davis: TSS = 4649.35, RSS = 397.95

RegSS = 4251.40; R² = 4251.40/4649.35 = 0.914 (91.4% explained); SE = √(397.95/97) = 2.03 kg.

21
New cards

R² and r in simple regression

R² = r²; r = √R² with the sign of the slope. Davis: r = √0.914 = 0.956.

22
New cards

r = 0 but a U-shaped plot

r measures only LINEAR association. A strong curved relationship can have r = 0. r = 0 means "no linear relationship," not "no relationship."

23
New cards

r vs. slope B

r is symmetric, unitless, unchanged by rescaling. B depends on which variable is Y and on units.

24
New cards

Multiple regression slope Bⱼ

Change in Y for a 1-unit increase in Xⱼ, holding the other Xs constant (partial effect). Fit is a plane with 2 Xs.

25
New cards

Duncan multiple regression

Prestige = −6.06 + 0.599·Income + 0.546·Education; R² = 0.828; SE = 13.37.

26
New cards

Interpret Duncan education 0.546

"Holding income constant, a 1-unit increase in education is associated with an average increase of 0.55 in prestige."

27
New cards

Marginal (0.902) vs. partial (0.546) education effect

Simple regression = marginal: direct effect + indirect effect through income. Multiple regression = partial: holding income constant blocks the indirect path → direct effect only. 0.902 − 0.546 = 0.356 runs through income.

28
New cards

Collinear (perfectly correlated) Xs in multiple regression

No unique solution; separate coefficients can't be estimated.

29
New cards

Degrees of freedom

n − k − 1 (k = number of Xs). Duncan: 45 − 2 − 1 = 42.

30
New cards

R (multiple correlation)

R = √R² = correlation between Y and Ŷ.

31
New cards

Units matter (Prestige income 0.001314 per $)

Looks tiny, but per $1,000 = 1.31 prestige points. Can't compare raw slopes across variables with different units.