Hey! thanks for the videos, they are really helpful! I just have aa question> why is "paired" = TRUE for the time factor? shouldn't it be for the group? I am confused...😅
Hey Nuria, it depents what kind of main effect you are investigating. A between-subjects effect is reduced to a two-sample t-test in my case, because I have (only) two indepdent groups, taking the mean over all times points and comparing them. If you have more than 2 groups, you would do multiple two-sample t-tests through emmeans. A within-subjects effect is reduced to paired t-tests - you are comparing times points while ignoring the groups. This requires to use paired=TRUE. Cheers, Björn.
i have 3 groups and gender variable for between subject design. for anova results only the group variable has significant main effect while the interaction and gender show no significant effect. how would i perform the Post-hoc test in R?
Hey there, it sounds like you have no repeated measures when you have only between subject factors, hence, I would recommend going with the two-factorial ANOVA and not a mixed ANOVA. df %>% anova_test(dv ~ iv1*iv2) Post-hoc testing depends on the interaction effect. If you have none, you will use something like that: df %>% pairwise_t_test(dv ~ iv1, p.adjust.method = "bonferroni", detailed = TRUE) with iv1 being your group variable. Cheers, Björn.