Key formulas
R² Formula
R² = 1 − (SSE / SST), where SST = Σ(yᵢ − ȳ)² and SSE = Σ(yᵢ − ŷᵢ)²
From the Regression & Correlation formula sheet
- Least-Squares Regression Line:
yhat = a + bx— Line that minimizes the sum of squared residuals. - Pearson Correlation:
r = sum((x_i-xbar)(y_i-ybar)) / sqrt(sum((x_i-xbar)^2)sum((y_i-ybar)^2))— Measures direction and strength of a linear association.