Displaying 1 result from an estimated 1 matches for "fscholer".
Did you mean:
scholer
2012 Oct 16
1
anova test for variables with different lengths
Hi all,
I want to test whether the MEAN of two different variables, (and
different number of observations) are the same. I am trying to use the
anova test but it doesn't seem to like that the number of observations
are different:
a=c(1:5)
b=c(1:3)
aov_test=aov(a~b)
>>Error in model.frame.default(formula = a ~ b, drop.unused.levels = TRUE) :
variable lengths differ (found for