Re: [R] Heteroskedasticity test

From: Richard M. Heiberger <rmh_at_temple.edu>
Date: Fri 29 Sep 2006 - 18:07:48 GMT


The Brown-Forsyth test for homogeneity of variance is included in the HH package, downloadable from CRAN.

library(HH)
x <- c(rnorm(1000), rnorm(1000, 0, 1.2)) tmp <- data.frame(x=x, group=rep(c("s1","s1.2"), c(1000,1000))) plot.hov(x ~ group, data=tmp)
hov(x ~ group, data=tmp)



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat Sep 30 04:11:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 29 Sep 2006 - 18:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.