1
$\begingroup$

I wonder if two-way ANOVA or other mixed-models are to prefer for my analysis.

Short background: The effect of three different treatments on parasites on leaves was measured over time (7 sampling dates). Different leaves have been used every sampling so the subject should be independent. I wish to see the effect of treatment (fixed, 3 levels) and date(random, 7 levels) on the amount of parasites. I have 7 samples per date and treatment but use averaged values. I have troubles conducting the two-way ANOVA in R using both random and fixed effects. If anyone have suggestions for this I would love any help!

Very thankful for any help!

$\endgroup$

1 Answer 1

1
$\begingroup$

This is requires mixed model, because you have a between and a within-subject factor.

$\endgroup$
5
  • $\begingroup$ Thanks Janosch! Can I use a two-way ANOVA with mixed-effects (as one random and one fixed factor) or should i use lme/r? $\endgroup$
    – sma
    Commented Jun 12, 2020 at 9:31
  • 1
    $\begingroup$ You can use anova_test(), which has an argument wihtin= with which you can include the within effect $\endgroup$
    – Janosch
    Commented Jun 12, 2020 at 11:26
  • $\begingroup$ Thanks again Janosch! I guess the within argument of date is treated as a random factor when I use it within?! I do not quite understand how this differs from repeated measures ANOVA. $\endgroup$
    – sma
    Commented Jun 17, 2020 at 9:23
  • 1
    $\begingroup$ A repeated meassures ANOVA with a fixed factor is the same. People just like to give it different names $\endgroup$
    – Janosch
    Commented Jun 19, 2020 at 8:04
  • $\begingroup$ Ok clarifies alot! Thank you once again! $\endgroup$
    – sma
    Commented Jun 19, 2020 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.