Work

Standard operating procedures for using mixed-effects models [version 2]

Year: 2024
Type: report
Abstract: Standard Operating Procedures For Using Mixed-Effects Models Content/Analysis StepsBenefits/advantages of mixed models: Mixed models offer several advantages (compared to, for example, linear regression or ANOVA-type approaches), notably accounting for the nested structure of data, for example in cases such as repeated measures within individuals, participants grouped in classes, repeated measures within stimuli, or combinations thereof.This is crucial as neglecting such nesting can result in correlated errors, violating standard regression model assumptions and therefore likely to untrustworthy results, for example due to inflated Type 1 errors.Furthermore, mixed models handle missing data more gracefully, not automatically excluding whole sets of data points (e.g., participants) from analyses as long as the missingat-random assumption holds.Additionally, by capturing variability between groups (e.g., subjects), mixed-effects models can enhance statistical power.In summary, they provide a robust framework for analyzing the intricate data structures prevalent in diverse fields like psychology, biology, neuroscience, education, and economics. How to read this document:The structure of this SOP parallels the steps that we usually go through when doing research.Thus, the first section covers study planning, including statistical power analyses.Next, we consecutively cover data preparation, running a mixed-effects model, model diagnostics (which we inspect before inspecting our model results), inferring significance, post-hoc/follow-up tests, and reporting the results.Finally, the Appendix includes more detailed information or R code for some of the steps described in the main document.The SOP provides a description of the approaches that we, in our lab (https://decision-lab.org),usually take when using mixed-effects models for our research.We believe these approaches to be well-suited for our situations.Nevertheless, this document is not meant to be an exhaustive overview of all possible approaches.Thus, other approaches may also be feasible and plausible.In some of these cases, we refer to other resources for further reading.Moreover, sometimes, we do not all use the same approach within the lab.In these cases, we try to describe the various possible approaches that we use in the lab.Please keep in mind that first and foremost, we created this document for ourselves in our own lab, for the type of studies and analyses that we typically do.However, we were happy to hear from other people outside of our lab that they found our SOP helpful.That means, however, that of course your views, thoughts, best-practices, etc might be different from ours, and this is of course completely fine!In case you want to get in touch with us to give us input or feedback or found inaccuracies or mistakes, please feel free to do so.Relevant resources on sequential sampling are:• This blog post by Geoff Cumming • This blog post by John Kruschke about optional stopping in a Bayesian context • de Heide, R., & Grünwald, P. D. (2021).Why optional stopping can be a problem for Bayesians.
Authors: Figner, B., Algermissen, J., Burghoorn, F.J., Chen, Z., Fenneman, J., Guo, M., Held, L.K., Khalid, S.A., Klaassen, F.H., Klein Breteler, J., Mosannenzadeh, F., Quandt, J., Vadakkedath Dharmapalan, M., Wienicke, F.J.
Language: English
Open Access status: green
OpenAlex ID: W7052655770
Cites: 58
Cited by: 5
Related to: 10