Computational Approaches to the Non-Observed EconomyFoundations

Module 3Mathematical-economic modelling

The observer is a player. With 2,000 invented firms, a tax office and stylised games, we write down the textbook evader and the compliance puzzle, compare audits with third-party reporting, let the tax office move first, take away its commitment in an inspection game where the fine sets the audit rate rather than evasion, and watch tipping when people copy their neighbours. Then the rules a community makes and enforces itself: how rules form, information spread across people, deterrence through the future in a market that grows from 20 to 1,280 traders, monitoring as a public good, and the dark side of community enforcement.

By the end you should be able to write a concealment decision and an enforcement game, compare levers inside an explicit model, explain commitment, mixed equilibria and tipping, and model community enforcement with its information, deterrence and free-riding problems.

Key ideas, one per video

  • Video 5At realistic audit rates, more third-party reporting cut hiding by a fifth while doubling audits cut it by under 4%. Without commitment the fine sets the audit rate, and with copying one audit rate supports two very different worlds.
  • Video 6Deterrence through the future works in small, stable groups and fades as they grow, unless a shared record takes over. Monitoring is a public good: five members acting alone catch a cheat 16% of the time, against 43% if they coordinate.

Book: Chapter 3 of Computational Approaches to the Non-Observed Economy: From Theory to Practice (coming soon). The videos and slides follow the chapter’s topics in our own words, figures and simulations; the towns and countries are invented, and nothing is copied from the book.

The title slide of Module 3: Mathematical-economic modelling

33 slides, written to be read on your own, with worked examples, our own small simulations and check-yourself questions (answers at the end). PDF, 5.6 MB.

Watch

2 videos for this module, each about 8 to 11 minutes. Pick one from the list, and open the transcript to read along: each timestamp plays the video from there. The narration is generated with a voice clone of Teddy, used with his permission.

Video 5 · 9:03

The enforcement game

Double the fine for evasion: evasion dips, then drifts most of the way back, and the tax office audits about two fifths less.

At realistic audit rates, more third-party reporting cut hiding by a fifth while doubling audits cut it by under 4%. Without commitment the fine sets the audit rate, and with copying one audit rate supports two very different worlds.

TranscriptVideo 5
0:00

Double the fine. A tax office doubles the fine for evasion. What happens to evasion? In our simulation, it drops at first. Then, slowly, it creeps most of the way back. What changed for good is the tax office. Once the fine doubled, it audited about two fifths less. Nobody planned that. It falls out of the logic of a game. And that's what this module is about: the observer is a player too.

0:32

The observer is a player. Welcome to Module 3: mathematical-economic modelling. I'm Teddy. In Module 1 we saw that observers change the economy they watch. Game theory is the tool for that. It treats the tax office and the firms as players, each reacting to the other. Computation helps when the algebra runs out: many different firms, beliefs, learning, neighbours. We write down the rules, and let the computer play the game. Why computation? Solving one firm's problem takes a line of algebra. Solving two thousand different firms, who learn and copy each other, has no neat formula. A simulation shows the whole path, including the surprises along the way. Today: one firm's choice, a whole population of firms, a tax office that moves first, one that can't, and what happens when people copy their neighbours.

1:16

The textbook evader. Start with the textbook evader. Every number in this example is invented. The tax rate is 20 percent. If a firm hides a sale and gets caught, it pays the tax, plus a surcharge of the same size. So hiding one euro of tax gains one euro if you're not caught, and costs one extra euro if you are. A firm that only counts money will hide everything, unless its chance of being caught is above one half. Real audit rates are a few percent, not fifty. So this model says almost everyone should hide almost everything. Yet most firms pay most of their taxes. Economists call this the compliance puzzle. The model is missing something. Several things, actually. Hiding gets harder the more you hide. You can't hide what someone else reports for you. Some people simply won't cheat. And people act on the risk they believe in, not the official one.

2:08

Two thousand firms. So let's add those, and build a population. Two thousand invented firms. Three in ten never hide anything. For the rest, hiding gets more expensive the more they hide, and part of their sales is reported by others, like card companies and business customers. Each firm picks the amount that pays best for it. We let the computer solve two thousand small problems, and add them up. With two percent of firms audited, about 16 percent of all sales are hidden. Now double the audits, to four percent. Hidden sales fall by less than four percent of what they were. Instead, keep the audits, and let third parties report thirty more points of each firm's sales. Hidden sales fall by more than a fifth. At realistic audit rates, in this world, information beats inspection. What you can't hide matters more than how often you're checked. Notice what the computer added. Each firm's problem is easy. But the total depends on how costs and third-party shares are spread across firms, and that needs the whole population.

3:05

Moving first. Now the tax office. Suppose it moves first. It announces an audit policy, sticks to it, and the firms respond. Game theorists call this a leader and followers. The office knows how firms will react, so it can choose its policy with that reaction in mind. Each extra audit costs money, and brings back some tax. The office keeps auditing until one more audit costs more than it recovers. That gives two regimes. When audits are cheap, it pays to audit enough that nobody hides at all. When audits are expensive, the office accepts some hiding, on purpose. In our population, with cheap audits the office goes all the way to deterrence. With expensive audits, it stops at about ten percent, and accepts that about fourteen percent of sales stay hidden. These audit rates are far above real ones, because our fine is mild and our firms count only money. The point is the shape of the decision, not the levels. That second regime is uncomfortable, but common. A tolerated level of evasion can be the result of a calculation, not of neglect. Moving first is valuable. But only if the promise is believed. Once everyone complies, the office is tempted to stop auditing. And firms know it. Why not just make the fine enormous? Because fines are limited by law and by fairness. Audits make mistakes, and an enormous fine on an honest firm is a disaster. Huge fines also make bribes more attractive. And the office has a second lever besides audits: information. Third-party reporting, electronic invoices, matching records. In the model, that lever changes what firms can hide, not just the chance of being caught.

4:42

Both move at once. So what if the office can't commit? Then both sides move at once. The office decides whether to audit. The firm decides whether to evade. Neither sees the other's choice. Try to find a stable pair. If the office never audits, firms evade. If firms evade, the office audits. If it audits, they comply. If they comply, it stops auditing. Round and round. The way out is randomness. The office audits just often enough that evading stops paying. Firms evade just often enough that auditing still pays. And here's the twist. The amount of evasion is set by the office's costs and gains, not by the fine. The fine only sets how often the office must audit. That's what we saw at the start. In our simulation, firms and the office learn by trial and error. Before the change, about 6 percent of firms evade, and the office audits about 30 percent. Then the fine doubles. Evasion drops to about 2 percent. But the office learns that audits find less, and audits less. Evasion drifts back up, to about 5 percent. Meanwhile, the audit rate settles near 17 percent. About two fifths lower than before. Evasion doesn't come all the way back, because our simulated firms make small mistakes. But most of the dip is gone. These are stylised games, so don't read the levels literally. Read the logic. A bigger stick can mean fewer inspections, rather than fewer evaders. And commitment pays. In this game, an office that can credibly promise its audit rate loses half as much per firm as one that can't. Notice the dip after the change. A study that measured evasion one year after the fine doubled would call it a big success. Two years later, the effect is mostly gone. Timing is part of the result.

6:26

Copying the neighbours. So far, each firm decided alone. But people watch each other. If your neighbours seem to evade, evading feels normal, and safer. Let's build two thousand agents. Each one has a private wish to evade, which audits push down. And each one leans towards what the others are doing. Before we run it, a question. If we turn the audits up and then back down along the same path, will evasion retrace its steps? Now we turn the audit rate up slowly, starting from a world where most people evade. Evasion stays high, and then suddenly collapses, at about five and a quarter percent audits. Now turn the audits back down. Compliance holds, much longer than you'd expect. Evasion only returns below four percent. So at five percent audits, there are two possible worlds. In one, most people evade. In the other, almost nobody does. Which one you get depends on history. Without the copying, the same agents give one smooth curve, with about 43 percent evading at five percent audits. Two lessons. Cutting enforcement can be cheap to do, and expensive to undo. And two countries with the same policy can sit in different equilibria, so comparing them can mislead you. Taking this to data is hard. Neighbours look alike for many reasons: shared rules, shared customers, shared shocks. Copying is only one of them. Separating them needs careful designs, which is a theme for Module 6. The same goes for the other parameters. Concealment costs can be estimated from audit data. Beliefs about audit risk come from surveys. Every parameter in these games needs its own evidence.

8:01

Recap. Let's recap. The textbook evader hides everything at realistic audit rates, so real behaviour needs more: costs of hiding, third-party reports, morals and beliefs. In our population, more third-party reporting cut hiding far more than doubling the audits. A tax office that moves first can choose its tolerated level of evasion. One that can't commit plays a game where the fine sets its audit rate, and its own costs set the evasion. And when people copy each other, the same policy can support two very different worlds. In the lab, you'll play the audit game against learning firms, double the fine, and watch what adapts. Next video: what happens when there's no tax office at all, and the community enforces the rules itself.

Interactive lab

The audit game

Play an inspection game between a tax office and learning firms: change the fine, the audit cost and how noisy the firms are, and watch who adapts. Then sweep the audit rate up and down in a population that copies its neighbours.

Both games run in your browser with stylised payoffs (read the logic, not the levels). Four challenges are checked as you go.

Simple math

An inspection game, played by learners

A firm can comply or evade; the tax office can audit or not, and neither sees the other's move. Evading saves the tax (1); if audited, the firm pays the fine on top. Auditing costs the office c and recovers the tax. Both sides learn by trial and error. The payoffs are stylised: read the logic, not the levels.

The office audits
q* = 1 / (1 + fine)

just often enough that evading stops paying.

Firms evade
x* = c / 2

just often enough that auditing still pays. The fine does not appear.

Copying
evade if uᵢ − 12·a + α(E − ½) > 0

2,000 agents; E is the share of others evading, a the audit rate, α how strongly people copy.

Evading, before / after
– / –
Audited, before / after
– / –
Tipping loop
–

Running…

Who adapts

Blue: share of firms evading. Amber: audit rate.

Audits up, then down

Orange: audits rising from a high-evasion world. Blue: audits falling from a compliant one.

Challenges

Each one is checked on your current settings.

  1. With the fine doubling half way, find settings where long-run evasion ends within 1.5 points of where it started, while audits fall by more than a quarter.
  2. Bring long-run evasion below 4%. Which lever does it: the fine or the audit cost?
  3. Find a copying strength where the tipping loop is wider than 2 points of audit rate.
  4. Switch copying off and check that the two curves become one.