Lesson 6 of 8 · 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 of full access — every lesson, video, flashcard, mock and the question bank. No card needed.