r/econometrics • • 5h ago

Update: "Roast My Model" audit for econometric models built with AI agents

0 Upvotes

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


r/econometrics • • 8h ago

How would you identify an incentive effect when contributors choose their tasks?

1 Upvotes

I’m building a pre-revenue software startup and considering a contributor model where people choose discrete tasks, with each task’s price set in advance. Work is independently verified, and verified contributions count toward a shared pool whose value depends on future company milestones. There’s no guaranteed payout.

If I wanted to test whether this structure improves the quality of work, task choice creates an obvious selection problem: people may choose tasks they’re already better at, or ones that are easier to complete. A small early cohort also makes random assignment difficult, and people may affect one another’s choices.

What would be a credible way to learn from an initial pilot? Would you compare different incentive structures, use within-person variation, or focus first on descriptive evidence and measurement? How would you handle selection and spillovers with a small sample?


r/econometrics • • 11h ago

which coding language should I start learning ?

1 Upvotes

Hi everyone,

I am a second-year undergraduate Economics student ,and I have about two full years left in my degree. My main academic goal is to build deep expertise in Econometrics, Quantitative Economics, and Public Policy, and eventually get into serious empirical research and higher studies

Since I have two years to learn properly without rushing, I want to pick the right tech stack early instead of trying to learn five different tools at once. After some initial digging, I am planning to start with SQL to get comfortable handling and querying tabular datasets, and then focus deeply on either R or Python for statistical analysis, econometrics, and visualization. I am at initial stage of learning econometrics, currently I am enhancing my area of knowledge in economics and statistics by getting information from different author's books. alongside I wanna start learning a language fr data and graph plotting

For those of you already in econometrics, research, or grad school:

  1. R vs. Python: If my core focus is applied econometrics, statistical modeling, and data visualization (rather than general software development), which one would you recommend starting with?
  2. SQL + r/Python**:** Is learning SQL alongside R (or Python) a practical combination for handling large economic datasets, or is there anything else I should prioritize...

Any practical advice or resources that helped you when you were starting out would be really appreciated. Thanks!


r/econometrics • • 19h ago

looking for resources on llm and finance/econometrics

6 Upvotes

hello everyone , i’m a beginner to intermediate researcher interested in the intersection of llms, machine learning and quantitative finance. i’ve started exploring llm evaluation, financial forecasting , and experimental research

i’m currently looking for recommendations on:

Foundational/intermediate research papers.

Courses, textbooks, and learning resources.

Datasets and open-source GitHub projects.

Research communities and conferences.

Potential research gaps in AI-driven financial applications.

I'd especially appreciate resources that go beyond introductory tutorials and help develop skills in paper analysis, experimental design, and independent research.


r/econometrics • • 3d ago

Learning econometrics before linear and statistics

26 Upvotes

I take econometrics with linear and statistics next semester. I took math Econ but completely forgot most of linear. Should I teach myself linear or statistics before I start the semester? Or would I be able to do econometrics without the extensive background?


r/econometrics • • 3d ago

Hoover index and Herfindahl-Hershman Index similarities; is there a term for this?

Post image
3 Upvotes

This is from an auction house database with 3 locations, NY, London, and Paris. As you can see the Hoover Index for NYC and London are really with Paris moderately lower. The HHI for all London and Paris are more similar with NYC being quite significantly higher; is there a name for this concept?


r/econometrics • • 5d ago

The Impact of Political Instability on Macroeconomic Indicators - Econometric Analysis

7 Upvotes

Hi everyone!
I’m relatively new to econometrics, so I’m trying to learn more about the best ways to approach this type of research. I’d really appreciate some guidance from people with more experience in econometrics, political economy, and panel data analysis.

I’d really appreciate your recommendations on the following:

1. Macroeconomic indicators: Which indicators would be the most relevant to investigate when studying the relationship between political instability and macroeconomic performance? Would you focus on GDP growth, inflation, foreign direct investment, public debt, budget deficits, exchange rates, unemployment, or other indicators?

2. Measuring political instability: Which indicators or datasets would you recommend? Is the World Bank’s Political Stability and Absence of Violence indicator a good choice, or are there better alternatives?

3. Econometric methodology: What type of econometric model would be most appropriate for this research?

4. Control variables: Which additional variables would be worth including to account for other factors influencing macroeconomic indicators?

I’d particularly appreciate hearing about your own experiences, methodological suggestions, and any potential pitfalls I should be aware of when designing the empirical part of this research.
Thanks in advance!


r/econometrics • • 5d ago

[Update] "Would you trust an econometric model built by AI?" New demos, from Solow to HANK, with independent validation

18 Upvotes

Last week I asked this sub whether you'd trust a model built with AI agents, and shared Economic Modeling Studio.

The feedback was fair, among them this: a 73-minute silent demo is too much. Someone suggested starting from a simple PhD-level model and building up, so that's what I did and you can see in the Studio's page:

Walkthrough, about 18 min

  • Solow: steady state, golden rule, a rise in the saving rate.
  • Ramsey–Cass–Koopmans: saddle path, set up as a modular "lego" model.
  • A basic RBC model: a fiscal brick and stochastic TFP plugged in, with a change-impact report before anything changes.
  • Independent validation: a separate validator agent and a replication auditor. They found real problems and fixed.

Advanced: a HANK model, about 6.5 min

  • A one-asset HANK with sequence-space Jacobians, compared with a RANK benchmark.
  • The Kaplan–Moll–Violante decomposition of monetary transmission and the MPC distribution.

The studio has also changed a lot since then (research-plan workflows, MCP, An Agent Economy Lab for building agent-based economies at scale and more), so the README is worth a fresh look.

Thanks to everyone who commented last time. This came straight from your feedback.


r/econometrics • • 6d ago

Academic Confidence and Final Result (Data Collection for Economics Project)

Thumbnail docs.google.com
2 Upvotes

Plz Help to complete my academics survey (Only need 400 Submissions) my due date is 3rd Dec,2026


r/econometrics • • 6d ago

[Feedback request] Single-exporter PPML gravity model for coffee exports – undergrad thesis

2 Upvotes

Hi all, I'm finishing my undergraduate economics thesis and would really appreciate a critical look at my gravity specification before I defend it.

Setup

  • Exporter: Nicaragua only (single exporter), product: coffee (HS 0901)
  • 91 importing partners that bought Nicaraguan coffee at least once, 2000–2024 (balanced panel of 2,275 obs)
  • 51.5% of observations are zeros, so I use PPML (Santos Silva & Tenreyro, 2006)
  • Data: UN Comtrade, World Bank/IMF GDP, CEPII distances

Specification (estimated in R with `glm(family = quasipoisson)`, SEs clustered by partner with `sandwich::vcovCL`; replicated with fixest and pyfixest)

Model 1: X_jt = exp(β1 ln GDP_jt + β2 ln Dist_j + β3 Lang_j + β4 Border_j + β5 FTA_jt + year FE)

Model 2: same + ln(partner's coffee imports from the rest of the world)_jt

No importer FE, because they would absorb distance, language and border. I acknowledge that multilateral resistance is only partly controlled.

Main results

  • Model 1 (n = 2,263): ln GDP 0.80***, ln Dist −0.89***, FTA 0.63 (p ≈ 0.07)
  • Model 2 (n = 2,123): ln partner coffee imports 0.97***, ln GDP 0.04 (n.s.), ln Dist −1.09***, FTA 0.19 (n.s.)
  • Same-sample check: the FTA drop is not due to the smaller sample
  • No separation detected (pyfixest)

I then compute trade potential as observed/predicted (model 2, 2020–2024 average) to rank markets with an unexploited gap. The top gaps are France, Canada, Germany, the Netherlands, Switzerland and the UK. Belgium is ~10× above its prediction, which I interpret as its role as a European coffee re-export hub.

Questions

  1. With a single exporter, is year FE + no importer FE defensible at undergrad level, or would you add something like a remoteness index?
  2. Is controlling for the partner's coffee imports from the rest of the world reasonable as a demand proxy, or is it too close to the dependent variable / endogenous?
  3. Is it fair to say the FTA effect is "not robust to controlling for demand", given that green coffee already enters most big markets duty-free?
  4. Is observed/predicted from an in-sample PPML a defensible way to identify "potential" markets? Anything I should caveat beyond the re-export issue?
  5. What would you attack first if you were on my committee?

Thanks a lot. Happy to share the code.


r/econometrics • • 6d ago

Failed introductory econometrics

19 Upvotes

I don’t know how I failed but I did and I have to take it again (also have intermediate after and I want good grades in both), any tips from someone who did standard maths?

For context I’m in Australia and I’m starting to self study integration, calculus and more advanced concepts standard maths doesn’t teach, and my university now teaches it in python, so can someone give me tips on what to exactly study during my break so I can get a good grade?

Thank you!!


r/econometrics • • 7d ago

R or Matlab requirements for RAs

7 Upvotes

With a high GPA and particular interest and good grades in econometrics, the uni courses are very theoretical and I lack R or Matlab/Python knowledge for some RA positions in which I would be a good fit. Even when I used STATA, i needed Ai help to obtain some commands. How do students usually learn these skills?


r/econometrics • • 7d ago

How to determine the Ad stock parameter (α) and the Hill saturation parameters (Km and Shape) for each channel?

Thumbnail reddit.com
3 Upvotes

r/econometrics • • 8d ago

How do I analyze this time series?

Post image
29 Upvotes

I would like ideas on how I can approach this type of data? The redline is the cumulative average while the blue/green line are short term trends. I just need to know where to begin to study and what direction to go in to begin analyzing this data correctly. Its slightly skewed below the black horizontal line. Any suggestions would be appreciated.


r/econometrics • • 8d ago

Country-level forecasting of wheat, corn and sunflower prices – what data and models would you recommend

9 Upvotes

I'm working on forecasting agricultural commodity prices at the country level, particularly wheat, corn, barley and sunflower, with prediction horizons of 1, 2, 4 and 13 weeks.

I'm using historical regional prices, weather, inventories, production and export data. I've experimented with CatBoost, LightGBM, Chronos-2, Transformers and ensembles, but consistently outperforming a simple persistence baseline has been challenging.

The ultimate goal is to optimize grain purchasing, storage and selling decisions.

I'm interested in:

- Which economic and agricultural indicators have the strongest predictive power?

- How useful are international futures prices for predicting domestic physical prices?

- Are there reliable historical datasets for country-level supply, demand and inventories?

- Which forecasting models have performed well in practice?

- Is predicting price direction or regional price spreads more realistic than predicting absolute prices?

I'd appreciate any recommendations, research papers, datasets or practical experiences from people working in agricultural commodity forecasting.


r/econometrics • • 8d ago

finding support

Thumbnail reddit.com
1 Upvotes

r/econometrics • • 8d ago

What are the Graduate Courses worth taking for Econ PhD Admissions?

Thumbnail reddit.com
9 Upvotes

r/econometrics • • 10d ago

Master's vs PhD econometrics, how are they different?

34 Upvotes

Why do people think there are econometrics for PhD level and for Master level? How are they different if it's just math formula and thinking?

They have the ability to read and understand equation, don't they?

Pardon me for asking such silly question, I'm preparing for an applied econ master's program and wondering the best learning technique to get through it


r/econometrics • • 11d ago

what to do if you can’t find sufficient data for your research?

Thumbnail reddit.com
1 Upvotes

i m doing a research on a comparative study of russia ukraine conflict vs iran usa conflict on india…i am having trouble as in i can’t find weekly data for all variables…i can find monthly data but then the no.of observations become very low…please help…what to do?


r/econometrics • • 11d ago

How to interpret coefficients of linear and quadratic terms?

Thumbnail reddit.com
1 Upvotes

r/econometrics • • 12d ago

Econometrics project that would look good on my résumé

29 Upvotes

I’m about to graduate in December and I took econometrics; are there econometrics projects that I could work on that would look good for back office, finance roles, or reconciliation, sort of roles? My top choice is to be an analyst in infrastructure finance or any government or quasi government role at the state level.


r/econometrics • • 12d ago

Would you trust an econometric model built by AI agents?

4 Upvotes

Hi everyone! I noticed the recent thread on how economists get started with ML and AI methods, and it made me want to share a project I've been working on and learn from this community.

It's called Economic Modeling Studio. It's free and open source (MIT), and it runs inside AI coding assistants such as Claude Code, Codex, Cursor and Gemini CLI. The idea is to give economists something like a small modeling team: specialist agents for different areas, and step-by-step workflows that go from a research question to a documented, independently validated model.

What it can help with:

  • Scoping: turning a question into a model choice, comparing model classes and recording the decision before any code is written.
  • Building: semi-structural and gap models, DSGE and HANK, VAR/BVAR, local projections, DFM and nowcasting, panel and causal methods, IO and CGE, trade, climate-macro, fiscal and debt sustainability, and ML methods, which are always compared with a simple benchmark.
  • Estimating: calibration and estimation, with ranges rather than single points.
  • Validating: a separate validator agent, with no access to the build conversation, checks conceptual soundness, re-implements core outputs and runs benchmarks, sensitivity and stress cases.
  • Modular models: components such as a fiscal rule, a trade block or a financial accelerator can be added or swapped. The studio first shows how each change affects the rest of the model.
  • Code translation: between Stata, R, Python, EViews, MATLAB/Dynare, GAMS and others, tested against the original output.

A few principles I built it around: you approve every step; the agent that builds a model never validates it; if data is missing, the result says "not assessed" rather than filling the gap; and every result can be reproduced with one command.

An example run: I recorded one session, unedited, starting from the question "What happens to Norway's budget, inflation and krone if oil prices fall 30%?" In about 73 minutes it produced a draft gap model from public data, checked it against the 2014–16 oil price fall, and sent it to the validator. The validator rated it pass with conditions and left one finding open for review, which is exactly what I'd want from a first draft. Here's the video if you're curious.

I'd really value your thoughts on:

  1. What checks would you expect a careful referee to run that a tool like this should always include?
  2. What would make you comfortable using a model built this way, and what would make you hesitant?
  3. If you give it a try on a question you know well, I'd love to hear what works and what doesn't.

r/econometrics • • 13d ago

From an Economics graduate to a professional graduate: what’s the roadmap?

4 Upvotes

Hello everyone!
I’m currently pursuing a BA in Economics, Nepal and I’m in my third semester.
I’m making this post because I’d genuinely like to hear from seniors, economics graduates, researchers, and people currently working in the field. I want to make the most of my undergraduate years, but sometimes I feel unsure about whether I’m preparing in the right direction.
I’m genuinely interested in building a career in Economics, particularly in monetary economics, economic research and policy analysis. My long term goal is to work at Central bank, preferably in its research department. I’m also considering pursuing a fully funded master’s degree abroad and possibly a PhD later.

What should I focus on during my bachelor’s to become a good economist?? Which skills, subjects, software, research experience or opportunities should I prioritize?

Also, for those who’ve pursued higher studies or built careers in Economics, what do you wish you had done differently during your undergrad years?

I’d appreciate honest advice, practical suggestions and resources. Thanks!


r/econometrics • • 13d ago

Is Computational Economics a good journal for an undergrad's first publication?

10 Upvotes

It's only Q1 by citescore, Q2 in every other metric and B in ABDC