alex hayes
alexpghayes.com
alex hayes
@alexpghayes.com
postdoc @ stanford econ + incoming assistant prof @ oregon state statistics. networks, causal inference, contagion, measurement error, #rstats. he/him

https://www.alexpghayes.com
You might also enjoy www.science.org/doi/10.1126/...

Gerlach, Martin, Tiago P. Peixoto, and Eduardo G. Altmann. “A Network Approach to Topic Models.” Science Advances 4, no. 7 (2018): 1–11. doi.org/10.1126/scia....
A network approach to topic models
A new approach to topic models finds topics through community detection in word-document networks.
www.science.org
November 23, 2025 at 1:38 AM
Even if you don't find the main figure concerning, do you find the contrast with pre-registered RCT z-scores concerning? It's hard to imagine a world in which this contrast is benign
November 15, 2025 at 11:58 PM
Do the RStudio Check/Test/Load all keybinds work in Positron?
November 6, 2025 at 9:50 PM
there's some recently theory on optimal tests in arxiv.org/abs/2107.07575, with accompanying code in achambaz.github.io/mediation.te...

tl;dr it's a complicated hypothesis to test
Optimal tests of the composite null hypothesis arising in mediation analysis
The indirect effect of an exposure on an outcome through an intermediate variable can be identified by a product of two regression coefficients under certain causal and regression modeling assumptions...
arxiv.org
November 5, 2025 at 9:02 PM
Just read this -- really enjoy the differencing out of the calibration curve to find questions that folks are most differentially miscalibrated on
November 5, 2025 at 7:59 PM
Just ordered a copy! Thanks so much for all these resources :)
November 4, 2025 at 7:27 PM
@andrew.heiss.phd pinging you because I suspect you'll have ideas
November 4, 2025 at 1:45 AM
I also know some applied folks who like pre-registration simply because it forces them to plan an analysis before they run the experiment, and they've caught experimental design errors this way
November 2, 2025 at 5:09 PM
What's the context for the last one?
October 3, 2025 at 6:17 AM
Some of Andrew Vickers work on Net Benefit might be relevant, although that's written for a clinical context

e.g., journals.sagepub.com/doi/10.1177/...
Calibration of Risk Prediction Models - Ben Van Calster, Andrew J. Vickers, 2015
Decision-analytic measures to assess clinical utility of prediction models and diagnostic tests incorporate the relative clinical consequences of true and false...
journals.sagepub.com
August 28, 2025 at 8:43 PM
Can you share some pointers to this literature? I'm curious to read more
August 25, 2025 at 6:27 AM
Once again enjoying these materials. Do you know of any typography resources with Latex/Typst/Quarto example code?

Practical Typography is fascinating but I'm unsure how to implement many of the recommendations
August 22, 2025 at 6:45 AM
The caveat being that you always get clusters back so you need ways to distinguish between good and bad clusters
August 13, 2025 at 2:10 PM