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))?
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
Thanks Mikko!
You are welcome
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))?
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