Ewan Carr
ewancarr.bsky.social
Ewan Carr
@ewancarr.bsky.social

Reader in Biostatistics, Biostatistics and Health Informatics, King’s College London.
He/him.

Psychology 55%
Public Health 26%
Pleased to see this out in print - detailing MAIHDA's desirable statistical properties.

"MAIHDA is especially valuable when inequalities are subtle or data for marginalised intersections are sparse - conditions common in practice"

journals.sagepub.com/doi/10.1177/...

@clarerevans.bsky.social
The Statistical Advantages of Multilevel Analysis of Individual Heterogeneity and Discriminatory Accuracy for Estimating Intersectional Inequalities - George Leckie, Andrew Bell, Juan Merlo, SV Subram...
Multilevel Analysis of Individual Heterogeneity and Discriminatory Accuracy (MAIHDA) is a multilevel regression approach grounded in intersectionality theory. I...
journals.sagepub.com
The recording is now available so that you can confirm that I indeed have a German accent and color-match my outfits with my Zoom background.

youtu.be/YL0co26ng-g?...
I'm exited to announce a new resource about making slides with quarto and revealjs. This book is the combination of all the work I have done in this area, reordered and polished up

There isn't a lot of new information yet, but this format allows me to add more easily

slidecrafting-book.com
#quarto
Interested in simulating the kind of data that you might commonly find in evolutionary and ecological studies?

Then we have the R package for you - squidSim!!

Check our new preprint:
ecoevorxiv.org/repository/v...
squidSim: a flexible R package for structured and reproducible simulations in Ecology and Evolutionary Biology
ecoevorxiv.org
I am beyond excited to announce that ggplot2 4.0.0 has just landed on CRAN.

It's not every day we have a new major #ggplot2 release but it is a fitting 18 year birthday present for the package.

Get an overview of the release in this blog post and be on the lookout for more in-depth posts #rstats
ggplot2 4.0.0
A new major version of ggplot2 has been released on CRAN. Find out what is new here.
www.tidyverse.org
💡 Explore how practices from distributed, open-source software can make science more professional, open, and collaborative! Attend the “Science as amateur software development” lecture by Prof. Dr. @rmcelreath.bsky.social on Wed 17 Sept, 9:00.
👉 Register here: www.pretix.osc.lmu.de/lmu-osc/OSSS...

Hi, we wrote about this a few years ago:

www.sciencedirect.com/science/arti...

Essentially, we were interested in mediator-outcome overlap and what that meant for the interpretation of mediational hypotheses.

We had a poster, too:
🎯 TARGET Guideline published 🎉

TARGET is a reporting guideline for observational studies of interventions that use the target trial framework.

Over 3 years the @TARGETGuideline was rigorously developed and was co-published today in @jama.com & @bmj.com

doi.org/10.1001/jama.2025.13350

#episky

Reposted by Ewan Carr

This is extremely cool. Picked it up and made this DAG in like 15 minutes. Obviously pros/cons versus other DAG tools (e.g. low/no code cstructure and R's ggdag, both of which offer d-separation details and more) but if you have rigid aesthetic requirements this is a great tool to have in your kit

Reposted by Ewan Carr

{truffle} is an R package for teaching users to process data.

Semi-realistic psychological datasets with predetermined effects (via `truffles_` functions) are then hidden in common data processing headaches (via `dirt_` functions) for students to clean and analyze.

mmmdata.io/posts/2025/0...

Reposted by Ewan Carr

Running a workshop tomorrow on reproducible workflows in R at the King's Open Research Summer School.

📽️ Slides: ewancarr.github.io/reproducible-r
👩‍💻 Practical: ewancarr.github.io/reproducible-r/practical

Mildly terrified that Git on Windows will be my downfall—but we'll see. 😅

#rstats #opensci
Reproducible workflows in R
ewancarr.github.io

Reposted by Ewan Carr

New blog article on Statistical Thinking: confidence limits for bootstrap overfitting-corrected predictive performance measures for regression models, useful for strong internal validations including confidence bands for debiased calibration curves: fharrell.com/post/bootcal #statistics #StatsSky
fharrell.com
We are offering up to £10k for researchers to upgrade their skills - e.g. in AI/machine learning; or a language; or something else! Think about it over the summer and apply by early October
www.thebritishacademy.ac.uk/funding/tale...
Talent Development Awards 2025-26
The Talent Development Awards are available to promote the acquisition and advancement of skills in relevant areas by UK-based researchers, promoting innovative research methods, be that through skill...
www.thebritishacademy.ac.uk

A helpful framework for evaluating software dependencies:

Ubiquity
Stability
Depth
Ergonomics
Watertightness
"One of the biggest fallacies in coding is that dependencies have zero downsides."

Best opening line in a while, more at the full post the link below. #rstats #tinyverse

lewiscampbell.tech/blog/250718....
NIH Is Far Cheaper Than The Wrong Dependency
Frivilous dependencies are the enemy of maintainability.
lewiscampbell.tech

Reposted by Ewan Carr

"One of the biggest fallacies in coding is that dependencies have zero downsides."

Best opening line in a while, more at the full post the link below. #rstats #tinyverse

lewiscampbell.tech/blog/250718....
NIH Is Far Cheaper Than The Wrong Dependency
Frivilous dependencies are the enemy of maintainability.
lewiscampbell.tech
Do you teach statistics, or do you conduct research about teaching statistics? The RoSE e-Conference on July 31st has sessions for you! Join our Statistics Pedagogy special interest group talks by registering for free here: bit.ly/roseconferen... #StatsEd #statistics #conferences
#tidyverse purrr 1.1.0 is out - now with parallel processing!

Scale your #rstats map operations reliably and efficiently across multiple cores and even distributed systems.

Powered by the mirai framework, this unlocks new levels of performance.

Read more at:
www.tidyverse.org/blog/2025/07...
Parallel processing in purrr 1.1.0
The functional programming toolkit for R gains new capabilities for parallel processing and distributed computing using mirai.
www.tidyverse.org
How can we reform science? I have some ideas. But I am not sure you’ll like them, because they don’t promise much. elevanth.org/blog/2025/07...
Which Kind of Science Reform
What hope is there for science reform, if we can't agree on what to reform? Right now, principles are more important than practices.
elevanth.org
{tinytable} is a dead simple, ultra-flexible, and dependency-free #Rstats 📦 to turn data frames into beautiful tables: html, word, pdf, latex, typst, markdown, etc.

v0.10.0 has cool new features and important bug fixes. Check out the detailed tutorials at:

vincentarelbundock.github.io/tinytable/
New blog post! Let's say you've measured two variables repeatedly and want to investigate how one affects the other over time. Here are some recommendations for how to do that well.

www.the100.ci/2025/06/25/r...
Reviewer notes: So you’re interested in “lagged effects.”
In some fields, researchers who end up with time series of two variables of interest (X and Y) like to analyze (reciprocal) lagged effects between them. Does X affect Y at a later point in time, and d...
www.the100.ci

Reposted by Ewan Carr, Barrett

delighted to announce that my new zine "The Secret Rules of the Terminal" is out today!!

You can get it for $12 USD here: wizardzines.com/zines/terminal

Reposted by Ewan Carr

YYYY-MM-DD OR NOTHING AT ALL
Bleeding edge update for the #tidyverse purrr package with even more seamless #rstats parallel maps.

Introducing our shiniest new adverb: `in_parallel()`. Just wrap your function to take advantage of blazing fast parallel processing via mirai.

pak::pak("tidyverse/purrr")

purrr.tidyverse.org/dev/
Functional Programming Tools
A complete and consistent functional programming toolkit for R.
purrr.tidyverse.org

Reposted by Ewan Carr

I'm on a podcast! I had a blast talking with @lucystats.bsky.social and @epiellie.bsky.social on @casualinfer.bsky.social! We cover all sorts of fun things: {marginaleffects}, defining estimands, fixed vs. random effects, & how to teach all this stats stuff in accessible ways #databs #EpiSky #rstats
Casual Inference: The Art of Clarity with Andrew Heiss | Season 6 Episode 6
Andrew Heiss is an assistant professor in the Department of Public Management and Policy at the Andrew Young School of Policy Studies at Georgia State University. Vincent’s “What is your estimand” s...
casualinfer.libsyn.com

Reposted by Ewan Carr

Join us on 10th June (online or in London @lshtm-dash.bsky.social ) to hear from Matthew Sperrin talk about his work on 'Prediction under intervention: challenges and trade-offs'.More details at www.lshtm.ac.uk/newsevents/e...
Prediction under intervention: challenges and trade-offs | LSHTM
Causality and prediction are often two separate activities. In particular, prediction can be done in a way that is agnostic to underlying knowledge, mechanism or causal structure. However, it is very
www.lshtm.ac.uk
On the verge of declaring defeat with chatgpt in my asynchronous online dataviz class. Something changed this semester compared to past ones and SO MANY assignments are essentially 100% LLM output.

Reposted by Ewan Carr

This week saw the publication of SPIRIT 2025, a major update to the international SPIRIT Statement which provides guidance on what should be included in a trial protocol. 1/6
#MethodologyMonday #117

Reposted by Ewan Carr

🎙️ On this week’s episode @vincentab.bsky.social joins to chat with @epiellie.bsky.social & @lucystats.bsky.social about making statistical model output more meaningful via the {marginaleffects} package (and more!)

casualinfer.libsyn.com/site/from-mo...
Casual Inference: From Model to Meaning with Vincent Arel-Bundock | Season 6 Episode 4
Vincent Arel-Bundock is a professor at the Université de Montréal, where he studies comparative and international political economy. Vincent's website: Vincent's book "Model to Meaning: How ...
casualinfer.libsyn.com
Multilevel Models: Practical Applications

Curious about multilevel modelling but not sure where to start?

Learn to recognise, build & interpret multilevel models using MLwiN or R, through real-world examples & hands-on practice.

Find out more: bit.ly/3Yj5I4f

#ESS2025