Re: [R] Breusch-pagan and white test - check homoscedasticity

2009-10-16 Thread Achim Zeileis
On Fri, 16 Oct 2009, Gautier RENAULT wrote: Hi r-programmers, I performe Breusch-Pagan tests (bptest in package lmtest) to check the homoscedasticity of the residuals from a linear model and I carry out carry out White's test via bptest (formula, ~ x * z + I(x^2) + I(z^2)) include all regressor

[R] Breusch-pagan and white test - check homoscedasticity

2009-10-16 Thread Gautier RENAULT
Hi r-programmers, I performe Breusch-Pagan tests (bptest in package lmtest) to check the homoscedasticity of the residuals from a linear model and I carry out carry out White's test via bptest (formula, ~ x * z + I(x^2) + I(z^2)) include all regressors and the squares/cross-products in the auxilia