Advertisement ยท 728 ร— 90

Posts by Rob Cavanaugh

New preprint exploring how conceptual representations can be decoded in people with aphasia using fMRI. Grateful for an exciting collaboration with @jerrytang.bsky.social, @alexanderhuth.bsky.social, @smwilson.bsky.social!

1 week ago 7 2 0 0
Preview
table1 + flextable + officer table1 + flextable + officer. GitHub Gist: instantly share code, notes, and snippets.

Ah - try the table1 package, even if its not "table 1"

gist.github.com/rbcavanaugh/...

1 week ago 0 0 0 0

For most of my tables, flextable is just a means to go between a dataframe and {officer}. Any summarizing is done before converting to flextable. Also, I confess that I often do the last 5% of formatting manually because I'm too impatient/lazy to perfect the code or lookup how to center something.

1 week ago 0 0 1 0
Preview
Reproducible model tables using flextable Reproducible model tables using flextable. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com/rbcavanaugh/...

flexible + officer = pretty painless

If you combine this with @easystats.github.io functions in parameters/insight, model results don't need much if any cleanup either.

1 week ago 0 0 1 0

Right! Iโ€™m just noting that the correlation between fixed effects in the lme4 output (which I admittedly routinely ignore) is also an estimate of the attenuated correlation (the weight means of the two levels of measure).

2 weeks ago 1 0 1 0

Am I correct In thinking that the lmer correlation of fixed effects essentially recovers the sample mean correlation and we can backwards estimate the reliability of the measure from the ratio of random effects variances and the residual? They both converge with the simulation parameters

2 weeks ago 0 0 1 0

And this is the continuous normal case. Imagine if someone were to say... take sum scores of likert items or a percent accuracy of binary responses.

2 weeks ago 1 0 1 0
Advertisement

Accessible materials on this topic would be so useful for students and for reviewers not familiar with bayes (addressing common misconceptions of what priors are and are not). I see this frequently in peer review as an author and editor

3 weeks ago 2 0 0 0
Workshops โ€” SMaRT Workshops

๐Ÿ“ฃ The 2026 SMaRT Workshops schedule is officially LIVE โ€” with workshops covering SEM, MLM, dyadic methods, time series, machine learning, clinical trials design, and more.

STATS NERD SUMMER is HERE.

Come learn something. ๐Ÿง‘โ€๐ŸŽ“

smart-workshops.com/workshops

Please share and RP๐Ÿ™

More info ๐Ÿ‘‡

1/n

3 weeks ago 26 22 3 3
Preview
Why reversed items can be problematic in survey research In quantitative psychological research, questionnaires with Likert-style items are mostly used to assess variables like emotions, cognitions, and dispositions. Sometimes, it is possible to fall bacโ€ฆ

๐Ÿšจ New Blog Post ๐Ÿšจ

I wrote my very first blog post ๐Ÿ˜Š

This post is for quantitative researchers working with negatively worded Likert-scale items and haven't heard that these items can cause problems. I outline key issues, describe alternatives, and recommend lit.

yannicmeier.de/2026/03/03/w...

1 month ago 33 12 1 2

Psychology adjacent here but Google scholar searches index article bodies; Iโ€™ve had some success searching something like โ€œfavorite journal name(s)โ€ AND โ€œlme4โ€ AND โ€œosf.ioโ€ AND โ€œrandomizedโ€

4 months ago 1 0 0 0
course schedule as a table. Available at the link in the post.

course schedule as a table. Available at the link in the post.

I'm teaching Statistical Rethinking again starting Jan 2026. This time with live lectures, divided into Beginner and Experienced sections. Will be a lot more work for me, but I hope much better for students.

I will record lectures & all will be found at this link: github.com/rmcelreath/s...

4 months ago 662 235 12 20

Numerically. The same pp difference at baseline becomes very exaggerated in pomp terms as baseline scores improve.

4 months ago 0 0 0 0

Right. 16.7 vs 20 in pomp terms even with the exact same % point gain. More exaggerated at the tails too. Iโ€™m skeptical that requiring those with worse baseline scores to improve more in %point terms to have the same pomp scores is a desirable measurement property in most circumstances.

4 months ago 1 0 1 0

Doesnโ€™t pomp potentially conflate differences baseline ratings with group differences? Both groups could have similar improvements on the ordinal scale but quite different pomp scores if they start with different satisfaction ratings.

4 months ago 1 0 1 0

Or at least that using a linear model on an ordinal outcome risks mis-specifying the difference between men and women if the variances of their sleep satisfaction also differ.

4 months ago 2 0 1 0
Advertisement
Preview
CAC 2026 The 55th Clinical Aphasiology Conference Tuesday May 26th โ€“ Friday May 29th, 2026Sheraton Hotel at Station Square, Pittsburgh, Pennsylvania, USA The annual Clinical Aphasiology Conference (CAโ€ฆ

Call for papers ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿšจ clinicalaphasiologyconference.org/cac-2026/

4 months ago 3 3 0 0

โ€œThe gang goes to city hallโ€ in which the gang compete to fix a clerical error with the city. Mac and Dennis try to resolve the issue amicably at city hall. Dee tries secretly dating an officer of the liquor control board. Charlie and Frank hatch a plan to get Frank elected mayor.

4 months ago 1 0 0 0
Preview
Analyzing ordinal data with metric models: What could possibly go wrong? - Media Collections Online

For those unfamiliar: adding this fantastic recorded lecture on the topic from John Kruschke. media.dlib.indiana.edu/media_object...

4 months ago 2 0 0 0

Folks who teach stats to graduate students in applied fields - do you discuss ordinal methods in depth? The Liddell and Kruschke paper? (Analyzing ordinal data with metric models: What could possibly go wrong?)

What do you recommend to students who often use ordinal outcomes? #statssky

4 months ago 3 0 1 0
Preview
โ€œCake causes herpes?โ€ - promiscuous dichotomisation induces false positives - BMC Medical Research Methodology Background Continuous biomedical data is often dichotomized into two or more groups for analysis, despite long-standing warnings from statisticians that this constitutes bad practice. This dichotomisa...

Nice one, from @drg.bsky.social and @jamesheathers.bsky.social

link.springer.com/article/10.1...

5 months ago 53 20 3 4

oh that is slick!

5 months ago 0 0 0 0

I know itโ€™s often not identifiable and challenging to fit but I get very nervous about the exclusion of the time|id random slope in these models based on the 2013 Barr paper.

5 months ago 0 0 1 0
image of code with BLUPs

image of code with BLUPs

output of code

output of code

Oh you know I assumed you were plotting the RE estimates like this. If its just the observed data, probably min/max if few estimates/group and Q3/Q1 if many. You could probably even do tiny box plots if you didn't have too many groups.

5 months ago 1 0 0 0
Advertisement

I think to some extent the knee jerk reaction against the strong claim in the paper is due to the muddiness that (unfortunately) exists between prediction and causal claims. "Who is most as risk" as you state vs. why.

5 months ago 2 0 1 0

If they were bars it would be a caterpillar plot right? What about blupergram. Has a nice ring to it

5 months ago 2 0 1 0
A "methods primer" article in the journal "BMJ Medicine", titled "Factors associated with: problems of using exploratory multivariable regression to identify causal risk factors"

A "methods primer" article in the journal "BMJ Medicine", titled "Factors associated with: problems of using exploratory multivariable regression to identify causal risk factors"

We wrote an article explaining why you shouldn't put several variables into a regression model and report which are statistically significant - even as exploratory research. bmjmedicine.bmj.com/content/4/1/.... How did we do?

5 months ago 273 107 26 20

Pretty sure this is one of those sexy offers two very smart podcasters told me to run away from. So Iโ€™m going to say maybe ๐Ÿ˜‚

5 months ago 2 0 0 0

Love it! Will you be sharing data? (You knowโ€ฆ for those of us teaching stats to CSD PhD students struggling to find cool and salient datasets)

5 months ago 2 0 1 0
Video

Monty Python understood p-hacking

5 months ago 499 143 5 10