Advertisement Β· 728 Γ— 90

Posts by Alex

Post image

Python implementation of `rdrobust` that is significantly faster! github.com/leostimpfle/...

These runtimes are in logscale!!

1 day ago 26 2 3 0
Preview
GitHub - apoorvalal/lean-hansen-econometrics: formalizing econometrics formalizing econometrics. Contribute to apoorvalal/lean-hansen-econometrics development by creating an account on GitHub.

been trying to get my claw to teach me Lean - send PRs cuz misery loves company
github.com/apoorvalal/l...

1 week ago 7 2 2 0

sbi v.0.26.1 is out πŸŽ‰. We initially planned this release for January, but then the Grenoble Hackathon and GSoC applications happened. Now we have three new methods, better neural nets, cleaner internals, better docs, and 9 new contributors πŸ€—.

Highlights below 🧡

1 week ago 9 4 1 0

If you work on very large and very sparse fixed effects problems as in worker-firm panels, or doctor-patient relations, we'd love to learn if it works for you / speeds up your regressions!

4 weeks ago 0 1 0 0

There is also long-form documentation of the new algorithmic strategy github.com/py-econometr... plus a new vignette in which we try to explain why our initial "vanilla MAP" algorithm struggled so much on "hard" fixed effects problems: pyfixest.org/explanation/...

4 weeks ago 0 0 1 0

You can find the repo here: github.com/py-econometr...

4 weeks ago 0 0 1 0

You can access the new algo via the `demeaner_backend = "rust-cgs"` option of `pf.feols()`, and we have published it in a standalone rust crate (including Python bindings. R bindings are WIP and we could use some help! Even more with Stata).

4 weeks ago 0 1 1 0
Advertisement

Fixed effects are 'sparse' if each observation belongs to only a few groups. In a worker firm panel, this means that most workers only work at a single firm and (almost) never change their employer.

4 weeks ago 0 0 1 0
Post image

I am very excited that PyFixest 0.50.0 is on PyPi, including a new graph-based solver for demeaning that makes fixed effects estimation in PyFixest significantly faster for "sparse" fixed effects structures.

4 weeks ago 13 7 1 0

This looks really good! Would you be open to me adding a pyfixest fitting skill (πŸ˜‡)? Also, have you found a good way to make the docs more LLM accessible, i.e. via providing md twins for each html page / providing an llms.txt / do you think it might be valuable? github.com/NVIDIA/sphin...

1 month ago 0 0 1 0

MacKinnon Nielsen Webb have also suggested a "fast" cluster jackknife - I had implemented it a long time ago in `summclust`. Description of the ago here: s3alfisc.github.io/summclust/ar...

1 month ago 3 0 1 0

In Kopenhagen schmeckt der 6 Euro Kaffee aber immerhin ...

2 months ago 0 0 0 0
Preview
PyFixest Sprint Β· Issue #1178 Β· py-econometrics/pyfixest We are organizing a sprint in March 4th–6th 2026 (for more details, see here). We'd like to work on the following topics: #1179 #1174 #1180 #1182 #1183

Meta Issue on GitHub: github.com/py-econometr...

2 months ago 0 0 0 0

PyFixest Sprint

We will be doing a 3-day PyFixest sprint in two weeks - are there any features / regression-based methods widely useful to applied researchers you'd like us to explore/ add?

2 months ago 1 1 1 0

Also shamelessly plugging @mchow.com as I am wondering if this potentially already available with quartodoc?

2 months ago 0 0 0 0
Advertisement
Preview
GitHub - NVIDIA/sphinx-llm: LLM extensions for Sphinx Documentation LLM extensions for Sphinx Documentation. Contribute to NVIDIA/sphinx-llm development by creating an account on GitHub.

@jacobtomlinson.dev has been working on sphinx llm - core idea: provide a .md file for each page of your docs. Does this really help LLMs navigate the documentation? And what about an llms.txt? If yes, what are best practices?

github.com/NVIDIA/sphin...

2 months ago 0 0 1 0

For me it might be "most fixest installs on CI via r2u" πŸ˜€

2 months ago 1 0 1 0

This is very funny, is it possible to send kudos after burning through a lot of tokens? πŸ˜‚

2 months ago 1 0 1 0

(Ok, FixedEffectsModels.jl does pretty awesome as well. And we still have quite some catchup work to do with pyfixest =) )

2 months ago 0 0 0 0
Post image

If you fit hdfe regressions with complex fixed effects structures, fixest is unquestionably the goat in terms of performance.

2 months ago 0 0 1 0

Plus, the performance, which you get via a highly optimized MAP algorithm (with local IT acceleration, global smoothing, and a range of internal tricks and heuristics, see here for lrberge.github.io/fixest/refer...) and all the perf improvements that multiple estimation syntax allows.

2 months ago 1 0 1 0

I could of course go on here... for more ideas in API design, read the paper!

2 months ago 0 0 1 0
Advertisement

- Then of course you get regression tables out of the box with etable.
- And you can "bring your own vcov's" functionality with easy plug ins.
- We get a new operator for interacting variables with i(var1, var2) (very under appreciated imo!)
- Last, my favorite feature: multiple estimation syntax!

2 months ago 0 0 1 0

To point out just a few innovations on the API side that imo set the standard for regression packages. You get

- separation of estimation and inference - and you can adjust inference post-estimation "on the fly"
- a lot of handy post-estimation processing: coef, se, iplot, predict, and much more ..

2 months ago 0 0 1 0

Strong agree. And do read the paper! It illustrates very nicely how much thought and creativity has gone into designing fixest's API and performance optimizations which are really the two things that make fixest as great.

2 months ago 4 0 2 0

The neat thing is that this idea generalizes to regression and is worked out in the paper by Wong et al listed in the dbreg docs.

2 months ago 3 0 0 0

You are left with a 2x2 "compressed" data matrix of "sufficient statistics" and "weights", which here is just the number of treated and untreated observations. You can now compute an ATE (as sum_Y(1) / w(1) - sum_Y(0) / w(0)) and also SEs.

2 months ago 4 0 1 0

Core idea: say you want to compute the impact of an RCT on Y. You only need:

- the sum of Y in test and control sum_Y(D)
- the sum of squares of Y in test and control
- and store the number of treated and non treated units. w(D)

You can get all of it in a simple group by and sum evaluation.

2 months ago 2 0 1 0
dbreg

Things are grim. But in more frivolous news...

@jamesbrandecon.bsky.social and I have been chipping away at `dbreg`, a πŸ“¦ for running big regression models on database backends. For the right kinds of problems, the speed-ups are near magical.

Website: grantmcdermott.com/dbreg/

#rstats

[1/2]

2 months ago 68 15 4 1

Cool! I have many question: Is this in Python and do you have a GitHub repo and would you be up to contribute to moderndid? πŸ˜€

3 months ago 1 0 1 0