Introducing Simple Linear Regression
Overview
Andy Baker explains how simple linear regression uses one variable to predict another, unlike symmetric, descriptive correlation. He defines the regression equation, slope, intercept, residuals, R², and SPSS output, then shows how to interpret predictions while checking assumptions and avoiding causal claims.
Key takeaways
- Regression requires choosing a predictor and an outcome, so predicting height from shoe size is a different model from predicting shoe size from height.
- In Ŷ = A + BX, the slope B is the predicted outcome change per one-unit increase in X, while the intercept A is the prediction at X = 0.
- Residuals measure prediction errors as actual Y minus predicted Ŷ; the regression line minimizes their squared values, and larger residuals indicate less accurate predictions.
- R² describes the share of outcome variation linearly associated with the predictor, not the share caused by it.
- Linearity, independent observations, constant residual spread, limited influential outliers, and approximately normal residuals are key conditions for trustworthy regression.
- A high R² from five commuter students or five neighborhood tracts can describe a strong sample relationship but is not enough to establish a reliable finding for a larger population.
Chapters
- Correlation is symmetric: height and shoe size move together, but neither variable is designated as the predictor.
- Regression is asymmetric: education can predict income, poverty can predict graduation rates, or study hours can predict exam scores, with the choice changing the prediction.
- The sample regression equation is Ŷ = A + BX: A is the predicted outcome when X is zero, and B is the predicted change in Y for a one-unit increase in X.
- The null hypothesis tests whether the population slope β equals zero, meaning no linear relationship; the sample slope is denoted b or B.
- In SPSS, the predictor coefficient is the slope, the unstandardized B for the constant is the intercept, and Sig reports the slope's p-value.
- A residual is actual Y minus predicted Ŷ: positive values are above the prediction, negative values below it, and the fitted line minimizes squared residuals.
- R² is the proportion of variance in the outcome linearly associated with the predictor; years of education explains about 23.5% of variation in job prestige in Baker's example.
- A standard error of estimate of 12.119 means job-prestige predictions are typically off by about 12 points.
- A reliable linear model assumes a straight-line pattern, independent observations, roughly constant residual spread (homoscedasticity), no influential outliers, and approximately normal residuals.
- For college-graduate share and median income, the equation 22.4 + 1.52X predicts $60,400 at X = 25, with R² = 0.91 across five tracts.
- For campus-center hours and GPA, 0.095X + 2.15 predicts a GPA of 2.82 at seven hours; an actual GPA of 3.0 gives a positive residual of 0.18.
- Neighborhood poverty and crime have R² = 0.34, while commuter distance and stress have R² = 0.92 in only five students; neither association proves causation or supports broad conclusions from tiny samples.
Transcript excerpt
0:00 Last time we used correlation, Pearson's R, to describe the strength and direction of a linear relationship. Regression takes the next step. It lets us predict the value of one variable from the other if the two variables are highly correlated. Key distinction. Correlation just tells us these two things move together. Taller kids usually have bigger shoes. Shorter kids usually have smaller shoes. It works the same both ways. You could say height and shoe size go together or shoe size and height go together. It's the exact same relationship. Nobody is deciding that one causes or predicts the other. It's just describing how the
0:50 two things rise and fall together. So we use the terms to describe correlation as symmetric. It's the same both ways and it's descriptive. It only describes. Regression is different. Now you pick one thing to be the predictor and the other to be what you're trying to guess. You can say if I know how tall someone is, I can make a pretty good guess about their shoe size. Or you could flip it. If I know their shoe size, I can guess their height. These are two different predictions. The math and the answers change depending on which one you choose as the starting point, our predictor, and which one you're trying to predict the
1:38 outcome. That's why we say regression is asymmetric. The direction matters. And predictive because you're trying to predict one from the other. So we must choose which one is the predictor and we call that the independent variable. And which one is the outcome, which we call the dependent variable. So in our questions, if a person has two more years of education, how much higher is their predicted income? Income is dependent. Education is the independent
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Andy Baker.