Crossed and nested random effects

Поділитися
Вставка
  • Опубліковано 6 чер 2020

КОМЕНТАРІ • 4

  • @ArthurHenriqueBossi
    @ArthurHenriqueBossi 3 роки тому

    Thanks Mikko!

  • @Alexander-dd3ci
    @Alexander-dd3ci 3 роки тому

    Thank you, Mikko! In case I have 10 yearly repeated measures for 400 municipalities, building my model in R, should I treat a variable "Year" as nested within municipality (e.g. introducing a random effect as (1|Municipality/Year))?

    • @mronkko
      @mronkko  3 роки тому +2

      I would not do it like that. If you have a small number of units (Years), then add fixed effects of year. Specify it as as a factor variable and add to the fixed part of the model. For some discussion, see
      McNeish, D., & Kelley, K. (2018). Fixed effects models versus mixed effects models for clustered data: Reviewing the approaches, disentangling the differences, and making recommendations. Psychological Methods. doi.org/10.1037/met0000182
      McNeish, D., & Wentzel, K. R. (2017). Accommodating Small Sample Sizes in Three-Level Models When the Third Level is Incidental. Multivariate Behavioral Research, 52(2), 200-215. doi.org/10.1080/00273171.2016.1262236