Issue when trying to perform one-way ANOVA

Hi,

I'm trying to run a one-way ANOVA on a dataframe but something seems amiss.

Here is an example of the dataframe:

head(df)
Session Total.Viewed.Image Group
1 1 10 Improved
2 8 20 Improved
3 10 10 Improved
4 21 10 Pos_maintained
5 23 20 Neg_maintained
6 34 10 Neg_maintained

I want to compare the images viewed in each group, however, when I put:

aov(Total.Viewed.Image ~ Group, data = df)

The output is:

Call:
aov(formula = Total.Viewed.Image ~ Group, data = test)

Terms:
Group Residuals
Sum of Squares 671.477 17086.020
Deg. of Freedom 5 145

Residual standard error: 10.85517
Estimated effects may be unbalanced

Any help would be greatly appreciated!
Phoenix

I'm not sure what you are expecting. Try this:

Anov_Result <- aov(Total.Viewed.Image ~ Group, data = df)
summary(Anov_Result)
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.