Profile avatar
rpsychologist.com
Mostly stats, visualization, open science, and psychotherapy. https://rpsychologist.com
85 posts 1,148 followers 1,397 following
Regular Contributor
Active Commenter

A common sentiment is “I can’t share my code because it’s messy and there might be errors” But if it’s that untrustworthy, why are you publishing the results it generates?

I see this a lot in longitudinal analysis—people assume missingness can depend on random effects (like slopes). But those aren’t conditioned on, so that kind of missingness would be non-ignorable (MNAR).

This new package for mediation is great! The user interface is *so intuitive* but the unsung hero of this software is the documentation:

Despite the well-polished workflow of this package, I tried to analyze the “useless data set” that comes with it using {mediation}. Treatment and mediator were (strongly) confounded, so we need to pay close attention to the sensitivity analysis!

This is great. It even handles binary and count outcomes appropriately!

🚨New R package! {easymediation}🚨 The *Simplest* and *Most Correct* Way to Do Causal Mediation Analysis Are you tired of explaining mediation analysis to your colleagues? Just send them this package. github.com/rpsychologis...

Step 1: Say data are MNAR Step 2: Toss in random values Step 3: Call it conservative I’ll definitely adopt this model-free way of handling MNAR, what could go wrong?

Amazing observation in a paper: people use smartphones while waiting. I’ve also observed that people read magazines they’d never touch anywhere else while waiting. Proposing a new disorder: "Compulsive Magazine Reading". Urgent need for intervention programs

Been reading up on causal prediction – let me know if I’ve got this right: Clinical prediction: Hard. Causal inference: Hard. Causal prediction: Combines the hardest parts of both. Predict outcomes we can’t observe, and evaluate models by making even more assumptions about an unobservable target.

NEW PAPER: Updated CONSORT-2025 for reporting randomised trials is now available in the @bmj.com @jama.com , @thelancet.bsky.social, @plos.org and @naturemedicine.bsky.social —> www.bmj.com/content/389/... #openscience #transparency #medsky #statssky #episky

Hear me out, psychologists are the OG vibe coders. Picking factors by squinting at scree plots, naming latent variables on instinct, fitting SEMs based on celestial drawings, and publishing without a care.

New blog post! Sometimes, when reviewing a manuscript, it's really unclear to me what precisely the authors are trying to do -- which makes it hard to evaluate the work properly. So, here's some advice for how to ensure that readers don't get lost. www.the100.ci/2025/02/17/r...

Trying to compile a list of people with active pedagogic interests in teaching statistics go.bsky.app/Qg6YSq6

Please stop telling me about risk factors. 🙏😖 (ICYMI) statsepi.substack.com/p/sorry-what...

This looks *extremely* neat. Kristoffer consistently provides exceptionally useful tools and visualizations 🤩

💙 this web app for examining multilevel models' precision & sample size planning. (Now I just need to pair it with Claude to input the numeric predictions from my verbal descriptions 😉.)

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 🧵👇