ECON 420 · Behavioral and Experimental Economics

Running Economic Experiments

How economists use labs, field trials and randomization to test ideas, and how to read an experiment's results with care.

Key takeaways

  • An experiment creates a fair comparison by changing one thing on purpose and holding the rest steady.
  • Random assignment makes the treatment group and the control group alike on average, so the difference in outcomes can be credited to the treatment.
  • Lab experiments give tight control; field experiments give realism; each trades one strength for the other.
  • Economic experiments pay real money and avoid deception, so that choices reveal true preferences.
  • Good readers ask about sample size, who took part, whether the setting resembles the real world, and whether the result has been repeated.

A bike shop owner, Priya, thinks a free helmet with every bike will boost sales. In March she starts giving helmets away. In April, sales jump 20 percent. Did the helmets cause it? Maybe. But April is also when the weather warms and people dust off their bikes. Without a comparison, Priya cannot tell whether the helmets worked or the sun did.

This is the central problem of empirical economics. We see what happened, but we never see what would have happened otherwise. Economists cannot rerun history. For most of the field's life that meant careful guessing from messy data. Over the past few decades, though, many economists have learned to build tiny, controlled versions of the world and watch what people do in them. That is the experimental method, and it is how most of the ideas in this course, from loss aversion to fairness, were first measured.

The logic: a fair comparison

The idea behind an experiment is simple. To learn whether X causes Y, take two groups that are alike. Give X to one group, the treatment group, and not to the other, the control group. Any later difference in Y is evidence that X made the difference.

The trick is making the groups alike. If Priya gives helmets to customers who visit on sunny days and not to those who visit on rainy days, the groups differ in more than helmets. Sunny-day shoppers may be keener on riding. The cure is random assignment: a coin flip, a random number or a lottery decides who gets what. Chance does not care about the weather, the age of the customer or how much they love cycling. With enough people, randomness balances all of those traits across the groups, even the ones you did not think to measure.

The basic design of an experiment
1 Recruit participants Find people whose choices you want to study, and get their consent. 2 Randomly assign A coin flip or lottery splits them into treatment and control groups. 3 Apply the treatment Change one thing for the treatment group. The control group sees the usual version. 4 Measure the outcome Record what each person does, such as bikes bought or money shared. 5 Compare the groups The average difference estimates the treatment's effect. Recruit participants Find people whose choices you want to study, and get their consent. 1 Randomly assign A coin flip or lottery splits them into treatment and control groups. 2 Apply the treatment Change one thing for the treatment group. The control group sees the usual version. 3 Measure the outcome Record what each person does, such as bikes bought or money shared. 4 Compare the groups The average difference estimates the treatment's effect. 5

Back to the shop. Suppose Priya flips a coin for each of the next 400 customers. Heads gets a free-helmet offer, tails gets none. She tracks purchases.

Treatment (helmet offer): 200 customers, 50 bought  -> 25%
Control (no offer):       200 customers, 40 bought  -> 20%
Estimated effect = 25% - 20% = 5 percentage points

Because the coin made the groups alike, the five-point gap is a fair estimate of what the offer did. Weather, season and fashion hit both groups equally, so they cancel out. Compare this with the first story: a raw jump in April mixed everything together.

Lab experiments

A lab experiment brings people, often university students, into a controlled room. Each sits at a computer or a table, faces a task such as the ultimatum or trust games, and makes real choices for real money. The experimenter controls the rules, the information and the payoffs, and can change one at a time.

Several habits mark economics labs. First, incentives: participants earn money tied to their choices, so they have a reason to think. A question like "What would you do with $10?" is cheap talk; actually handing over $10 is not. Second, no deception: economists generally do not lie to participants about the rules, because once subjects suspect tricks, their behavior in every future experiment becomes harder to interpret. (Psychology labs follow different habits.) Third, anonymity: people are matched with strangers they never meet, so the game is not muddied by friendship or reputation, unless that is the very thing being studied.

The strength of the lab is control. You can see whether a specific rule change alters behavior. The weakness is the leap from the lab to the world. Are students at one university typical of everyone? Does a $10 stake feel like a real decision? This question is called external validity, and it deserves honest attention.

Field experiments

A field experiment does the randomizing in a real setting. Examples include randomly choosing which customers get a coupon, which workers see a message about saving for retirement, or which villages receive a program. The people often do not know they are in a study, so they act as they normally do. This improves realism.

The price is control. In the field you cannot always keep other things steady, people may not follow the plan, and it costs more. Still, field experiments can answer questions that labs cannot, such as whether a reminder text makes patients show up for appointments. They also let you measure outcomes people care about, like savings, health or test scores.

Lab versus field
Lab experiment Tight control of rules and payoffs Cheap and quick to repeat Participants know they are studied Less like real life Field experiment Real people, real setting Often unaware of being studied Harder to control everything Slower and more costly VS Lab experiment Tight control of rules and payoffs Cheap and quick to repeat Participants know they are studied Less like real life Field experiment Real people, real setting Often unaware of being studied Harder to control everything Slower and more costly

Researchers also use natural experiments, where the world randomizes for them. A draft lottery, a policy that applies only to people born after a certain date, or a lottery for school places can create comparison groups without anyone designing a study. These are useful but need more care, because the "randomness" may not be perfect.

A worked example: is the gap real or luck?

Suppose Priya's result was 25 percent against 20 percent. How can she tell whether the five-point gap reflects the offer or chance? Even with a fair coin, two groups can differ a little by luck.

A rough way to size the luck is the standard error of each group's rate: the square root of p(1 − p) ÷ n.

Treatment: p = 0.25, n = 200
  p(1 - p) = 0.25 × 0.75 = 0.1875
  0.1875 ÷ 200 = 0.0009375
  square root ≈ 0.0306  (about 3.1 points)

Control: p = 0.20, n = 200
  p(1 - p) = 0.20 × 0.80 = 0.16
  0.16 ÷ 200 = 0.0008
  square root ≈ 0.0283  (about 2.8 points)

Standard error of the gap = square root of (0.0306² + 0.0283²)
  = square root of (0.000936 + 0.000800) = square root of 0.001736 ≈ 0.0417 (about 4.2 points)

The gap is 5 points. The typical wobble from chance alone is about 4.2 points. A gap is usually judged "statistically significant" when it is roughly twice the standard error, about 8 points here. So Priya's 5 points could easily be luck. The honest conclusion is "the offer may help, but 400 customers is too few to be sure." If she ran the test on 4,000 customers with the same rates, the standard error would shrink to about 1.3 points, and a 5-point gap would be clear.

This is why sample size matters. Small experiments give noisy answers, and noisy answers that happen to look big are the ones most likely to be reported and celebrated. A good reader asks, "How many people? How big is the gap compared with the noise?"

Designing a good experiment

A few choices decide whether an experiment teaches anything.

Pick one clear question. "Does a default option raise savings?" is better than "What affects savings?"

Change one thing. If the treatment group gets a new form and a new reminder, you cannot say which did the work. Economists call mixing two changes together confounding.

Decide in advance what you will measure. If you measure twenty outcomes and report the one that came out significant, you may have fooled yourself. Many researchers now register their plans before collecting data so they cannot quietly change the question afterward.

Think about who is in the study. Participants who volunteer may differ from those who do not. A result from students may or may not carry over to retirees.

Use incentives and clear instructions. If people misunderstand the game, the data reflect confusion, not preferences.

Respect the participants. Real studies need informed consent and review by an ethics board. A treatment that could harm people, such as withholding a helpful benefit, requires serious care.

A common mistake: reading too much into one study

The most common mistake is treating a single experiment as settled truth. Some well-known findings have been tested again and found weaker than first reported, a pattern that has led to a lively conversation called the replication debate. Effects measured in one place may not hold in another. The better habit is to look for the pattern across many studies and to ask whether the result makes sense, as we will in critiques of behavioral economics.

A second mistake is mixing up "no significant effect" with "no effect." A small study may simply be too small to see a real but modest effect. A third mistake is assuming the average tells you about each person. If a program raises average savings by $50, some people may have saved far more and some nothing.

More people, less noise
Standard error of the gap (points) Noise from chance Priya's test Bigger samples, less noise Customers per group (hundreds) Standard error of the gap (points) Noise from chance Priya's test Bigger samples, less noise Customers per group (hundreds)

The curve above follows the same square-root rule used in the worked example: quadruple the sample and you cut the noise in half. Priya's 200-per-group test sits at the 2 on the horizontal axis, where the wobble is about 4.2 points, and each time the sample quadruples, the line falls by half.

Why this matters for the rest of the course

Experiments are the engine of behavioral economics. They are how researchers found that people reject unfair offers, hold on to what they own, and change their savings when a default flips. They also supply the tools for policy: governments and firms now test a letter, a form or a price before rolling it out to everyone. See nudges and choice design for how those tests guide real programs, and behavioral insights in firms and markets for the business side.

If you remember one thing, make it Priya's helmets: a fair comparison beats a hopeful story, and randomness is the cheapest way to make a comparison fair.

Words to know

Treatment group the people who receive the change being tested.

Control group the comparison people who do not receive the change.

Random assignment using chance to decide who gets which version, so the groups are alike on average.

Field experiment a randomized test run in a real setting, often without participants knowing.

External validity how well a result carries over from the study to other people and places.

Confounding mixing two changes so that you cannot tell which caused the effect.

Standard error a measure of how much a result would wobble from chance alone.

Replication repeating a study to see whether the result holds.

Check yourself

  1. Why did Priya's April sales jump fail to prove that free helmets worked?
  2. What does random assignment accomplish that choosing the groups by hand does not?
  3. In a test, 60 of 300 treated customers buy (20 percent) and 45 of 300 controls buy (15 percent). What is the estimated effect in percentage points, and what percent of the control rate is it?
  4. Give one strength and one weakness of a lab experiment compared with a field experiment.
  5. Why do economists avoid deceiving participants?
  6. Explain why a tiny study with a big effect should be trusted less than a large study with the same effect.
Show the answers
  1. April also brought warmer weather, so helmets and season were mixed together with no control group to separate them.
  2. It makes the groups alike on average in every trait, measured or not, so the outcome gap can be credited to the treatment.
  3. 20% − 15% = 5 percentage points; 5 ÷ 15 ≈ 0.33, so about a 33 percent increase.
  4. Strength: tight control (or cheap and repeatable); weakness: it may not resemble real life, so results may not carry over.
  5. If people suspect lies, their behavior in all later experiments changes, which makes choices harder to interpret.
  6. Small samples give noisy results, so a large gap can come from luck; a large sample has less noise, so the same gap is more believable.

A free self-study program written for 4Economics with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Social behavior and policy

  1. Fairness, Trust and ReciprocityWhy people turn down free money, share with strangers and repay kindness, and what that means for models of self-interest.13 min
  2. Social Norms and HerdingHow unwritten rules and the choices of others steer what we do, from hotel towels to crowded restaurants and runs on banks.12 min
  3. Running Economic ExperimentsHow economists use labs, field trials and randomization to test ideas, and how to read an experiment's results with care.11 min
  4. Bubbles and Behavioral FinanceHow crowds, overconfidence and limits to arbitrage can push asset prices far from value, and what history shows about booms and busts.11 min
  5. Nudges and Choice DesignHow the way choices are laid out shapes what people pick, and how defaults, prompts and simplicity can help without taking away freedom.10 min
  6. Behavioral Insights in Firms and MarketsHow businesses use and respond to human quirks in pricing, contracts and marketing, and how competition can limit, or sharpen, exploitation.10 min
  7. Critiques of Behavioral EconomicsThe strongest objections to the field, from replication and small effects to the rationality debate, and how to weigh the evidence fairly.11 min

In the news