[R] cooks distance for repeated measures anova
Walker Scott Pedersen
w@p @end|ng |rom uwm@edu
Wed Dec 23 17:05:04 CET 2020
Hi all,
Is there a way to get cook's distance for a repeated measures anova? Neither cooks.distance or CookD from the predictmeans package seem to allow for this. For example, if I have the model
data(iris)
mod<-aov(Sepal.Length ~ Petal.Length + Petal.Width + Error(Species), data=iris)
both
cooks.distance(mod)
and
library(predictmeans)
CookD(mod, group=Species)
give an error saying they don't support an aovlist object.
I would prefer a method to get a cook's distance for each category in my repeated factor (i.e. Species), rather than each observation.
Thanks!
--
Walker Pedersen, Ph.D.
Center for Healthy Minds
University of Wisconsin -- Madison
[[alternative HTML version deleted]]
More information about the R-help
mailing list