Solved – One-way ANOVA in R using summary data

anovar

I want to perform One-way ANOVA in R. I do not have the raw data, but only the mean, standard error and size of each group (there are three groups). If I understand correctly, the ind.oneway.second command in the rpsychi package is relevant only when the groups are the same size. Is there a way to perform One-way ANOVA in R when the groups are not the same size?

Best Answer

Can use for group of different size.

library(rpsychi)
mu<-c(0.75,0.77,0.72,0.85)
mu.sd<-c(0.16,0.11,0.12,0.10)
mu.n<-c(13,22,42,28)
(mu.ind.anova <- ind.oneway.second(mu,mu.sd,mu.n))