April 2008
M T W T F S S
« Mar   Jul »
 123456
78910111213
14151617181920
21222324252627
282930  

Heteroscedasticity

If a model is estimated using the following code:
lm(y~x1+x2)->p

1. bptest(p) does the Breuch Pagan test to formally check presence of heteroscedasticity. To use bptest, you will have to call lmtest library.

2. If the test is positive (low p value), you should see if any transformation of the dependent variable helps you eliminate heteroscedasticity. Also check if [...]