alex hayes
@alexpghayes.com
4.6K followers 1.8K following 390 posts
incoming postdoc @ stanford + assistant prof @ oregon state. networks, causal inference, contagion, measurement error, #rstats. he/him https://www.alexpghayes.com
Posts Media Videos Starter Packs
Pinned
alexpghayes.com
New pre-print!

Keith Levin and I show that the reflection problem is a lot worse than people think it is, and linear-in-means models are degenerate in a very concerning way

arxiv.org/abs/2410.10772

#econsky #statssky
alexpghayes.com
What's the context for the last one?
Reposted by alex hayes
sarahjohnson.io
I was loving Claude Code... until I tried it with #rstats. Constant errors, wouldn't use the tidyverse even when asked, "optimized" functions were slower.

Frustrated, I started a session just to teach R to Claude and summarize what it learned into a CLAUDE.md file gist.github.com/sj-io/3828d6...
Claude R Tidyverse Expert
Claude R Tidyverse Expert. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
alexpghayes.com
nice guide to making github profiles (especially academic ones) legible to others!
yabellini.bsky.social
🧵 Skytorial 2 – Your profile on @github.com

1/ 🌟 The first thing on GitHub is your profile: your cover letter to the academic and scientific world.
This is how colleagues, collaborators, and potential reviewers of your projects find you.

Let's create it step by step 👇
Reposted by alex hayes
arxiv-stat-me.bsky.social
Subhankar Bhadra, Michael Schweinberger
Causal Inference Under Network Interference
https://arxiv.org/abs/2508.06808
alexpghayes.com
Can you share some pointers to this literature? I'm curious to read more
alexpghayes.com
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
alexpghayes.com
The caveat being that you always get clusters back so you need ways to distinguish between good and bad clusters
alexpghayes.com
I think the value of clustering is more often about EDA and discovery rather than confirmatory work or solving a known problem
Reposted by alex hayes
richarddmorey.bsky.social
Also, we think people should stop using forensic meta-analytic techniques that have not been adequately vetted by experts in statistics. The p curve papers have very little statistical detail, and were published in psych journals. They did not get scrutiny appropriate to their popularity. 15/?
alexpghayes.com
Makes sense! Thanks!
alexpghayes.com
Is there an alternative that does these things?
alexpghayes.com
Is this what ggplot2::geom_dotplot() does?
alexpghayes.com
Or slightly more specifically: do you use both approaches? Do you mix them? If you use them at different times, when?
alexpghayes.com
I'm curious if you have any thoughts on how this notebook-based approach to data analysis differs/is/isn't compatible with {targets} and build-system style approaches to data analysis
alexpghayes.com
More generally there's a whole industry of accounting for homophily via network embeddings, in which case you can think of the network as a proxy for the latent thing driving homophily
alexpghayes.com
What are the standard CMR reasons?
alexpghayes.com
Not perfect but the meditation data example in my paper on network mediation is essentially proximal inference in a parametric setting

jmlr.org/papers/volum...
Reposted by alex hayes
vincentab.bsky.social
This workshop is going to be great fun, and I really look forward to meeting everyone!

It would mean a lot to me if you signed up!
dariia.bsky.social
❗️Our next workshop will be on August 14, 6 pm CEST, on marginaleffects package by
@vincentab.bsky.social !
Register or sponsor a student by donating to support Ukraine!
Details: bit.ly/3wBeY4S
Please share! #AcademicSky #EconSky #RStats
alexpghayes.com
I'm presenting in the Business and Economic Statistics Student Paper Awards session:

Peer effects in the linear-in-means model may be inestimable even when identified

Thursday, Aug 7, 8:30 AM - 10:20 AM
Music City Center, Room CC-103C
alexpghayes.com
I'll be #JSM2025 from Sun Aug 3 - Thurs Aug 7

Excited to chat with folks! These days I'm thinking about:

- peer effects
- measurement error in networks
- stochastic blockmodels and friends
- causal inference on networks
- semi-parametric mediation & transportability
- #rstats
alexpghayes.com
@allendowney.bsky.social this seems up your alley given your interest in Simpson's paradox showing up in data
Reposted by alex hayes
alexpghayes.com
Yeah, building a thing is not enough to get people to use the thing