#statstab #401 Common issues, conundrums, and other things that might come up when implementing mixed models

Thoughts: GLMMs are cool, but come with their own quirks.

#glmm #lmer #brms #mixedeffects #hierarchicalmodels #r

https://m-clark.github.io/mixed-models-with-R/issues.html

Issues | Mixed Models with R

This is an introduction to using mixed models in R. It covers the most common techniques employed, with demonstration primarily via the lme4 package. Discussion includes extensions into generalized mixed models, Bayesian approaches, and realms beyond.

#statstab #329 Bayesian versus frequentist approaches in multilevel single-case designs: on power and type I error rate

Thoughts: An interesting project highlighting some benefits of #bayesian methods for #nof1 designs.

#stats #r #sced #mixedeffects

https://osf.io/k7b82/files/osfstorage

OSF

#statstab #328 How to Assess Task Reliability using Bayesian Mixed Models
by @Dom_Makowski

Thoughts: Nice walkthrough using {brms}, with code, data gen, and plots.

#r #bayesian #mixedeffects #reliability #brms

https://realitybending.github.io/post/2024-03-18-signaltonoisemixed/

How to Assess Task Reliability using Bayesian Mixed Models | Reality Bending Lab

Task reliability in assessing inter-individual differences is a key issue for differential psychology and neuropsychology.

Reality Bending Lab

#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 #221 #brms posterior_epred() vs posterior_predict()

Thoughts: When starting off with bayesian mixed models you'll run across this issue. Here's one of the best forum posts on it.

#bayesian #mixedeffects #models #posterior #effects #prediction

https://discourse.mc-stan.org/t/confusion-on-difference-between-posterior-epred-and-posterior-predict-in-a-mixed-effects-modelling-context/28813

Confusion on difference between posterior_epred() and posterior_predict() in a mixed effects modelling context

Hi everyone, This is my first time posting to this forum but I am hopeful someone here can help me understand the difference between the functions posterior_epred() and posterior_predict() in the context of mixed effects modelling. These functions are used in various Bayesian R packages (e.g., rstanarm, brms, marginaleffects, brmsmargins) but it is not clear to me how they differ and, most importantly, when to use one versus the other in a mixed effects modelling context. I tried to get some ...

The Stan Forums

#statstab #199 Mixed model equivalence test using R and PANGEA

Thoughts: While there are easier ways to compute #EQ tests for such models now, it is nice to see how you'd do so manually.

#equivalencetests #NHST #mixedeffects #r #stats #nullresults

https://pedermisager.org/blog/mixed_model_equivalence/

Mixed model equivalence test using R and PANGEA | Peder M. Isager

Personal website of Dr. Peder M. Isager

Peder M. Isager

#statstab #130 Power Simulation in a Mixed Effects design using R

Thoughts: I used {faux} in my last blog post. Useful package if you think you can anticipate your data (v onerous in mixed effects).

#r #simulation #power #NHST #mixedeffects #lmer #stats

https://cjungerius.github.io/powersim/

Power Simulation: A primer in 3 languages - Power Simulation in a Mixed Effects design using R

#statstab #112 Mixed Models with R

Thoughts: A very nice overview of what mixed models are, how to use them, and how to interpret the results (even mentions issues with p-values).

#rstats #r #lmer #mixedeffects

https://m-clark.github.io/mixed-models-with-R/random_intercepts.html

Issues | Mixed Models with R

This is an introduction to using mixed models in R. It covers the most common techniques employed, with demonstration primarily via the lme4 package. Discussion includes extensions into generalized mixed models, Bayesian approaches, and realms beyond.

#statstab #68 Minimum number of levels for a random effect

Thoughts: Fixed effects and random effects are not always intuitive differences. Apparently >5 is ok for an re.

#r #MLM #mixedeffects #rstats #stats

https://stats.stackexchange.com/questions/37647/what-is-the-minimum-recommended-number-of-groups-for-a-random-effects-factor

What is the minimum recommended number of groups for a random effects factor?

I'm using a mixed model in R (lme4) to analyze some repeated measures data. I have a response variable (fiber content of feces) and 3 fixed effects (body mass, etc.). My study only has 6 participan...

Cross Validated

#statstab #51 R Functions for Variance Decomposition {varde}

Thoughts: A useful package to get more insight into your mixed effects model.

#r #rstats #mixedeffects #lmm #research #modelcomparison

https://github.com/jmgirard/varde

GitHub - jmgirard/varde: R Functions for Variance Decomposition

R Functions for Variance Decomposition. Contribute to jmgirard/varde development by creating an account on GitHub.

GitHub