Oh yeah, totally. Thing is that this is not really a "mistake" per se. These are just targeting different estimands. The mistake is not being clear enough about our research question and the quantity that might answer it.
04.12.2025 15:03 — 👍 0 🔁 0 💬 1 📌 0
The syntax can be confusing at first, but the nice thing about having both options at finger tips is that it surfaces the (sometimes) important distinction between two quantities. Most authors used to print *something* without telling readers what actual quantity they reported.
04.12.2025 13:16 — 👍 2 🔁 0 💬 1 📌 0
Very nice talk. Thanks for sharing!
04.12.2025 10:57 — 👍 1 🔁 0 💬 0 📌 0
Exactly! The `newdata` argument behaves exactly as in base R; `variables` is a new shortcut for G-computation.
avg_predictions(variables="D"): Marginal means w/ counterfactual values of D.
avg_comparisons(variables="D"): ATE of D, i.e. difference between "counterfactual" marginal means
30.11.2025 19:10 — 👍 12 🔁 0 💬 0 📌 0
6 Counterfactual comparisons – Model to Meaning
That's a really nice explanation from Julia! If you'd like the same basic info in different words (+ a Penguins example), see here: marginaleffects.com/chapters/com...
30.11.2025 18:50 — 👍 3 🔁 0 💬 0 📌 0
Yep, the logic is that this parallels the syntax in avg_comparisons(variables=). Both generate "counterfactual" predictions by duplicating the full dataset and modifying only the focal variable.
30.11.2025 13:14 — 👍 2 🔁 0 💬 0 📌 0
ok, yazi looks amazing. Had never heard of it before but I'm switching immediately.
29.11.2025 13:40 — 👍 2 🔁 0 💬 1 📌 0
John Fox: Books and Software
#rstats
It is with profound sadness I heard that my long-time friend and colleague, John Fox passed away this week.
He was the author of {car}, {effects}, {Rcmdr}, ... and numerous influential books. I will miss him greatly.
www.john-fox.ca
28.11.2025 15:26 — 👍 197 🔁 65 💬 13 📌 10
Data Visualisation Gallery
Gallery of data visualisations created by Nicola Rennie.
One of the things that has been on my to do list for a very long time, is building a gallery of all of the charts I've made across #TidyTuesday, #30DayChartChallenge, #30DayMapChallenge, and other miscellaneous projects 📊
And it's finally here!
Link: nrennie.rbind.io/viz-gallery/
#DataViz #RStats
26.11.2025 13:32 — 👍 110 🔁 19 💬 6 📌 3
Wow! Wish I'd thought of that before submitting 0.0.1 to cran!
27.11.2025 20:43 — 👍 3 🔁 0 💬 0 📌 0
classic bait and switch
27.11.2025 19:59 — 👍 4 🔁 0 💬 1 📌 0
i laughed
27.11.2025 19:53 — 👍 4 🔁 0 💬 1 📌 0
library (tidybayes) # for wrangling and plotting brms models
Library (bayesplot) # for plotting brms models
library (marginaleffects)
#for marginal effects
library (ggdist)
library (patchwork)
Coding tip of the day: make sure you leave informative comments in your code
27.11.2025 16:01 — 👍 49 🔁 1 💬 2 📌 1
looks cool, congrats!
27.11.2025 02:30 — 👍 1 🔁 0 💬 1 📌 0
Right! And my impression is that the people who struggle most are those who insist on immediately computing some kind of "one number summary." I feel it's much easier to start simple, focusing on individual outcome levels, and then build up more complex contrasts piece-by-piece.
23.11.2025 03:27 — 👍 3 🔁 0 💬 0 📌 0
[as the maintainer of an R package that uses the world bank data API, I receive emails about this semi-regularly. it usually doesn't last too long.]
22.11.2025 17:13 — 👍 2 🔁 0 💬 1 📌 0
yep
22.11.2025 17:12 — 👍 1 🔁 0 💬 1 📌 0
this is super cool
22.11.2025 11:49 — 👍 1 🔁 0 💬 0 📌 0
#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...
20.11.2025 16:50 — 👍 81 🔁 29 💬 9 📌 3
the stata thing is kind of wild. Congrats!
20.11.2025 20:10 — 👍 2 🔁 0 💬 0 📌 0
Our 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/
20.11.2025 19:49 — 👍 30 🔁 8 💬 2 📌 1
This is wonderful!
20.11.2025 13:49 — 👍 2 🔁 0 💬 0 📌 0
What's your cleaning/oiling routine? I must scrub mine too hard because it doesn't improve.
19.11.2025 22:54 — 👍 2 🔁 0 💬 1 📌 0
suuure. bsky.app/profile/did:...
19.11.2025 14:44 — 👍 2 🔁 0 💬 1 📌 0
Building an easy-to-use chrome extension to do this feels like a fun weekend project for a single motivated developer. Plus, there are already dozens of threads on Reddit asking for automated tools. Botnets are an obvious threat, but we wouldn't even need them to massively screw with our samples.
18.11.2025 21:54 — 👍 5 🔁 0 💬 1 📌 1
I also love this new form of social desirability bias, where the LLM infers the research question and gives researchers what they want.
18.11.2025 19:55 — 👍 41 🔁 0 💬 2 📌 0
new paper by Sean Westwood:
With current technology, it is impossible to tell whether survey respondents are real or bots. Among other things, makes it easy for bad actors to manipulate outcomes. No good news here for the future of online-based survey research
18.11.2025 19:15 — 👍 760 🔁 388 💬 41 📌 125
we're done
18.11.2025 19:46 — 👍 64 🔁 14 💬 3 📌 8
Great talk! This is very cool work and I look forward to trying the package! It feels like the evals will be highly dependent on the quality (and size) of the target column. And that's also likely to be the most expensive thing to collect. Have you seen some good discussion/guidance around that?
14.11.2025 16:03 — 👍 2 🔁 0 💬 1 📌 0
LinkedIn
This link will take you to a page that’s not on LinkedIn
I 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 📌 0
鄺文詠 | contributor @404media.co —evy@404media.co | formerly @wired.com and vice news | moving between the hellscape and food | THOUGHTS/OPINIONS MY OWN
PhD in economics from LISER, Luxembourg, now looking for research software engineer or data science positions. Mostly here to talk about #rstats
https://github.com/etiennebacher
These are not the skeets you are looking for
Political Scientist at the University of Manchester
🌐 Website: https://www.jack-bailey.co.uk
📓 Notebook: https://publish.obsidian.md/jackbailey
Applied Scientist | Math PhD | Open Source
PyMC Labs
https://juanitorduz.github.io
Professor of Politics and Philosophy at the London School of Economics. Flas shqip.
INDIGNITY pre-orders: https://linktr.ee/leaypi
Statistics professor, #rstats user and reluctant #python user. I love #quarto, #quilting, #crossstitch, #snark, and #dogs. Research in #forensics, #visualization and #datavis, and #reproduceableresearch.
Assistant Professor at Western University | Legislative politics, gender and politics, racism and politics, and NLP (and politics). http://svallejovera.com
Associate Professor of Political Science @McGill. Surveys, methods, data, political science, (dis)information, behavio(u)r, bicycles, kids
Dad, Vulnerability Research, Packet connoisseur. He/Him. Cyber Security Architect @greynoise.bsky.social
, DM's open. Top percentage Rattata. #cve #infosec #cybersecurity
https://remyhax.xyz/
SCOTUS Scholar | MSU PhD (yes PLS!) | Assistant Professor at UGA
🇲🇽 - macroecology, evolution, conservation, spatial. #rstats, data. mammalogist. tidyverse and 🔨 instructor
posting is such sweet sorrow.
Data scientist, #rstats developer, and educator.
Passionate about permaculture, automated systems and design (🐝🥚🍅🌻🍄🤖).
https://jeremy-selva.netlify.app/
Cal Poly Statistics student interested in statistical computing/learning and its applications. Especially interested in R, Julia, Stochastics, and Bayesian methods.
visruth.com
ML Eng. and econometrics. Lot more left-posting than normal. Some hobby-level finance
Regrettably degen trading for the next 3 months, im sorry
Views dont reflect my employer
Visualization toolmaker. Founder of Observable. Creator of D3. Former NYT Graphics. Pronounced BOSS-tock.