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?
$\begingroup$
$\endgroup$
4
1 Answer
$\begingroup$
$\endgroup$
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))
n
can not get vector with different values. When I try to do it, I get the next error:Error in delta.upper + dfb : non-numeric argument to binary operator
. Again, for each group I have only the following data: mean, standard error and size. I do not have the raw data (observations). $\endgroup$