Finance Brain
Sign in
← Back to decks
Sign in to save your progress.Sign in

Regression Lines, R-Squared and Their Limits

A simple regression fits a straight line that explains one variable with another. This lesson covers the slope and intercept, how variation splits into explained and unexplained parts, R-squared and the standard error of estimate, testing and prediction, and the assumptions that can fail.

10 cards
Study this deck

Regression Lines, R-Squared and Their Limits

In this lesson · 5 sections

Terms you'll meet

Tap a card to see what it means.

Step 1 of 5

A simple regression fits a straight line that explains one variable with another. This lesson covers the slope and intercept, how variation splits into explained and unexplained parts, R-squared and the standard error of estimate, testing and prediction, and the assumptions that can fail.

The least squares line

A simple linear regression models a dependent variable Y with one independent variable X:

Y_i = b_0 + b_1 x X_i + e_i

where b_0 is the intercept, b_1 the slope and e_i the residual (the part of Y the line misses). Ordinary least squares chooses the line that minimizes the sum of squared residuals, which gives:

b_1 = Cov(X, Y) / Var(X), and b_0 = mean of Y - b_1 x mean of X

so the line always passes through the two means.

Example: a building-supplies distributor compares its revenue growth (Y) with the change in local housing starts (X) over five years. X: 1, 3, 5, 7, 9. Y: 2, 5, 4, 8, 11 (all in %). The means are 5 and 6. The cross-products of deviations sum to 42 and the squared X deviations to 40, so b_1 = 42 / 40 = 1.05 and b_0 = 6 - 1.05 x 5 = 0.75. Each extra point of housing-start growth goes with 1.05 points of revenue growth; the intercept is the fitted Y when X is zero.