How agentic AI models could (finally) open the door for agent-based modeling in economics

Everyone loves a trilogy, so let’s wrap this up. I told you why agent-based modeling never broke through in economic research. I told you how it could eventually matter. Now I’m going to tell you how AI could, and maybe should, actually make it happen. And as someone who is not fully “AI-pilled”, I will confess that there aren’t that many avenues in which I am particularly excited about AI contributions, particularly in the arts, and even where I see opportunities for great things, I remain pessimistic that Gresham’s Law is going to hit us hard and fast while we are still learning to culturally and institutionally separate the wheat from the slop-riddled chaff.

But let’s put on our more optimistic glasses for the moment and think through what the opportunity for AI to guide agent-based economic modeling into a new (and first) golden age.

First, let’s define a few terms. When I refer to Agentic AI I am specifically considering an LLM model that is capable of autonomously pursuing goals, taking actions, and adapting their behavior in response to new information, all based on a set of pre-defined rules and reward functions and with little to no need for continuing human instruction. When I refer to an Agent-Based Model (ABM) I referring to a computational model of an economic or social system in which individual, heterogeneous agents (consumers, firms, workers, etc) make decisions according to specified behavioral rules, interact with one another and their environment, and collectively generate aggregate economic outcomes.

I don’t want to be wholly redundant with my previous posts, but it’s important to revisit a key theme that ran through both posts: the greatest strength of agent-based modeling is it’s ability to accomodate incredible depth of individual and institutional heterogeneity. Which is a nice way of saying that it is parameter rich. Which is itself a nice way of saying that the models can generate any result without the prospect of credibly investigating the mechanism behind those results and, more importantly, suffiently culling enough noise from them to learn anything about how the world works. For those less familiar with the curse of dimensionality, let me explain.

If a model has 2 parameters you can simply run a grid search of every possible combination of those parameters and observe what kind of outcomes are generated. If you had an agent-based model with 100,000 agents randomly interacting you could still investigate the parameter space by “running” the model 1000 times for each possible combination of parameters and look at the full distribution of outcomes, reporting the mean, variance, and individual quantiles of every outcome of interest for each combination in your grid of parameters. Your results might look like this:

This is a useful way to design and investigate an agent-based model. But you probably already see the problem. Sure, toy models with two parameters are cute, but how do I answer complex economic questions? Toy models can only take us so far. And that’s the rub.

Once you start really start trying to advance economic theory of large, complex economic systems with an agent-based model you’re going to have a lot of visible parameters and lot more less visible parameters. An ABM will be composed of:

  1. Agents (people)
  2. Collectives of agents (firms, clubs, mosques, families, states)
  3. Rules for agent decision-making
  4. Rules for collective decision-making
  5. A context, network, and/or phystical environment with it’s own rules

Every single item on that list will in turn have attributes with both

  1. Initial conditions
  2. Distributional characteristics of those inititial conditions i.e. mean, variance, etc
  3. Are they fixed, exogenously varied, or endogenously varied over time?

Take the first list and add up the total agents, collectives, rules, etc. Then multiply those by each other and by every decision that has to be made in the second list. That number will likley be in the thousands. Congrats, that’s how many true model parameters you have.

With modern macroeconomics, and I am speaking here as a non-macroeconomist, your goal is to reduce that parameter space using basic logic, empirical observation, and modeling decisions that collapse heterogeneity to a small number of representative agents or types. You produce equilibria predictions at each stage of your model and compare them to objective reality. Once the model is sufficiently micro-founded and validated, you can then generate predictions and investigate mechanisms.

The whole point of agent-based modeling, however, is not to collapse the model to a small numbe of representative agents. It’s to endogenously grow aggregate outcomes from the individual endogenous decisions and how, through interactions within the model, they aggregate into predictions for a social system. So what’s the problem? Let’s assume every agent type and collective is characterized by 5 attributes and that each attribute is characterized by 3 statistical properties. Each rule comes with 3 functional variations, characterized by 3 weights each. We’ll then say that there are 5 total agents ( 2 individual types and 3 collectives), for each of whom half of attributes are fixed and half are endogenous. They manner in which they are endogenous has 3 functional variants. If we want to do a true grid search, we’re looking at least at a 5000 combination parameter grid space.

And we are no where near done yet, because we haven’t considered how time works. How steps and sub-steps are ordered. What decisions are synchronous, asynchronous, hieracherially ordered or random. We haven’t considered the social or physical environment What’s you start digging in, your parameter space starts gaining orders of magnitude. And then you realize the real problem is that true grid search of the entire parameter space would take until the heat death of the universe.

What’s the solution to a grid search? A (literal and metaphorical) golden section search. For those unfamiliar, a golden section search reduces the reduces the compuational burder of a grid search by iteratively narrowing the search interval toward an optimum, rather than evaluating every possible parameter combination. What we need is a way to search through a each parameter until we can confidently reduce it to smallest possible window that actually needs to be investigated to properly answer the research question. We need to make decisions.

And that’s what research expertise really is – competently making decisions about what can and should be varied, what can and should be assumed, etc, until we have a tractable question and well-executed research endeavor to answer it. The ABM space is too big for a researcher, however, because too much of the competent execution of research is unobservable, possibly even to the researcher themselves, as the model and the interactions of each decision become intractably complex. Too big for a human researcher. But what about an Agentic AI?

What if we created a base ABM, handed it to an Agentic AI, and told it to recursively evaluate and update the model until the model and the results it generated met a pre-defined set of necessary meta-conditions that the researchers defined as i) a falsified theoretic prediction, ii) generated via observable, definable mechanisms, iii) dependent on a maximal set of modeler decisions, and iv) and independent of set of unlimited, but fully observable modeler decisions?

This is going to take a long, but not necessarily intractable amount of time because we can also define a series of “golden section” adjacent rules that allow the AI to decide with a parmeter, rule, or decicsion is sufficiently irrelevant to ignore or sufficiently constrained to tractably investigate as key outcome determinant or source of outcome sensitivity.

As long as I am giving unsolicited advice to graduate students everywhere interested in agent based modeling, I would suggest forcing such an Agent AI modeler to exclusively use a constrained, pre-defined modeling language or library. Further, you probably want to force a literal, numerical maximum on the number of lines or characters of code. And, lastly, you’ll want to come up outcome rules by which the Agentic AI has to itemize and defend every single deviation of the final model from the base model handed to it. By constraining AI to a limited variety and quantity of coding objects, you are in turn ensuring that the resulting model and the internal mechanism will be transparent to the researchers managing the AI and the broader discipline evaluating them.

Agentic AI offers researchers the ability to iterate through the prospective solution space for modeling problems otherwise intractable via brute force. Further, it allows researchers transparently reveal the instructions that guided the agentic AI dimensions on which the generated model is sensitive to both varied parameters and modeling decisions. It allow for two hierachical levels of meta-research transparency.

That’s what I would be coding write now if I was a PhD student interested in contributing to economics and other social scientific disciplines via agent-based modeling.

Fiscal Health & Divided Government

For the past two years, we’ve had a unified government in which the Republican party has populated the White House and had majorities in both chambers of congress. Once the new legislators are in office we’ll have a divided government. That means that the political party controling the White House won’t also control the senate and house of representatives. In the spirit of saying something of substance, I want to know what the implications are for our fiscal picture.

One can measure fiscal health in many ways. Does a divided government bode well for shrinking the deficit? Rather than spit-ball about politics, I take the data since 1960 in one hand and a model in the other. See the end notes for model details.

Since 1960, the most popular form of government split has been a Democratic president and unified government, followed by Republican presidents and a divided government. Democrats have controlled at least one chamber of congress for 62% of the years. Do these splits matter for federal outlays, receipts, and the deficit? Since a unified democratic government was most common, I use that as the baseline fiscal case and compare the cases to it.

Below are the average impacts of government-party types on federal spending, revenues, and the deficit. The blanks are insignificant differences. On average, the only party split that results in less spending is a Democrat president with divided government. Those and unified Republican governments raise more revenue and reduce the budget deficit from its trend (there was a small decline in in discretionary spending at the start of Trump’s 2nd term with a unified government).  The bad news for deficit hawks is that Republican presidents with a divided government – the type that we’ll have for the next two years – perform poorly. On average, they reduce government revenue and increase the deficit. Again, all of this is ‘on average’.

Continue reading →

Welcome Back, Divided Government

Last week I predicted:

the midterm wipeout is coming.

I predicted a ‘moderate red wave’ here in 2022. I predict a blue wave for 2026 that is bigger than the red wave of 2022, though not a ‘mega tsunami‘

That post looks good now with the exception of those last five words- it was in fact a blue ‘mega tsunami’ by Kalshi’s definition (Democrats hold 240+ House and 54+ Senate seats).

Polling from the WSJ backs up my assessment that this was mainly about the economy and prices:

This comes after a longtime WSJ editorial writer hoped for a big Republican loss, something I’ve never seen from the WSJ before. But if they speak for the markets, it makes sense- US stocks opened up 2% the day after the election.

Crypto and gold prices are also up, an odd combination. Oil prices are down, perhaps seeing an end to the Iran war as more likely. Polymarket shows the odds of a US invasion of Iran this year down 5%. John Ossoff and Ron Desantis saw their odds of becoming President in 2028 rise at the expense of JD Vance and Gavin Newsom.

What will we see change on economic policy? Congress may lower tariffs and take back some of the tariff power they have long delegated to presidents. The Federal Reserve board will feel more free to raise interest rates if they think it is warranted. Many state-level results mean data centers will get harder to build, which will hurt the ‘picks and shovels’ companies literally building them but not necessarily the frontier labs who won’t be able to spend as much on racing ahead. NVDA and Micron stock is down while Google, Meta, Anthropic and OpenAI are up.

But the fact that President Trump still has veto power will limit how many big changes we’ll see over the next two years for anything that would require a new bill. Welcome back to divided government, to gridlock, and to checks and balances.

Midterms: It’s The Economy

This is my last post before the midterms Tuesday. What will they bring?

Midterm elections are usually bad for the President’s party:

I don’t think this year will be an exception to the rule. I see many indicators pointing in the same direction.

The largest US prediction market Kalshi currently gives Democrats a 91% chance to take the House and a 66% chance to take the Senate. The international Polymarket and play-money Manifold currently give slightly higher chances, 93/67 and 94/69. Forecaster Nate Silver is higher still at 95/76.

The best odds I’m seeing for Republicans among the models I have followed for years is Ray Fair giving Dems only a 60% chance to take the House (he doesn’t forecast the Senate). In Fair’s model, the economy is working in favor of Republicans; inflation is a negative for them but economic growth is a stronger positive (including the 3.4% Q3 GDP estimate just released today).

In practice though I think economic issues are working in favor of Democrats. The economy is good in many ways, like 4.2% unemployment- but most people aren’t happy about it. Consumer sentiment is at record lows. Economic growth is solid but largely driven by the AI boom, which gives people plenty to be nervous about. Inflation is only a bit high (3.4% vs a 2% target) but easy to tie to administration policies like tariffs, war, and pressuring the Fed to lower interest rates. Ad spending indicates that politicians on both sides think tariffs have gone from a minor issue that voters have mixed feelings about to a major issue that voters don’t like:

Gas prices have long been especially salient, and are currently high because of the Iran war. I said here in March:

if the US administration wants to avoid a midterm wipeout driven by high gas prices, I see only 3 options:

  1. Get lucky and see the Iranian regime fall quickly
  2. Negotiate an end to the war quickly (which might itself be unpopular if they can’t get a good deal) or just declare victory and go home (but its not clear whether Iran would re-open the strait now just because the US stopped bombing)
  3. Restrict Exports

But they took none of those three options, and now it seems the midterm wipeout is coming.

I predicted a ‘moderate red wave’ here in 2022. I predict a blue wave for 2026 that is bigger than the red wave of 2022, though not a ‘mega tsunami‘. The main things Republicans have going for them are the Senate map (Dems need to win in multiple 2024 red states to win) and the possibility that angry anti-incumbent voters will take down some Dems too.

What Will the GDP Report Say Tomorrow?

Based on all of the good predictors that I track, GDP growth for the 3rd quarter of 2026 will likely be right around 3.2%:

Table 1

Kalshi, the Atlanta Fed’s GDPNow model, and the WSJ survey of economists are typically the best predictors, and they are all right around 3.2%. I’ve also added a new column to the table, a Nowcast from the St. Louis Fed. This one tends to be a pretty poor predictor, so you might wonder why I’m adding it to my list. Read on below to see why, but for now it’s interesting to note that it is very close to the three other good predictors (the NY Fed model is generally not very good).

When I have tracked these predictors in the past, I have been comparing them to the advanced GDP estimate, the first one the BEA puts out. Being able to predict this release is a good and hard enough task, but ultimately we don’t actually care about the number that will come out tomorrow. This number will be revised many times with more data, not only the 2 months after it, but through subsequent benchmarking and revisions in later years. Ultimately, we care whether these predictors are getting the true number, not BEA’s initial release (even though they are calibrated to predict that initial release, for the most part as I understand them).

What does it look like if we compare those predictions to the current best data on GDP growth going back to 2023? On this measure, the St. Louis Fed Nowcast looks pretty good recently:

Table 2

While the St. Louis Fed Nowcast looks pretty bad over the entire time period — the worst of these 5 predictors — it has done very well in the past 3 quarters, including nailing the 1st quarter of 2026 exactly (though in one quarter, they got the sign wrong). So I’m now tracking it in my table to see if it will continue to perform well — maybe they improved the model? The 3rd quarter data won’t actually tell us much about the St. Louis Fed model relative to the others, since they all are saying the same thing, but it will be worth watching in the future.

If we tally up the best predictors using the final or most recent GDP growth estimate, the best predictor is Kalshi’s betting markets. Kalshi has the lowest average error, which is just slightly better than the WSJ survey of economists. But Kalshi was also the best predictor in 6 of the 14 quarters in Table 2. The WSJ survey was only the best in 3 quarters — and in two of those it had the same prediction as Kalshi. It was only best as a standalone in one quarter (the oldest one in these 14 quarters). The St. Louis Fed was the best predictor in 5 quarters, all of these by itself, but its average error (as well as standard deviation and variance) is the highest of these 5 predictors.

Based on different combinations of the predictors, the best pair of predictors is Kalshi and WSJ. Averaging those together gets you an average error of 0.68, better than any single predictor. That means my prediction based on all this information is 3.15% growth in the third quarter for the final figure, once we eventually have it. The average of the Atlanta Fed and Kalshi is the best pair for the advanced figure, which gives a slightly different prediction of 3.24%.

Disability: Income, Unemployment, & Education

Let’s talk about disability. The American Community Survey (ACS) identifies seven broad categories, not including the baseline case of ‘No Disability’. I’ve written before about how disability designations are difficult because many qualifying conditions are a matter of degree. Surely you’ve met a person who is legally blind but can see *some*. How much sight ability can remain while still being considered blind? If a person can identify the sun’s location, but nothing else, then is that person still blind? Similarly, who’s to say whether some physical or cognitive characteristic is disabling? Why not enabling – depending on the task?

Wisely, the ACS side-steps this entire discussion and simply asks respondents whether they have “difficulty”.  We can be agnostic about the cause and degree while still trying to get at the heart of the matter. One downside is that people tend to have more difficulty as they age. Since that’s not relevant for earlier life economic outcomes, I only examine ages 24-45. Difficulty with “self care” is too small of a category in the 2024 ACS for the analysis here. Below are the other six difficulties identified:

  • Hearing Difficulty (n=6,609)
  • Seeing Difficulty (n=8,307)
  • Cognitive Difficulty (n=26,792)
  • Ambulatory Difficulty (physically getting around) (n=4,568)
  • Independent Living Difficulty (n=5,997)
  • No Disability (n=885,302)

We should say early on that many of the people who participate in “Deaf” (capitalized) culture do not consider deafness to be a disability and that any such suggestion is motivated by bias and hearing culture. I won’t engage with that here. But I can say that there is a long tradition going back through the 1800s that rejected alms-giving for deafness and instead supported independent living for deaf people. Historically, this manifested as outlawing panhandling while featuring deafness and rejecting government programs that provide simple transfers due merely to deafness. More recently, the push to reject the ‘disability’ label and its baggage has even been the motivation for some deaf people to oppose cochlear implants being covered by medical insurance. For ease, I’ll be using the colloquial terms for all of the above difficulties. Now that you have the greater context, let’s jump into the data (unweighted).

The baseline income chart is above. Given the above description, it should come as no surprise that deaf people have the highest average income among disability groups, conditional on employment. However, it’s also surprising that most of the above disabilities have incomes that I wouldn’t exactly call destitute. Many people who have a disability look much like everyone else. From an economic point of view, we all have a comparative advantage and it’s perfectly consistent with gainful employment and flourishing otherwise.

Continue reading →

A Simple Way States Can Reduce Healthcare Spending

Repeal Certificate of Need requirements, assuming you are one of the ~35 states that have them.

That’s what I find in a paper with Shishir Shakya just published in Health Economics.

Certificate of Need laws require healthcare providers to obtain government approval before building new facilities or expanding services. The original intent of the laws was that less building would mean less spending, but critics worry that it means less competition and higher prices leading to higher spending. Our paper finds that the critics are right, as states repealing their Certificate of Need laws see their healthcare spending fall relative to those that maintain them.

Longtime readers may recall that back in 2022 I posted about another paper of mine with a similar result, and even that wasn’t the first word on the subject. So what’s new in this paper? Besides newer data, we measure health spending as a percentage of the state economy rather than in raw dollars, to try to account for how CON changes the true burden of healthcare spending. We also use newer regression techniques that are probably more accurate but definitely help make prettier graphs.

Here’s what we found happening to health spending when states repeal Certificate of Need:

Full published paper is here, ungated working paper version here.

Has Mexico’s “Canasta Básica” Policy Made Food More Affordable?

A recent article in The Guardian profiles economist Isabella Weber. She doesn’t seem to like other economists very much, supposedly because we “obsess over ideological purity and are inflexible when searching for solutions.” Weber wants economists to come up with solutions that work even if… I guess, even if they don’t work well in theory? Maybe they will work well in practice?

Anyway, so far as I can tell, the article only gets into details on two concrete solutions to affordability. I’m sure she has more in her book, but let’s see what these are. The first for governments to create “publicly owned entities that can buy and sell grain into its market,” presumably to smooth out fluctuations in grain prices. The second is “the Mexican government’s canasta básica policy, through which retailers voluntarily cap the total price of a basket of two-dozen essential goods.”

Let’s look at the second one, since I think for developed countries like the US, fluctuating grain prices aren’t the primary source of affordability concerns. But perhaps American consumers would like a basket of grocery essentials to be cheaper.

Has this policy in Mexico worked? It was first implemented in 2022, and food inflation has certainly fallen in Mexico since then. But it has also fallen everywhere else in the world — 2022 was peak inflation not just in the US, but in most countries — so we can’t judge the success of the program based on that alone.

Instead, we can look at internationally comparable data on food spending, which comes from the USDA’s Economic Research Service. Our World in Data has a nice chart based on this data, and even though it is now two years out of date (I will provide 2025 data below), the 2023 data makes a case against the success of the “price controls” in Mexico (I put “price controls” in quotes because it is not a true price control, but an attempt to control prices via incentives):

Figure 1

It will probably not surprise you that the US spends much less on food as a percent of total spending than Mexico, given that we are a high-income country. But it is still worth pointing out just how low food spending is in the US. However, this chart still paints Mexico in a very poor light: for countries with about the same income level in the Americas (as measured by consumer expenditures), Mexicans spend much more on food than Argentina, Chile, or Panama.

If we use the 2025 USDA data, and focus on the 10 countries with consumption expenditure closest to Mexico (between about $8,000 and $12,000 of consumption), we see that Mexico is very much on the high end: only Argentina was clearly higher:

Table 1

Finally, we can compare Mexico against itself in this data, looking at food spending going back to 2017:

Figure 2

Food spending actually peaked in 2020, though be cautious of any data from 2020 as the pandemic made data collection difficult. After declining in 2021 and then into 2022 (the policy seems to have been put in place in mid-2022), there haven’t been any further declines. And food spending is still well above pre-pandemic levels (unlike the US, where the 2025 figure of 6.4% is the same as 2017-18).

Ultimately, we would want a more sophisticated analysis than my simple tables and charts here. But it doesn’t appear that Mexico’s 2022 policy really made food much more affordable, either relative to peer countries with similar income levels, or relative to Mexico’s own recent history. And that’s even before we get into any unintended consequences of the “price controls.” Of course, the policy may have made that basic basket of two-dozen items more affordable than it otherwise might be — for that we would need to compare individual item prices to peer countries — but it hasn’t obviously made food overall more affordable in Mexico.

Paper Published on Persistent LLM Hallucinations

I am pleased to announce the publication of

“LLM Hallucination of Citations in Economics Persists With Web-Enabled Models”

By Joy Buchanan, Stephen Hill, and Olga Shapoval

ABSTRACT: Despite significant advances since 2023 in large language model (LLM) capabilities and the introduction of web-enabled search functionality, citation hallucination remains a persistent problem in AI-generated academic content. We test GPT-4o, DeepSeek V3, web-enabled GPT-4o, and web-enabled GPT-5.1 across prompts derived from Journal of Economic Literature categories. Using a hierarchical citation validation framework, we find that even an advanced web-enabled model produces non-existent citations. While web-enabled models show improvement over their predecessors, the error rates remain high for scholarly applications. Our findings suggest that the fundamental challenge of citation hallucination persists despite technological advances, with implications for academic integrity and the reliable use of AI in research contexts. We provide an online tool for researchers to run LLMs through the benchmark test using our prompts.

Suggested citation:

Buchanan, J., Hill, S. and Shapoval, O. (2026), LLM Hallucination of Citations in Economics Persists With Web-Enabled Models. Southern Economic J. https://doi.org/10.1002/soej.70069

After some time went by since we published our 2024 paper on this topic and GPT became web-enabled, we thought that this silly problem with hallucinating up fake citations might have gone away. So, we went back to do our count again. We found that a significant number of references are still made up.

I believe that this particular problem of fake citations will go away soon. However, I think the starkness of fake references illustrates something more general about the LLM technology and highlights the importance of verification. Feel free to cite our 2026 paper as evidence that hallucinations are still happening, despite improvements along many margins. Since we started down this track, OpenAI released a paper titled “Why language models hallucinate” at https://openai.com/index/why-language-models-hallucinate/ Excerpt:

Hallucinations persist partly because current evaluation methods set the wrong incentives. While evaluations themselves do not directly cause hallucinations, most evaluations measure model performance in a way that encourages guessing rather than honesty about uncertainty.

You can access our working paper of “LLM Hallucination of Citations in Economics Persists with Web-Enabled Models” on SSRN at https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5318314

We are not in the slow-lane “LLMs are stochastic parrots” group. Stephen Hill does even more with AI in his personal workflow than I do. AI will probably soon qualify for all of the academic prizes we used to award to human writers and scientists. However, as we hand more responsibility over to AI, keep the issue of hallucinations in mind.

Marriages By College Major

[Edited to include divorces]

The American Community Survey (ACS) collects information on how many times people have been married.  Using the 2024 ACS, we can see how that changes across ages. Getting married is what we call an absorbing state. Once you get married once, you’ll never be married zero times again. So long as people get married across the age distribution, the proportion of never married people falls.

The same is true for getting married a 2nd time. Then, you’ll never have been married once ever again. While the proportion of people never married must shrink with age, the proportion of people married once can rise. If a few people get divorced or married a 2nd time, but an even bigger number of people get marred for the first time, then the group of people married only once can grow. The ACS stops measuring once someone has been married three times – then it’s “three or more” times. A subsequent divorce the universal absorbing state. Those people never go into another category.

The chart shows the proportion of people by age and the number of times that they’ve been married. Darker hues reflect divorces.* Importantly, this is the snapshot in 2024. So each age group is a cohort snapshot in time. That’s why the proportion of people in their 80s who’ve been married zero or one time is greater than people in their 70s. They’re a different cohort. When the now 80-year-olds were in their 70s, the sum of the blue and light yellow bars were larger than for more recent 70-year-olds.

Continue reading →