Alex
@s3alfisc.bsky.social
250 followers 400 following 150 posts
Data Science, open source and economics. Currently working on fwildclusterboot and pyfixest. https://github.com/s3alfisc
Posts Media Videos Starter Packs
s3alfisc.bsky.social
Oh 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!).
s3alfisc.bsky.social
No global R or Python installation needed! And if you have these, no interference with your global installations.

Big fan. pixi.sh/latest/
s3alfisc.bsky.social
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.
Reposted by Alex
Reposted by Alex
gmcd.bsky.social
#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.
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.
s3alfisc.bsky.social
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).
s3alfisc.bsky.social
Also works with "negative" effects:
s3alfisc.bsky.social
Vis method for decomposition now merged to main, feedback welcome!
s3alfisc.bsky.social
Love to see this, of course =)
gaborbekes.bsky.social
I believe we can teach data analysis/ econometrics with Python. From OLS to machine learning and event studies.

Scripts for 42 case studies. #pyfixest for regressions. (With Stata and R to compare)

Check out the revised
Github.com/gabors-data-analysis/da_case_studies
s3alfisc.bsky.social
In 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/
s3alfisc.bsky.social
For 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.
s3alfisc.bsky.social
This 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.
s3alfisc.bsky.social
Yes, negative contributions should be handled and would be colored red and should add to the "initial difference" bar
s3alfisc.bsky.social
My attempt - how to tell you I work in industry without telling you ;) what do you think?
s3alfisc.bsky.social
For the ladder I'll make sure that all defaults can be easily changed.
s3alfisc.bsky.social
I agree - optimally I am looking for default labels that make it immediately clear to the econometricians what is being shown (this is the status quo) but that also allows non-technical stake holder to easily understand the substantive message.
s3alfisc.bsky.social
Thanks - I actually control for x21 in the short regression ... will have to think about a good naming convention for this case.
s3alfisc.bsky.social
Yes this makes a lot of sense. Had also wondered if anyone had seen any great visualizations. Am sold that we should add a plot method. Thanks!
s3alfisc.bsky.social
cc @gelbach.bsky.social , and also @nickchk.com, whose blog post (nickchk.substack.com/p/decomposit...) convinced me of the value of decomp methods in industry - maybe you have some tips on effective communication?
s3alfisc.bsky.social
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?
s3alfisc.bsky.social
Really awesome new formulaic feature! We'll update pyfixest to make it happen (and might get some perf improvements thanks to polars along the way).
marcogorelli.bsky.social
✨ New Formulaic release (1.2), featuring native support for @pola.rs !

🌊🦄 Powered by Narwhals
Demo of Formulaic with native Polars support
s3alfisc.bsky.social
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:
s3alfisc.bsky.social
This release has had 8 new contributors (none of which I think are around here) - thanks all for your help!
s3alfisc.bsky.social
Second, we have added support for 𝐪𝐮𝐚𝐧𝐭𝐢𝐥𝐞 𝐫𝐞𝐠𝐫𝐞𝐬𝐬𝐢𝐨𝐧 based on a Frisch-Newton Solver, including iid, heteroskedastic, and cluster robust standard errors, as well as fast routines for fitting the entire quantile regression process.