00:01
So to answer this question, i have a model which predicts what the sleep pattern is going to be for different individuals.
00:17
And the explanatory variables are of course total work hours, the level of education, the age of the individual, where they have a young kid at home and the gender of the individual.
00:29
What we want to write down is a model that allows for varying, of you which is the error term to differ between men and women so the first thing that we write is what that model is going to look like so you want the variance of the error term to be a function of the gender of the individual and we're going to say that male is going to take a value one if the the particular individual is a male and zero otherwise.
01:14
So we will be estimating this equation eventually, but this is going to be our model which allows for a different variance of the error term for the male and the female.
01:30
Now the second part of the question is, use the data in sleep 75 to estimate the parameters of the model for heteroscadasticity.
01:37
So to answer part two, this was part one, what i do is estimate the main model, which is this.
02:34
So i'm going to regress this equation, get the predicted values of the sleep, and then based on the predicted value, i can get the measure of you, which is going to be sleep net of the predicted values of sleep.
03:10
Okay, so once i have you, i will have the left -end term of this equation which i want to estimate...