Lesson 6 of 9 · All lessons in this module
- The regression model and least squares
- Interpreting coefficients, fitted values and residuals
- The four assumptions and residual plotsVideo lesson
- Sums of squares, \(R^2\), the ANOVA table and the SEEVideo lesson
- Testing the slope: t-test, correlation test and F-testVideo lesson
- Intercept tests, indicator variables and p-values
- Forecasts and prediction intervals
- Functional forms: log-lin, lin-log and log-logVideo lesson
- Integrated cases: reading a full regression printout
Lesson 6 of 9 · 13 min
Intercept tests, indicator variables and p-values
The 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.
In short
- Intercept test: , df = n − 2, with .
- Indicator (dummy) variable: X = 0 or 1. Intercept = mean of Y when X = 0; slope = difference in means between the two groups.
- A t-test on a dummy's slope is a test of whether the two group means differ.
- p-value: the smallest significance level at which can be rejected. Reject if p-value < .
- Lowering cuts the chance of a Type I error but raises the chance of a Type II error.
Unlock this lesson free for 7 days
Create a free account to get 7 days free: every lesson, video and flashcard, and the question bank. No card needed.