Solved – Post hoc tests from Anova() from car-package

anovaheteroscedasticitypost-hoc

I have a small sample unbalanced RCBD, where I have reason to suspect unequal variances, hence I wish to fit a ANOVA with type-3 SS with heterscedasticity consistent esimators. The simplest way to do this is to utilize Anova() function from the package CAR, however, I cannot for the life of me understand how to run post hoc tests after using this function. Multcomp() doesnt let me use the object created in Anova(), neither will it let be use the similar (although without hce) drop1() objects. Can anyone help me with this? I know I can do this in SAS but I much rather learn to do it in R.

Best Answer

I saw your other post. Missing values due to expiration is often set to 0, see gomez & gomez (1984) - Statistical Procedures for Agricultural Research. This should make it a complete design and you should be able to use Type-1 to calculate the SS. If you disagree, just calculate it by hand, see Milliken (2009) - messy data analysis for details on how to calculate type-3 SS.

However, I think type-3 SS are nonsense but that is another diskussion, see type-4 for more intuitive testing!