Kristoffer Magnusson
banner
rpsychologist.com
Kristoffer Magnusson
@rpsychologist.com
Mostly stats, visualization, open science, and psychotherapy.

https://rpsychologist.com
Fun fact about LMMs: when you have missing data, power also depends on the correlation between intercepts and slopes. In the clip, I’m varying the amount of random slope variance.
November 10, 2025 at 2:57 PM
Just added to PowerLMM.js v0.3: Interactive power contour plots!

Visualize how statistical power changes across parameter combinations.

powerlmmjs.rpsychologist.com?view=contour
November 7, 2025 at 4:58 PM
Power analysis summary report, that can be printed or saved as a PDF
October 28, 2025 at 2:02 PM
Hypothesis region visualization. Interactive display of the chosen null and alternative hypothesis.
October 28, 2025 at 2:02 PM
Added a variogram to the app!

I'm experimenting with showing the non-stationarity of correlations in a random slopes model.
December 20, 2024 at 4:14 PM
Added a simple illustration of group trends to demonstrate what the effect size represents
December 16, 2024 at 6:11 PM
Just deployed some small updates:

More tooltips!

Offloaded the most expensive computations to background threads, and added a cheeky loader for the inevitable scenario where someone tries to inverse huge matrices at 60fps+.
December 13, 2024 at 6:25 PM
To better understand the random effect parameters, you can view a sample of 20 random slopes adjusted to match the exact variance and correlations specified
December 11, 2024 at 10:20 AM
Dropout can be specified using either a Weibull distribution or manually
December 11, 2024 at 10:20 AM
Introducing PowerLMM.js!

A new tool for power analysis of longitudinal linear mixed-effects models (LMMs) – with support for missing data, plus non-inferiority and equivalence tests.

powerlmmjs.rpsychologist.com

Would really appreciate your feedback as I refine this app! Details below 🧵👇
December 11, 2024 at 10:20 AM