On Mon, 8 Sep 2014, Iuri Gavronski wrote:
Hi,
I am trying to test for heteroskedascity in an OLS model, but I am not
able to run the white.test() if the model has dummy variables built
from factors. Any suggestions?
The White test is equivalent to the Breusch-Pagan test with an auxiliary
mod
Hi,
I am trying to test for heteroskedascity in an OLS model, but I am not
able to run the white.test() if the model has dummy variables built
from factors. Any suggestions?
Please find a reproducible code below:
myswiss <- swiss
myswiss$fert <- ifelse(
myswiss$Fertility>70,
"High","Low")
mysw
2 matches
Mail list logo