Malcolm 朝精 Barrett
banner
malcolmbarrett.malco.io
Malcolm 朝精 Barrett
@malcolmbarrett.malco.io
Ph.D., epidemiology. research software engineer @ Stanford Health Policy. living in Ann Arbor. open-source data science. causal inference. doing poems on aircrafts. approximately Bayesian. formerly Posit, Apple, AmeriCorps. 心を燃やせ。sic semper tyrannis.
Pinned
Link broke! Here is the current link: www.r-causal.org/chapters/04-...
Reposted by Malcolm 朝精 Barrett
I made an ascii art moon phase tracker that runs whenever I open a new terminal window, and it makes me aware of the passage of time more than any calendar. github.com/asweigart/as... and github.com/asweigart/as...
November 15, 2025 at 10:19 PM
Reposted by Malcolm 朝精 Barrett
November 12, 2025 at 11:31 PM
Reposted by Malcolm 朝精 Barrett
library(ggplot2)
library(mgcv)
ggplot(mtcars) +
aes(x = hp, y = disp) +
geom_point() +
stat_smooth(
aes(color = "vanilla gam"),
method = "gam"
) +
stat_smooth(
aes(color = "monotonic constraint"),
method = mgcv::scasm,
formula = y ~ s(x, bs = "sc", xt = c("m+"))
)
November 12, 2025 at 8:43 PM
Reposted by Malcolm 朝精 Barrett
A new release of the mgcv #RStats 📦 is out on CRAN and Simon Wood (U Edinburgh) has added some significant new features despite the small bump in version number:

🌟 scasm() for estimating GAMs with shape constrained smooths. Can be used with any family & smoothness selection is via the EFS method
November 12, 2025 at 11:28 AM
Reposted by Malcolm 朝精 Barrett
This gives a fantastic framing of how to think about reproducibility (it's a spectrum) and how to use renv with intention. Highly recommend, even if you're not using renv, to get a better understanding of how to live in peace as R and package versions advance 🕊️ #rstats
The recording of my #rstats posit::conf talk ✨ practical {renv}✨ is available! 🎉

I created this talk for frustrated {renv} users 🫠 and potential {renv} users🤩

youtu.be/l01u7Ue9pIQ?...

Even if {renv} isn't on your radar, you may still find this talk interesting if you are curious about🤔...
Practical {renv} (Shannon Pileggi, The PCCTC) | posit::conf(2025)
YouTube video by Posit PBC
youtu.be
November 12, 2025 at 5:32 PM
Reposted by Malcolm 朝精 Barrett
We're hiring an open-source #python developer focused on modeling APIs!

tidyverse.org/blog/2025/11...

#numpy #scipy #scikitlearn
Python Open-Source Developer
Posit is hiring a Python open-source developer to create more data analysis tools.
tidyverse.org
November 12, 2025 at 5:46 PM
Reposted by Malcolm 朝精 Barrett
Found this on LinkedIn but truer words never spoken. Stop the Python project "dependency hell" and make the switch to Python's {uv} framework. Here's a great YouTube video that really resonated with me being an R first dev... From Posit's Julia Silge: youtu.be/pMVYl9fx1EE
November 10, 2025 at 6:01 PM
Reposted by Malcolm 朝精 Barrett
Senator Tim Kaine does not have a voicemail, but you CAN send him a fax. And I just did.

Virginians, make your voices heard tonight!

AND I called Warner back and leave a message begging him to pass on our thoughts to Senator Kaine, since he seems to not wish to hear from the people he represents.
November 10, 2025 at 12:44 AM
Reposted by Malcolm 朝精 Barrett
My talk from posit::conf earlier this fall on getting unstuck with #Python is now available to watch!

- Ten years ago, I attempted to learn Python and it went EXTRMELY badly 😩
- I am really happy that so much tooling in this area has improved SO much since then 😌

youtu.be/pMVYl9fx1EE
How I got unstuck with Python (Julia Silge, Posit) | posit::conf(2025)
YouTube video by Posit PBC
youtu.be
November 8, 2025 at 11:59 PM
Reposted by Malcolm 朝精 Barrett
Dr. Cat Hicks (@grimalkina.bsky.social) gave one of my very favorite keynotes of all time at #positconf this year 🥹 It really made my heart glow, and now that all the conf talks are on YouTube, you can watch it even if you missed conf!! #databs #rstats #python

www.youtube.com/watch?v=B-bM...
The Psychology of Technologists (Cat Hicks, Catharsis Consulting) | posit::conf(2025)
YouTube video by Posit PBC
www.youtube.com
November 8, 2025 at 12:35 AM
Reposted by Malcolm 朝精 Barrett
Now I'm also looking for a research software engineer to implement a pile of research results to R packages loo, posterior, bayesplot, projpred, priorsense, brms or/and Python packages ArviZ, Bambi and Kulprit. Apply by email with no specific deadline (see contact info at users.aalto.fi/~ave/)
I'm now also looking for a postdoc with strong Bayesian background and interest in developing Bayesian cross-validation theory, methods and software. Apply by email with no specific deadline (see contact information at users.aalto.fi/~ave/).

Others, please share
I'm looking for a doctoral student with Bayesian background to work on Bayesian workflow and cross-validation (see my publication list users.aalto.fi/~ave/publica... for my recent work) at Aalto University.

Apply through the ELLIS PhD program (dl October 31) ellis.eu/news/ellis-p...
November 3, 2025 at 11:13 AM
Reposted by Malcolm 朝精 Barrett
"Ordinary person who just got isekai'd to a fantasy world in a video game"

x.com/dailyportalz...
November 2, 2025 at 3:54 PM
I responded "go Dodgers!" because no one else wants to hear it
Oh shit I think the spam texters are pissed at me
November 2, 2025 at 8:46 PM
Oh shit I think the spam texters are pissed at me
November 2, 2025 at 6:29 PM
Reposted by Malcolm 朝精 Barrett
His arms are like little garlic rosemary breadsticks and his body is soft.
November 1, 2025 at 9:55 PM
Reposted by Malcolm 朝精 Barrett
Look you bring me in the names of some six or seven
November 1, 2025 at 5:15 PM
Reposted by Malcolm 朝精 Barrett
[Exit Ghost.]
November 1, 2025 at 3:29 AM
Reposted by Malcolm 朝精 Barrett
Blue Jays, Dodgers cause mass confusion by dressing up as each other for Halloween world series game
Blue Jays, Dodgers cause mass confusion by dressing up as each other for Halloween world series game
TORONTO - The Toronto Blue Jays and Los Angeles Dodgers caused mass confusion across North America today as they each dressed up as the other team for today’s World Series game that coincides with Hal...
www.thebeaverton.com
October 31, 2025 at 6:47 PM
Reposted by Malcolm 朝精 Barrett
R version 4.5.2 "[Not] Part in a Rumble" (source version) has been released. (You can find it in cran.r-project.org/src/base/R-4/, or wait for CRAN to be updated.)
October 31, 2025 at 9:44 AM
Reposted by Malcolm 朝精 Barrett
People sometimes ask why we want to rate DAGs. Couldn't we just rate statistical models instead?

We like to explain it with capybaras and bicycles.
October 17, 2025 at 12:52 PM
Reposted by Malcolm 朝精 Barrett
I built a DAG diagram with garden hoses for teaching.
Pictured: a collider bias diagram, inspired by a blocked pipe situation I experienced (which I credit with giving me the intuition though it also ruined my belongings in the flooded cellar).
October 28, 2025 at 5:50 PM
Say what you will about LLMs, we’re THIS close to automating away LinkedIn
The worst thing about all the automated accounts flooding social media is that there is no point in trolling them.
October 30, 2025 at 1:00 PM
Reposted by Malcolm 朝精 Barrett
I'm now also looking for a postdoc with strong Bayesian background and interest in developing Bayesian cross-validation theory, methods and software. Apply by email with no specific deadline (see contact information at users.aalto.fi/~ave/).

Others, please share
I'm looking for a doctoral student with Bayesian background to work on Bayesian workflow and cross-validation (see my publication list users.aalto.fi/~ave/publica... for my recent work) at Aalto University.

Apply through the ELLIS PhD program (dl October 31) ellis.eu/news/ellis-p...
ELLIS PhD Program: Call for Applications 2025
The ELLIS mission is to create a diverse European network that promotes research excellence and advances breakthroughs in AI, as well as a pan-European PhD program to educate the next generation of AI...
ellis.eu
October 29, 2025 at 2:37 PM
Reposted by Malcolm 朝精 Barrett
October 28, 2025 at 3:44 AM
Reposted by Malcolm 朝精 Barrett
TLDR; The PSF has made the decision to put our community and our shared diversity, equity, and inclusion values ahead of seeking $1.5M in new revenue. Please read and share. pyfound.blogspot.com/2025/10/NSF-...
🧵
The official home of the Python Programming Language
www.python.org
October 27, 2025 at 2:47 PM