Vincent Arel-Bundock

1.8K posts

Vincent Arel-Bundock banner
Vincent Arel-Bundock

Vincent Arel-Bundock

@VincentAB

Prof in Montréal. Most tweets about R: marginaleffects, modelsummary, tinytable, countrycode, altdoc. @[email protected] https://t.co/uKmQqTufUL

Montréal Katılım Nisan 2012
718 Takip Edilen4.9K Takipçiler
Sabitlenmiş Tweet
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
Whoa—my book is up for pre-order! Model to meaning: How to interpret Statistical & ML Models in #RStats and #PyData The book presents an ultra-simple and powerful workflow to make sense of ± any model you fit Note: The web version stays free forever. tinyurl.com/4fk56fc8
Vincent Arel-Bundock tweet media
English
5
33
153
7.6K
Gabriel Stechschulte
Gabriel Stechschulte@__gsteck__·
We refactored Bambi's interpret module, extending its features to align more with @VincentAB R's marginaleffects.
English
2
0
0
175
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@KyleLHandley @bechhof Instead of throwing insulting complaints up on social media ("anyone who picks up a textbook"), perhaps you could ask the maintainer (me) it we could convert the error into a warning. I am always happy to engage with users, listen to feedback, and fix (potentially) bad decisions.
English
1
0
3
70
Kyle Handley
Kyle Handley@KyleLHandley·
So just to complain about open source R a bit. Somebody decided the "marginaleffects" package should not work with PPML models because of FE uncertainty that definitely apply in some model prediction (but NOT my application). So they just broke the whole thing instead. Why can't users just make their own mistakes? github.com/vincentarelbun… "car" package will still do what I want anyway, but not I have rewrite my teaching code, my slides, and my solutions for students. The problem of fixed effects being concentrated out of PPML and conditional logit models is well know. STATA will give you a warning on this and anyone that can be bothered to pick up a textbook can know this. Weird unilateral decisions by package managers probably breaking tons of code for past 7 months.
English
1
0
2
314
Vincent Arel-Bundock retweetledi
Ryan Briggs
Ryan Briggs@ryancbriggs·
Say I wanted ~9k USD to buy out the teaching time of a prof (a brilliant coauthor of mine) so he can work on creating a validated ground truth dataset for a challenging data extraction and labelling task that current public LLMs (e.g. GPT5) have not yet saturated. Who do I pitch?
English
6
4
26
9.5K
Vincent Arel-Bundock retweetledi
Harris Policy
Harris Policy@HarrisPolicy·
Discover how rare it can be to uncover meaningful effects in political science research in this week’s episode of Not Another Politics Podcast. Listen here: har.rs/493JVn3
Harris Policy tweet media
English
0
1
4
526
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
Whoa—my book is up for pre-order! Model to meaning: How to interpret Statistical & ML Models in #RStats and #PyData The book presents an ultra-simple and powerful workflow to make sense of ± any model you fit Note: The web version stays free forever. tinyurl.com/4fk56fc8
Vincent Arel-Bundock tweet media
English
5
33
153
7.6K
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@xuyiqing I've been playing with your ideas for Step 2 and found a super cute 1-liner. Using the `transform` argument of the `comparisons` function, we can spline dydx immediately, instead of using cumbersome bins. Not sure this is actually useful, but it's too cool not to post!
Vincent Arel-Bundock tweet mediaVincent Arel-Bundock tweet media
English
1
0
1
258
Yiqing Xu
Yiqing Xu@xuyiqing·
It works for simple cases, but both steps may have some drawbacks, e.g., binning works not as well at boundaries. Thx a lot for digging into it!
English
1
0
1
989
Yiqing Xu
Yiqing Xu@xuyiqing·
@VincentAB Thought a bit more. CME estimation with cont. X typically involves: (1) Get signals for partial effect/CATE given covariates. (2) Reduce to 1D along X (e.g., binning, kernel, spline). Your implementation uses GAM numerically for (1) and binning for (2).
Vincent Arel-Bundock@VincentAB

@xuyiqing Interesting paper! Thanks for posting. IIUC, your main concern with the GAM approach is that it targets the wrong estimand. If so, I feel that your criticism of the approach is kind of unfair, given that it's easy to target CME w/ GAM. See this notebook: arelbundock.com/hmx_simonsohn.…

English
1
0
1
2K
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@xuyiqing Oh yeah, doubly-robust is the good stuff! I also really like the part of your paper about dimensionality and regularization bias. A very clear and concise treatment. Good work!
English
1
0
1
440
Yiqing Xu
Yiqing Xu@xuyiqing·
Thx, Vincent. Agreed! I didn’t know about this fn in marginaleffects -- super useful! Our point on the critique’s *implementation* of GAM stands. Moreover, accommodating additional Z and regularization bias remain challenging. Doubly-robust estimators generally perform better.
Vincent Arel-Bundock@VincentAB

@xuyiqing Interesting paper! Thanks for posting. IIUC, your main concern with the GAM approach is that it targets the wrong estimand. If so, I feel that your criticism of the approach is kind of unfair, given that it's easy to target CME w/ GAM. See this notebook: arelbundock.com/hmx_simonsohn.…

English
1
0
8
3.5K
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@xuyiqing Interesting paper! Thanks for posting. IIUC, your main concern with the GAM approach is that it targets the wrong estimand. If so, I feel that your criticism of the approach is kind of unfair, given that it's easy to target CME w/ GAM. See this notebook: arelbundock.com/hmx_simonsohn.…
English
0
1
8
6.8K
Yiqing Xu
Yiqing Xu@xuyiqing·
1/ Recently, Professor Uri Simonsohn critiqued Hainmueller, Mummolo & Xu (2019), arguing that the proposed methods fail to recover the conditional marginal effect (CME): datacolada.org/121 We appreciate the critique and offer this response: arxiv.org/pdf/2502.05717 🧵
Yiqing Xu tweet media
English
3
25
131
30K
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@LeoBaccini That's all fine but, fundamentally, I'm not convinced that the president is actually looking for policy concessions. And I worry that spending more CAD in these areas will embolden further extortion attempts.
English
1
0
1
70
Leo Baccini
Leo Baccini@LeoBaccini·
Paradoxically, a trade war between bordering countries is at risk of worsening security border issues or to create problems that do not currently exist. And I leave the economic costs out in this thread. 11/11
English
2
0
1
251
Leo Baccini
Leo Baccini@LeoBaccini·
The US declared to impose 25% tariffs on imports from Canada and Mexico (effective from Tuesday). Canada has retaliated with 25% tariffs on US imports. A trade war between these two major trading partners brings no benefits to their economies and their citizens. A thread: 1/11
English
2
7
24
3.1K
Vincent Arel-Bundock retweetledi
Statistical Horizons
Statistical Horizons@StatHorizons·
Struggling with complex statistical results? Watch the first hour of @VincentAB’s "Interpreting and Communicating Statistical Results with R" on YouTube, and join the full seminar March 27-28 to learn an advanced toolkit in #Rstats! youtu.be/wKvFAs6-fNA
YouTube video
YouTube
English
1
4
21
104.7K
Noah Zucker
Noah Zucker@noahzucker·
Thrilled to share that I will be joining @Princeton @PUPolitics as an Assistant Professor later this year. It'll be difficult leaving amazing colleagues @LSEIRDept, but I'm looking forward to these next steps! 🐅
English
29
4
317
25K
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@kaw_355 There is a very easy and well-documented strategy to revert back to {kableExtra} if you want. I do not recommend doing that in new projects, but it can be useful for backward compatibility in old code. See here: #version-2.0.0-kableextra-and-tinytable" target="_blank" rel="nofollow noopener">modelsummary.com/man/modelsumma…
English
1
0
0
129
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@kaw_355 The reason {modelsummary} changed in version 2.0.0 is that we used to rely on {kableExtra} to draw tables. That package is no longer actively developed, and it has many bugs that go unfixed. The package now relies on {tinytable}, and this will be stable in the future 1/2
English
1
0
2
264
かう
かう@kaw_355·
modelsummaryの変更まじで困るよなぁ
日本語
1
0
0
529
Vincent Arel-Bundock
Vincent Arel-Bundock@VincentAB·
@ohtanilson @mixingale That said, I strongly recommend you use the new table format. There are very good reasons to switch to tinytable, I think. But for backward compatibility with old code, the options linked above are useful!
English
0
0
1
211
にるそん
にるそん@ohtanilson·
modelsummaryのv2.0以降でoutput = latex_tabularが機能しなくなってる???
日本語
2
0
5
1.8K