Alex
s3alfisc.bsky.social
Alex
@s3alfisc.bsky.social
Data Science, open source and economics. Currently working on fwildclusterboot and pyfixest.

https://github.com/s3alfisc
This strategy is quite amenable to be run on the GPU - for "hard" problems where the alternating projections algorithm struggles to converge, running the demeaning on a 𝗚𝗣𝗨 can provide orders of magnitude of speedups.
November 13, 2025 at 6:37 PM
Also works with "negative" effects:
August 16, 2025 at 8:35 AM
Vis method for decomposition now merged to main, feedback welcome!
August 16, 2025 at 8:32 AM
My attempt - how to tell you I work in industry without telling you ;) what do you think?
August 12, 2025 at 9:41 PM
Currently revamping the default output view for the Gelbach Decomposition. Goal is to help both academics but also data scientists in industry to communicate results easily. Are the column and panel headers immediately clear? Any better way to summarize decomp results?
July 30, 2025 at 8:34 PM
Re fast routines for the quantile regression process - we follow Chernozhukov et al (2019) and their algo's are quite an improvement over "naive" for loops over quantiles:
July 6, 2025 at 10:54 AM
𝐏𝐲𝐅𝐢𝐱𝐞𝐬𝐭 0.30.1 is on 𝐏𝐲𝐏𝐢 and I am extremely happy with this release, mostly because of two 𝐧𝐞𝐰 𝐟𝐞𝐚𝐭𝐮𝐫𝐞𝐬: a Rust back end for all performance critical parts and quantile regression.
July 6, 2025 at 10:26 AM
I've started to work on a quantile regression implementation for pyfixest. There's a basic PR that implements the Frisch-Newton solver in numpy + a quantreg interface. Still plenty of things to do (standard errors, performance improvements), so please let me know if you want to contribute!
May 25, 2025 at 1:26 PM
Fully saturated model support -> you get pretty plots like this out of the box =)
April 19, 2025 at 1:26 PM
Thanks to @apoorvalal.com, we now have some benchmarks for PyFixest on the GPU: 2-3x improvements for large problems via JAX relative to numba!

We also released pyfixest 0.28.0, mostly with small bug fixes, but it also contains JAX support and GLMs (no fixed effects yet) as experimental features.
January 13, 2025 at 8:48 PM
Something cool for the next pyfixest release 😊
December 28, 2024 at 8:02 PM
And multiple testing with pretty power curves at the end of the nb: py-econometrics.github.io/pyfixest/mul...
December 15, 2024 at 1:12 PM
For Gelbach's decomposition: py-econometrics.github.io/pyfixest/reg...
December 15, 2024 at 1:12 PM
We have a new notebook that motivates multiple testing corrections and shows how to use them via pyfixest. At the end, it produces this pretty figure: py-econometrics.github.io/pyfixest/mul...
December 10, 2024 at 5:40 PM
We’re about to finish an implementation of @gelbach.bsky.social‘s regression decomposition for the next pyfixest release.

But there‘s a problem! We only match Stata‘s b1x2 to the 3-4th digits after the comma.

Is this a bug, or just numerical error?
November 26, 2024 at 8:54 PM
A very simple simulation suggest that it works:
October 31, 2024 at 9:02 PM
I’ve released a new version of pyfixest - it ships some performance improvements for CRV1 standard errors. I’ve also set up some benchmarks, and I was pleased to see that pyfixest looks quite competitive:
November 23, 2023 at 6:11 PM
Now on PyPi: pyfixest with a more flexible API for did2s():
November 5, 2023 at 6:23 PM