10. Heteroscedasticity Flashcards
MLR5 homoscedasticity
The errors have the same variance irrespective of the values of the explanatory variables
Consequences of heteroscedasticity
- As long as the other Gauss Markov assumptions are valid, OLS still yields unbiased estimators
- OLS estimators are no longer efficient
- our formula for SE’s isn’t correct so our t tests and f tests could be wrong
How can you detect heteroscedasticity using graphs?
Plot a two way scatter between an explanatory variable and uhat. If the dispersion appears to change as the variable increases then this suggests heteroscedasticity
What is the name of the heteroscedasticity test?
The Breusch- Pagan test
How do you set up the Breusch Pagan test?
- Ho: errors are homoscedastic
- H1: there is heteroscedasticity of a specific form
- test statistic: the Breusch Pagan LM stat, which has a chi squared distribution with p degrees of freedom
What are the steps to doing the Breusch pagan test?
- Estimate model using OLS, compute the squared residuals
- Decide on the variable(s) Z, which you suspect are responsible for heteroscedasticity, let p= number of variables in Z
- Choose sig level, find CV in chi squared distribution
- Using OLS, estimate a model with dependent variable ûi^2 and explanatory variables are z, include constant
- Calculate Breusch pagan LM stat, LM=nR^2
- Reject null if LM>CV
How do you set up the white test?
- Ho: the errors are homoscedastic
- H1: there is heteroscedasticity of a general form
- test statistic: the white statistic which has chi squared distribution with p degrees of freedom
What are the steps of the white test?
- Estimate model using OLS, compute the squared residuals
- Generate the squares and the cross products of all the regressors (EVs) in the model.
- Choose sig level, find CV in chi squared distribution
- Using OLS, estimate a model with dependent variable ûi^2 and explanatory variables are z, include constant
- Calculate Breusch pagan LM stat, LM=nR^2
- Reject null if white stat>CV
How do you ask stata to conduct a white test
Run the regression you want to test. Type “estat imtest, white”
How do we ask stata to adjust the standard errors to account for heteroscedasticity?
We tell stata “regress lnCEOpay lnassets profit, vce(hc3)”
Why do we use OLS estimators even when there is heteroscedasticity if they aren’t efficient?
Weighted least squares estimation is more efficient but it’s complicated so is rarely used