r/econometrics • u/toah2020 • 5h ago
Update: "Roast My Model" audit for econometric models built with AI agents
Not sure this needs a separate update, so downvote if you don't think so. Full disclosure: this is my own open-source project, nothing to sell. Honestly, people in these subs have been the toughest and most useful reviewers the project has had. Many features came from your comments on my earlier posts, and even more from direct messages, where some of you sent long and careful critiques. Thank you for that. This one came from u/samclemmens, who said the hardest part of econometrics with LLMs is that they paper over the cracks. They almost adopted an ARDL model and found an autocorrelation problem only at the last moment, so they suggested "roast my model" capability. It is now in the studio as /roast-my-model (or /audit-econometrics without the jokes), and it works for any estimated model, not only ARDL.
To be honest about the difference, I compared it with plain Claude. I gave Claude the data and code of an ARDL consumption function with four overconfident claims, and it was good: it ran 15 to 30 tests and rejected all four claims. But the Studio does somethings a chat answer did not do. It reruns your own estimation script over every reasonable specification (controls, lags, fixed effects, clustering, samples) and says if the sign, size or significance changes. It simulates data with a known effect and reruns your code, so you see the real false positive rate and the power of the test behind each claim. Another agent there rebuilds the model blind, from only the data and the question, and every difference must be explained. Critical values are computed for your sample, not quoted from memory, and if the data or code change later, all checks go back to "not checked".
On the same consumption model it found two things plain Claude missed in both runs. The specification grid showed the result is fragile: in 9 of 12 clean specifications there is no long-run relation, but 2 with a trend find one, with an elasticity around 0.67 and not 1. The power check showed the bounds test detects a true long-run relation only about 15% of the time with this sample, so "no cointegration" is also weak evidence.
I only compared with Claude, not GPT, and on few models, so take this as first tests.
Of course it does not replace your judgment, because of many reasons, for example some conditions, like exclusion restrictions or parallel trends, can only be argued from the design.
Demo video (9.5 min): https://www.youtube.com/watch?v=4RWN5SFozvc,
repo:
https://github.com/tatashbar/Economic-Modeling-Studio
Thanks to u/samclemmens for the idea (they are in the acknowledgements now), and to everyone here, in comments and in DMs, who keeps poking holes in it. Roast it, and if you can break it, even better.
TL;DR: /roast-my-model audits any econometric model: it tests every assumption, reruns your code across all reasonable specifications and on simulated data, has another agent rebuild it blind, and gives a verdict by fixed rules.
Thanks