#statstab #264 When estimating a treatment effect with a cluster design, you need to include varying slopes, even if the fit gives warning messages

Thoughts: Warnings are scary ⚠️ Bad model are scarier 👹

#lmer #modelfit #mixedeffects #r #randomslopes

https://statmodeling.stat.columbia.edu/2025/01/23/slopes/

#statstab #218 Simulation on adjusting for confounders in a mixed model by @rubenarslan

Thoughts: Brief but insightful simulation to understand bias from ignoring random slopes.

#r #simulation #causalinference #bias #covariate #randomslopes

https://rubenarslan.github.io/posts/2024-05-24-simulation-on-adjusting-for-confounders-in-a-mixed-model/index.html

One lives only to make blunders: Simulation on adjusting for confounders in a mixed model

A brief tidyverse-style simulation to figure out what happens, if I don't include varying slopes in a model.

One lives only to make blunders