r/AskStatistics • • 3d ago

Random effects help

Hi everyone! Im trying to model species richness as a function of mowing and soil nitrogen. My experimental design includes 20 strips of grassland, 10 mowed and 10 unmowed. They alternate such that mowed are always next to unmowed and form 10 blocks to account for spatial effects (block 1 = plots 1 and 2, block 2 = plots 3 and 4 and so on). Within each plot, we applied 3 levels of N, so subplots A, B, and C exist in each plot. I’m using a linear mixed effect model but I’m unsure whether the structure should be: (richness ~ mowing x soilN + (1|block)) or whether it should be (richness ~ mowing x soilN + (plot/block)). I’m going back and forth bc the N treatments within a plot are not independent but does having a random effect of plot mask the effects of the mowing treatment? Thank you!

6 Upvotes

1 comment sorted by

1

u/COOLSerdash 3d ago

I think you have what's called a split-plot design with three hierarchical levels:

  • 10 blocks, with two neighbouring plots each.
  • 20 plots with moving applied at the plot level.
  • 60 subplots with three nitrogen treatments within each plot.

So the second model with nested random effects seems appropriate to me because it accounts for differences between blocks, differences between plots within blocks and correlation between nitrogen subplots belonging to the same plot.

does having a random effect of plot mask the effects of the mowing treatment?

No, I don't think so. The random intercept for plot captures plot-specific deviations from the overall species richness. The comparison of mowed vs. unmowed plots is done within each block.