1/37
Looks like no tags are added yet.
Outlier / discrepancy
An observation with an unusual Y given its X values (large residual). Measured by the studentized residual.
Leverage
An observation with unusual X values, far from the center of the Xs. Measured by the hat-value. Depends only on X.
Influence
Removing the observation substantially changes the regression coefficients. Measured by Cook's D.
Key heuristic
Influence = Leverage × Discrepancy. Influence requires both.
Slide 19 (a): outlier in the middle of X
Low leverage + high discrepancy → little influence (lines with/without barely differ).
Slide 19 (b): outlier far right, off the line
High leverage + high discrepancy → highly influential (slope changes a lot).
Slide 19 (c): far right but on the line
High leverage, no discrepancy → not influential; actually makes the slope more precise.
Davis case 12
Woman recorded as 166 kg / 57 cm; weight and height swapped (really 57 kg). Reported 56 kg.
Davis Regression 1 (reported ~ measured): case 12
X = 166 kg is extreme → h = 0.71 (≈33× average); studentized residual −24.3; Cook's D 85.9 → hugely influential. Created a false significant interaction (−0.725, p < 0.001 → −0.057, p = 0.142 after fix). R² 0.887 → 0.974; SE 4.66 → 2.24.
Davis Regression 2 (measured ~ reported): case 12
X = 56 kg is ordinary → low leverage (h = 0.01); huge residual (48.2). Coefficients barely change (slope 0.969 both), but R² 0.70 vs. 0.97, SE 8.45 vs. 2.25, coefficient SEs ~4× larger.
Lesson from Davis Regressions 1 vs. 2
The same point can be influential in one model and not another, depending on whether it's unusual in X. A non-influential outlier can still inflate SEs and lower R².
Before/after table: coefficients change a lot
The point is influential (high leverage + large residual).
Before/after table: coefficients same but R² and SE change a lot
Low-leverage outlier: hurts fit and precision, not the estimates.
Hat-value meaning
Ŷᵢ = Σ hᵢⱼYⱼ; hᵢ is the weight of a point's own Y in its own fitted value. High h pulls the line toward the point.
Hat-value range and average
1/n ≤ hᵢ ≤ 1; average h̄ = (k + 1)/n.
Hat-value cutoffs
Flag hᵢ > 2h̄; in small samples use 3h̄.
Simple regression hat-value
hᵢ = 1/n + (Xᵢ − X̄)² / Σ(X − X̄)²: distance from the mean of X.
Leverage in multiple regression (slide 29)
Distance from the centroid accounting for correlation: an unusual COMBINATION of Xs can give high leverage even if no single X is extreme.
Duncan hat-values (n = 45, k = 2)
h̄ = 3/45 = 0.067; 2h̄ = 0.133; 3h̄ = 0.200. RR.engineer 0.27, conductor 0.19, minister 0.17 → high leverage.
Why ministers have high leverage
High education but low income: an unusual combination (below the income–education trend). Leverage counts distance in any direction.
Studentized residual formula
E*ᵢ = Eᵢ / [S_E(−i) √(1 − hᵢ)]. Uses the SE computed without point i and adjusts for leverage. Follows t with n − k − 2 df.
Why studentized (not ordinary) residuals
High-leverage points pull the line toward themselves, shrinking their own residuals; studentizing un-hides them.
Studentized residual rule of thumb
|E*| > 2 deserves a closer look (~5% exceed by chance).
Multiple-testing problem in outlier detection
Checking all n residuals = n tests; at 5%, some will look extreme by chance.
Bonferroni outlier test
Bonferroni p = n × unadjusted p (capped at 1). Reject (real outlier) if < α.
Duncan minister outlier test
E* = 3.13; unadjusted p = 0.0032; Bonferroni = 45 × 0.0032 = 0.143 > 0.05 → not a significant outlier.
Davis fixed: case 17
After fixing case 12, case 17 becomes the most extreme (E* = 4.05, Bonferroni p = 0.014). Fixing one point can unmask another.
Cook's distance formula
Dᵢ = [E*ᵢ² / (k + 1)] × [hᵢ / (1 − hᵢ)] = discrepancy × leverage.
Cook's D cutoff
Dᵢ > 4/(n − k − 1), or values that stand apart. Duncan: 4/42 = 0.095.
Duncan Cook's D
Minister 0.57 and conductor 0.22 → influential. RR.engineer 0.08 (high leverage, small residual) → not influential. Reporter 0.10 (big residual, low leverage) → limited.
Influence plot
x = hat-value, y = studentized residual, circle area = Cook's D. Reference lines E* = ±2 and h = 2h̄, 3h̄. Trouble: top-right / bottom-right corners.
Duncan influence plot classification
Minister: influential. Conductor: influential. RR.engineer: high leverage, not influential. Reporter: outlier, low influence.
Joint influence / masking
Two points can be jointly influential: deleting one leaves the other pulling, so neither looks influential alone. Or they can offset each other.
Added-variable plot
Plots residuals of Y on the other Xs vs. residuals of Xⱼ on the other Xs. Slope = Bⱼ from the full model. Shows the partial relationship and partial leverage on one coefficient.
Duncan AV plot for income
Minister (far left, above) and conductor (far right, below) both flatten the income slope. Removing them: income 0.599 → 0.867; education 0.546 → 0.332.
Should unusual data be deleted?
Not automatically. Investigate why. Data error → correct/remove. Real case → keep, analyze separately, add a predictor, transform, or use robust regression.
Robust regression
Downweights discrepant observations continuously instead of keep/delete.
Practical workflow
Hat-values → studentized residuals (+ Bonferroni) → Cook's D → influence and AV plots → investigate → decide thoughtfully.