Simple Linear RegressionLocked: included in All Access
Simple linear regression explains the variation in one variable using one other variable. You learn how least squares fits the line, how to read the coefficients, which assumptions must hold, how to judge the fit with ANOVA, \(R^2\), the F-test and the standard error of the estimate, how to test coefficients, how to build a prediction interval, and how log transformations handle curved relationships.
Flashcards 45 cardsOpen- 1. The regression model and least squaresSimple linear regression explains the variation in Y with one variable X by fitting the straight line that makes the sum of squared vertical misses as small as possible.Locked: included in All Access14 min
- 2. Interpreting coefficients, fitted values and residualsThe slope tells you how much Y moves per one-unit move in X, the intercept tells you Y when X is zero, and each residual tells you how far an observation sits above or below the line.Locked: included in All Access12 min
- 3. The four assumptions and residual plotsOLS conclusions are valid only if the relationship is linear and the residuals have constant variance, are independent and are normally distributed. Residual plots are how you spot violations.Video · 7 minLocked: included in All Access13 min
- 4. Sums of squares, \(R^2\), the ANOVA table and the SEETotal variation in Y splits into the part the line explains (SSR) and the part it misses (SSE). The ANOVA table organises that split and gives , the F-statistic and the standard error of the estimate.Video · 6 minLocked: included in All Access14 min
- 5. Testing the slope: t-test, correlation test and F-testTo test a slope, divide (estimate − hypothesised value) by its standard error and compare with a t critical value with n − 2 degrees of freedom; the F-test and the correlation test give the same verdict on a zero slope.Video · 7 minLocked: included in All Access15 min
- 6. Intercept tests, indicator variables and p-valuesThe intercept is tested just like the slope; a 0/1 indicator variable turns the regression into a test of a difference in means; and the p-value tells you the smallest significance level at which you would reject.Locked: included in All Access13 min
- 7. Forecasts and prediction intervalsA forecast is a point on the fitted line; the prediction interval around it widens with the SEE, with a small sample and with how far the forecast X is from the mean of X.Locked: included in All Access13 min
- 8. Functional forms: log-lin, lin-log and log-logWhen the relationship is curved, transform Y, X or both with natural logs so that a straight line fits, then read the slope as a relative change and convert forecasts back.Video · 7 minLocked: included in All Access13 min
Unlock this module free for 7 days
Create a free account to get 7 days of full access — every lesson, video, flashcard, mock and the question bank. No card needed.