Kilian_Wasmer
2006-Oct-27 10:18 UTC
[R] Error using "White-corrected" Anova (white.adjust="hc3")
Hello. I try to compute a "White-corrected" ANOVA. Therefore I use the command "Anova" implemented in the car()-package): Anova(modelname, white.adjust="hc3") and receive the error message: "Fehler in SS[i] <- SS.term(names[i]) : nichts zu ersetzen" (German) "Error in SS[i] <- SS.term(names[i]) : nothing to replace" (probably being the message in the English version) I also tried the example mentioned in Fox (2002, "An R and S-Plus companion..."), with the "ornstein" data set but received the same message. If I don't use the argument "white.adjust="hc3" the standard anova is computed without any error messages.. Any hints? Kilian [[alternative HTML version deleted]]
John Fox
2006-Oct-27 13:38 UTC
[R] Error using "White-corrected" Anova (white.adjust="hc3")
Dear Kilian, This error was introduced when the linear.hypothesis function was modified, and I've not yet fixed it because I'm not entirely sure what's the best way to proceed. It's a bad idea simply to allow Anova() to throw a cryptic error, so I'll try to resolve the issue some time in the next several days. Sorry, John -------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox --------------------------------> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Kilian_Wasmer > Sent: Friday, October 27, 2006 5:19 AM > To: r-help at stat.math.ethz.ch > Subject: [R] Error using "White-corrected" Anova (white.adjust="hc3") > > Hello. > > I try to compute a "White-corrected" ANOVA. Therefore I use > the command "Anova" implemented in the car()-package): > Anova(modelname, white.adjust="hc3") > and receive the error message: > "Fehler in SS[i] <- SS.term(names[i]) : nichts zu ersetzen" > (German) "Error in SS[i] <- SS.term(names[i]) : nothing to > replace" (probably being the message in the English version) > I also tried the example mentioned in Fox (2002, "An R and > S-Plus companion..."), with the "ornstein" data set but > received the same message. > If I don't use the argument "white.adjust="hc3" the standard > anova is computed without any error messages.. > > Any hints? > > Kilian > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.