Here is the recording of my talk
PyData Berlin 2025: Introduction to Stochastic Variational Inference with NumPyro
Notebook: juanitorduz.github.io/intro_svi/
youtu.be/wG0no-mUMf0?...
#pydata #berlin #bayes
@s3alfisc.bsky.social
Data Science, open source and economics. Currently working on fwildclusterboot and pyfixest. https://github.com/s3alfisc
Here is the recording of my talk
PyData Berlin 2025: Introduction to Stochastic Variational Inference with NumPyro
Notebook: juanitorduz.github.io/intro_svi/
youtu.be/wG0no-mUMf0?...
#pydata #berlin #bayes
#rstats Please welcome Jarl, a new R linter.
Jarl is a CLI tool with extensions in VS Code, Positron, and Zed. It can check thousands of lines of R code in milliseconds.
Jarl provides several output formats, a Github Actions workflow, and more.
Blog post: www.etiennebacher.com/posts/2025-1...
Quickly added support for @apoorvalal.com 's duckreg - took approximately 60 minutes!
github.com/py-econometr...
Admittedly, this was 99% Dirk's work, so all praise should go to him =)
20.11.2025 20:29 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Btw, also works with Stata! py-econometrics.github.io/maketables/d...
20.11.2025 19:57 โ ๐ 3 ๐ 0 ๐ฌ 1 ๐ 0@gaborbekes.bsky.social @arthurturrell.bsky.social @vincentab.bsky.social
20.11.2025 19:49 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0Our py-econometrics org has a new package: `maketables` is now installable from PyPi! You can create regression tables for PyFixest, statsmodels, linearmodels, and save them as html, latex, or word.
github: github.com/py-econometr...
docs: py-econometrics.github.io/maketables/
Looking forward to the follow-up post on fixed effects in GLMs =)
13.11.2025 19:04 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Trying to learn more about fixed effects. I wrote this for me, maybe this is useful for you too dpananos.github.io/posts/2025-1...
13.11.2025 18:42 โ ๐ 14 ๐ 4 ๐ฌ 1 ๐ 0Sorry for all the linkedin post, they just transfer you to the docs / github (I posted on lk first).
13.11.2025 18:39 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0- You can find the full changelog here: lnkd.in/eEdzuVvq
- PyFixest on github: lnkd.in/eJRtm_rz
- maketables on github: lnkd.in/eYhAejYh
It currently supports pf and sm. Please check it out and contribute by adding support for your favorite Python estimation classes! Some that we think would be of interest: linearmodels, lifelines, Bambi, rdrobust, DoubleML, meta learners. You can find the package here: lnkd.in/eYhAejYh
13.11.2025 18:37 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0We believe that there is a lot of value to unlock by providing a "๐บ๐ฒ๐๐ฎ ๐ฟ๐ฒ๐ด๐ฟ๐ฒ๐๐๐ถ๐ผ๐ป ๐๐ฎ๐ฏ๐น๐ฒ" package for the Python scientific eco-system similar to what R has in ๐บ๐ผ๐ฑ๐ฒ๐น๐๐๐บ๐บ๐ฎ๐ฟ๐. So we have spun out PyFixest's etable functionalities into a standalone package, ๐บ๐ฎ๐ธ๐ฒ๐๐ฎ๐ฏ๐น๐ฒ๐.
13.11.2025 18:37 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0This 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.
13.11.2025 18:37 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0We've added ๐ฎ๐ป๐ผ๐๐ต๐ฒ๐ฟ ๐ฏ๐ฎ๐ฐ๐ธ end for ๐ฑ๐ฒ๐บ๐ฒ๐ฎ๐ป๐ถ๐ป๐ด ๐ณ๐ถ๐ ๐ฒ๐ฑ ๐ฒ๐ณ๐ณ๐ฒ๐ฐ๐๐: instead of demeaning via the alternating projections algorithm, the new back end implements the Frisch-Waugh-Lovell theorem directly on ๐๐ฝ๐ฎ๐ฟ๐๐ฒ ๐บ๐ฎ๐๐ฟ๐ถ๐ฐ๐ฒ๐.
13.11.2025 18:37 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0We now support time series, panel ๐๐๐ and DK ๐๐๐ฎ๐ป๐ฑ๐ฎ๐ฟ๐ฑ ๐ฒ๐ฟ๐ฟ๐ผ๐ฟ๐ (which was one of the most requested features, so I am very happy we have it now). It was also a very challenging PR, with very-tricky to debug numpy multi threading floating point errors.
13.11.2025 18:37 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0First, a couple of weeks ago, the ๐ณ๐ถ๐ ๐ฒ๐๐ dev team released ๐ฌ.๐ญ๐ฏ, which comes with a ๐ณ๐ฒ๐ ๐๐บ๐ฎ๐น๐น๐ฒ๐ฟ ๐ฏ๐ฟ๐ฒ๐ฎ๐ธ๐ถ๐ป๐ด ๐ฐ๐ต๐ฎ๐ป๐ด๐ฒ๐. We have decided to ๐ณ๐ผ๐น๐น๐ผ๐ ๐๐๐ถ๐ and adjust PyFixest accordingly. The most important change is that by default, all standard errors are "iid".
13.11.2025 18:37 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0I am very happy that ๐ฃ๐๐๐ถ๐ ๐ฒ๐๐ ๐ฌ.๐ฐ๐ฌ.๐ฌ/๐ฌ.๐ฐ๐ฌ.๐ญ is now available on PyPi! The release includes a few technical changes and exciting new features =)
13.11.2025 18:37 โ ๐ 3 ๐ 1 ๐ฌ 2 ๐ 0Oh interesting, this does not look good. For me everything has been working well, I just upgraded to the newest fixest release via conda-forge a few weeks ago without any problems (as it happens, on windows!).
02.10.2025 21:16 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0No global R or Python installation needed! And if you have these, no interference with your global installations.
Big fan. pixi.sh/latest/
Got a new PC and getting back to pyfixest dev is a breeze with pixi (via conda-forge, which seems to get too little love?). This just works: clone pf, install pixi, type pixi r tests in the shell, and then pixi installs Python, R, all Python and R deps, all R deps, and then starts running tests.
02.10.2025 20:47 โ ๐ 5 ๐ 0 ๐ฌ 1 ๐ 0#rstats #econsky
fixest v0.13.0 is finally out!
It's still about making OLS and GLM estimations easy.
Some major changes:
- *default* VCOV becomes iid always!
- singletons are removed by default!
See all the changes here:
github.com/lrberge/fixe...
From the fixest NEWS file: the new default VCOV is iid for all estimations. To change the default to the way it was, place setFixest_vcov(all = "cluster", no_FE = "iid") in your .Rprofile.
#rstats #econsky PSA: The next release of `fixest` will include some important changes (plus cool new features).
E.g. Fixed-effects regs will now default to 'iid' SEs rather than clustered. github.com/lrberge/fixe...
You can install and test drive the dev version from R-universe; see the README.
Next step is to rewrite the vignette (more to the point & I need to make a better case for the methods usefulness in business contexts).
16.08.2025 08:37 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Also works with "negative" effects:
16.08.2025 08:35 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Vis method for decomposition now merged to main, feedback welcome!
16.08.2025 08:32 โ ๐ 7 ๐ 1 ๐ฌ 2 ๐ 0Love to see this, of course =)
15.08.2025 21:40 โ ๐ 5 ๐ 1 ๐ฌ 0 ๐ 0In contrast to uv, it is cross-language and also allows to pin down non-python dependencies in the same env (R, Julia, etc). And it also has nice "pixi run command" options (you can even define tasks as in justfiles, which I personally use a lot). pixi.sh/latest/
15.08.2025 21:38 โ ๐ 2 ๐ 1 ๐ฌ 1 ๐ 0For pyfixest's development, we've been using pixi for a while, which I really enjoy. More or less it is the conda-forge (free & open source) equivalent to uv (it actually runs uv for PyPi dependency resolution). Really fast both for PyPi & conda-forge dependency resolution.
15.08.2025 21:38 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 1This I will still have to explore (as matplotlib does not always auto-scale). Generally there are two options to handle this as of now - users can keep / drop covariates via a function arg, or simply combine many of them into a single "combined" covariate in the estimation process.
13.08.2025 06:50 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0