00:01
This question we're told that we have a regression study with y as the dependent variable.
00:06
We have a quantitative independent variable x1 and a categorical variable with three possible levels, level 1, 2, and 3.
00:22
1, 2, and 3.
00:27
And we're asked in part a, how many dummy variables are required to represent? represent the categorical variables.
00:36
So we have three levels in the categorical variables.
00:39
So the number of dummy variables that are needed is always k minus 1.
00:50
So that's 3 minus 1, which gives us 2, which is our answer to part a.
00:59
Now in part b, we're asked to write a multiple regression equation relating x1 and the categorical variable to y.
01:07
So relating x1.
01:09
As well as the categorical theory.
01:15
So we know that from part a, we need two dummy variables to represent the categorical variable.
01:22
So we need two dummy variables, x2 and x3, which we can basically say represent level 1, 2, and 3 as 0, 0, 1, and 1 ,0.
01:39
So our multiple regression equation here is y is equals to beta 0, which is the intercept plus beta 1x1, which is our quantitative variable plus beta 2x2 plus beta 3x3.
02:01
And that's our multiple regression equation for this question and the answer to part p...