Ewan Carr
ewancarr.bsky.social
Ewan Carr
@ewancarr.bsky.social
Reader in Biostatistics, Biostatistics and Health Informatics, King’s College London.
He/him.
Reposted by Ewan Carr
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?...
October 21, 2025 at 3:16 PM
Reposted by Ewan Carr
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
October 22, 2025 at 4:00 PM
Reposted by Ewan Carr
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
September 24, 2025 at 4:12 PM
Reposted by Ewan Carr
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
September 15, 2025 at 2:51 PM
Reposted by Ewan Carr
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
September 11, 2025 at 11:20 AM
Reposted by Ewan Carr
💡 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...
September 10, 2025 at 9:57 AM
Reposted by Ewan Carr
🎯 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
September 3, 2025 at 9:06 PM
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
August 20, 2025 at 6:07 PM
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...
August 18, 2025 at 4:42 PM
Reposted by Ewan Carr
New paper in @annalsofim.bsky.social

"50 ways to misinterpret clinical prediction models for treatment decisions”

--> Published version: www.acpjournals.org/doi/10.7326/...

--> Open access version: arxiv.org/pdf/2402.17366
The Risks of Risk Assessment: Causal Blind Spots When Using Prediction Models for Treatment Decisions | Annals of Internal Medicine
Clinicians increasingly rely on prediction models to guide treatment choices. Most prediction models, however, are developed using observational data that include some patients who have already receiv...
www.acpjournals.org
August 11, 2025 at 2:32 PM
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
July 24, 2025 at 8:26 PM
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
July 24, 2025 at 7:08 PM
Reposted by Ewan Carr
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
July 23, 2025 at 4:55 PM
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
July 18, 2025 at 7:35 PM
Reposted by Ewan Carr
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
July 14, 2025 at 5:19 PM
Reposted by Ewan Carr
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
July 9, 2025 at 1:40 PM
Reposted by Ewan Carr
#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
July 10, 2025 at 10:35 PM
Reposted by Ewan Carr
{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/
July 3, 2025 at 12:59 PM
Reposted by Ewan Carr
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
June 24, 2025 at 4:52 PM
Reposted by Ewan Carr
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
June 25, 2025 at 12:27 PM
Reposted by Ewan Carr
YYYY-MM-DD OR NOTHING AT ALL
June 24, 2025 at 12:21 PM
Reposted by Ewan Carr
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
June 13, 2025 at 3:32 PM
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
May 29, 2025 at 2:52 PM
Reposted by Ewan Carr
Just published a couple of pre-prints for those interested in sample size calculations for precise and fair individual-level predictions ... (not the end of the story, but a useful contribution we hope):

Binary outcomes: arxiv.org/abs/2407.09293

Survival outcomes: arxiv.org/abs/2501.14482
A decomposition of Fisher's information to inform sample size for developing fair and precise clinical prediction models -- part 1: binary outcomes
When developing a clinical prediction model, the sample size of the development dataset is a key consideration. Small sample sizes lead to greater concerns of overfitting, instability, poor performanc...
arxiv.org
February 12, 2025 at 4:15 PM
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
May 13, 2025 at 3:58 PM