MPC-006 · Block 2 · Revision sheet
Correlation and regression
Pearson correlation
r = Σ[(x − x̄)(y − ȳ)] / √{Σ(x − x̄)² Σ(y − ȳ)²}. It summarises the direction and strength of a linear relationship. Inspect the scatterplot and unusual observations. A near-zero r does not rule out a nonlinear relationship.
Other and adjusted relationships
Phi applies to two dichotomous variables: φ = (ad − bc) / √[(a+b)(c+d)(a+c)(b+d)] for a specified 2×2 arrangement. Partial correlation adjusts for specified variables; multiple correlation relates an outcome to a set of predictors. Statistical adjustment does not by itself remove all confounding.
Simple regression
ŷ = a + bx, where b = Σ[(x − x̄)(y − ȳ)] / Σ(x − x̄)² and a = ȳ − bx̄. A slope is the predicted change in y per unit x; its meaning depends on units and the fitted model. A residual is y − ŷ.
Prediction limits
Multiple regression includes several predictors and interprets each coefficient conditional on the others. Examine linearity, residual patterns and influential observations. Avoid extrapolating far outside the data. Association or successful prediction alone does not establish causation.