1k followers! Calls for a re-introduction:
Statistics lecturer, freelance stats consultant, & #rstats dev @easystats.bsky.social 📊
I try to help social scientists make better inferences from their data & communicate their findings 👨🏫
Hope to bring the #stats twitter/R community vibes over to bsky!
Why it's important to consult a statistician before data collection, example 17445:
If you collect data from 1000 patients, nested in 20 therapists, your effective sample size is much (much!) smaller than you think it is... 😏
People, if you wanna p-hack the shit out of your data, there's no need to pay a statistician - a subscription to the most capable LLM is much cheaper, without any of the pushback.
Guess I'm firing a client today 🤷♂️
Your monthly reminder that if you're using ChatGPT to do your science, you're failing your colleagues, community, and all of us.
Here, ChatGPT makes up data and presents it as the real thing — then apologizes when confronted.
Three different ways of presenting interactions in this little thread. I think "(non)parallel lines" is the most common, but I like the heatmap, especially when there isn't a focal predictor and a moderator and we're really looking to visualize a joint effect.
There is a very useful graphic that @robin-j-brooks.bsky.social makes repeated use of comparing price elasticity of demand for crude, oil exports from the Gulf and prices. I thought the actual graphic could be improved so had a go at improving it. #rstats code at freerangestats.info/blog/2026/10...
You know how the "No brown M&M's" clause in Van Halen's contracts works? (summary: https://en.wikipedia.org/wiki/Van_Halen_test) Well that's what demanding a simulation-based power analysis does for a complicated, e.g. multilevel model: forces you to understand that model properly before showtime.
I actually don’t think you can be a substantive expert without a certain amount of methodological competence. Otherwise you don’t really have a sense of how to interpret your data or the studies of others. It’s just vibes.
As always with AI we need to ask:
1. Is AI good at this?
2. Should we use AI for this?
People are often surprised not only by how hard it is to answer (1) but also by how (2) is a completely separate question than (1)!
AI can be amazing at some thing, but shouldn't be used for doing it at all.
AI can be worse than a human at some other thing, but should be used for that anyway.
Very important for science that you plug a couple of numbers that you made up into the wrong fields in G*Power to get a number that does not change anything, because you’re going to tinker around until it’s the number you want 😌
#dataviz#stats#rstats
New blog post: Thinking about Penguin Variables
Bill length & depth show Simpson's paradox. Re-expressed as size (L×D) and shape (L/D), it vanishes: same data, rotated 45°, a simpler story.
friendly.github.io/blog/posts/2...
🤠I'm excited to share our new paper, just published in PNAS, in which we examined more than ONE MILLION forecasts from Polymarket, Kalshi etc, The main finding is striking: Prediction markets and collective forecasting platforms are remarkably well calibrated.
🤠I'm excited to share our new paper, just published in PNAS, in which we examined more than ONE MILLION forecasts from Polymarket, Kalshi etc, The main finding is striking: Prediction markets and collective forecasting platforms are remarkably well calibrated.
🤫 {shiny} isn't the only "real" way to make an app in #rstats
I've made the same website using {shiny} and {plumber2} for a made-up coffee company and deployed both on @ricochet.rsricochet.rs/blog/ssr-in-r/#databs
Why do I want access to all the books & articles? For training, testing & inference. But don't worry, it's 'transformative use'; what comes out will be very different from what I put in. It'll even grow the market for what I'm asking for. No, no, this isn't about LLMs. I'm talking about my students.
Do you want to faithfully quantify false/true positive rates in a significance test? Model the entire data generating process.
Faithfully calibrate an estimator? Model the entire data generating process.
Design productive experiments? Model the proposed data generating process.
"Empirical conclusions depend not only on data but also on analytic decisions"
Apparently we know this from...
wait for it...
many analyst studies.
Pro tip: If you don't open a book or talk to a statistician, you can experience the joy of discovery every day 🤯
Is anyone else experiencing extreme variability in @quarto.org interactive run times?
Like running `1` can take (within the same session) 0.001s to 1.2 MINUTES.
Running in Positron, everything is up to date, and this isn't happening running in the same window just regular R...
Same five studies. Same treatment effect.
One meta-analysis (raw): I² = 0%.
Another meta-analysis (SMD): I² = 94%.
How can both be right? 🤔
Find out in my latest blog post👇
mzloteanu.substack.com/p/standard-n...#Statistics#MetaAnalysis
Is anyone else experiencing extreme variability in @quarto.org interactive run times?
Like running `1` can take (within the same session) 0.001s to 1.2 MINUTES.
Running in Positron, everything is up to date, and this isn't happening running in the same window just regular R...
Thanks! This inches us toward `glmmTMB` being a replacement for `gamm4` - which, with respect to its authors, I've found a headache to work with (huge model objects, lack of downstream methods, etc.). BUT `glmmTMB` still has issues with predictions, starting values, etc. github.com/glmmTMB/glmm...
If you fit models with glmmTMB(), gratia 📦 has gained support for these model objects, including glmmTMB's nascent capability for fitting penalized spline terms using mgcv's s()
You'll need the GitHub versions of both gratia & glmmTMB to try this out #RStats#statisticsgithub.com/glmmTMB/glmm...
"For observational designs, please describe association, prediction, or covariation in terms of statistical dependence. For example: 'we found that p(smoking, lung cancer) ≠ p(smoking)p(lung cancer)'".
How should we track human decisions in the kind of data science project that Alex envisions, and how can we ensure LLMs implement our decisions faithfully?
One idea would be "Data Analysis Decision Records"
What do you think?
I'd love any feedback on #DADR !
vincentarelbundock.github.io/dadr
Perhaps the future of data science coding will be a continuous conversation with coding agents who present us with a series of analytical and coding decisions.
We decide, they implement.
(And, if we take our work seriously, we then review their implementation.)
You should turn on the warning for this, because it's all fun and games until you absolutely can't locate why your code exploded!
`options(warnPartialMatchDollar = TRUE)`
What does a sound data analysis workflow look like? In a first step:
- Define your estimand (*quantity and unit of interest*) & research question
- Map reality to your model (choose variables wisely)
How the {modelbased}📦fits into this post-estimation workflow (second step): 👇
#rstats#easystats
Send your best work to PCI Psychology (psych.peercommunityin.org) where it will receive high quality & open peer review free of commercial interference. We review a variety of article types from a wide range of psychological topics (psych.peercommunityin.org/help/help_ge...).
1247 preprints have now received a recommendation from one of the 21 thematic PCI! Behind every recommendation is a community of researchers contributing their expertise.
Could your preprint be next? 👉 Submit your research to PCI: peercommunityin.org/submit-a-pre...
One thing I find endlessly funny about the rise of AI is that it has revealed that there is a large number of people who believe that the reason they wrote essays at school or university is their teachers were desperately waiting for them to provide a definite answer to “Lear: what’s up with him?”
"By using AI, tasks like essays that used to take hours can be completed in minutes!"
Sure, like how if I arrive at the gym and immediately go for a shower, my workout is done in record time. And if I throw my sandwiches straight in the bin, I can finish my lunch in under 10 seconds.
This is good, but I think missing a crucial point: the goal of peer review is not just to publish the most accurate and novel papers possible. It also has a social function: reviewers are part of the process of creating and transmitting knowledge to other humans.
www.science.org/content/arti...
Outside of the obvious open source problems with vibe coding, there is soooo much truth in the “now I have to read/review all of this stuff with my brain power when you used almost none at all” across all layers of work now. Feel this in my bones 😭