ECON 410 · Econometrics II: Causal Methods and Time Series

Designing Your Own Empirical Study

Plan a study from question to write-up, choosing a design, checking the sample size and guarding against your own bias.

Key takeaways

  • Start with a sharp question about a cause, stated as a comparison: what happens with the treatment versus without it.
  • Choose the design that fits how the treatment was or can be assigned, not the one with the fanciest math.
  • Check power before collecting data: a study too small to detect a meaningful effect is not worth running.
  • Write down your plan in advance, and list the threats to your answer along with the checks that address them.
  • Report everything you did, including results that were disappointing, and share your data and code if you can.

You have spent a course learning to read other people's studies. Now it is your turn. Suppose your town's school district wants to know whether giving students free bus passes gets more of them to class. The superintendent asks you, half joking, "So, does it work?"

A weak answer is to grab whatever data exists and run a regression. A strong answer starts earlier, before any number is touched. It asks what exactly we want to know, what the fair comparison would be, which design can deliver it, how much data we need, and what could go wrong. This lesson walks through that plan from start to finish. Think of it as the recipe card that ties together the designs of this whole course.

Step 1: Sharpen the question

"Does it work?" is too vague. A good empirical question names four things:

  • Who is treated: students in grades 6 to 12 in this district.
  • What the treatment is: a free bus pass for the school year.
  • The outcome: the share of school days attended, measured from school records.
  • The comparison: students who did not get a pass, or the same students before the pass.

Put together: Among students in grades 6 to 12, does a free bus pass raise the share of days attended compared with having no pass? Notice it uses the vocabulary of potential outcomes. For each student there is attendance with a pass and attendance without, and only one is ever seen. Your job is to find a believable stand-in for the one you do not see.

It also helps to state the size that would matter. If the pass raises attendance by 0.1 percentage points, nobody cares. If it raises it by 2 points, schools might. Deciding this early keeps you honest later.

Step 2: Draw the story of how the data arise

Next, sketch why some students would have passes and others would not, and what else affects attendance. If students who live far from school got passes because they needed them, then those students differ from the rest in ways that may also affect attendance. That is selection bias again.

List the other forces: family income, distance to school, health, neighborhood. Mark which of these you can measure and which you cannot. The ones you cannot measure are the dangerous ones, because no control variable can fix what you cannot see.

Step 3: Choose a design

Now match the design to how the treatment is given. The most useful question is: how did someone end up treated?

Choosing a design by how treatment is assigned
Randomized experiment Lottery for passes Regression discontinuity Pass if you live over 2 miles away Diff-in-diff or synthetic Some places get passes first Instrumental variables A random mailer that offers the pass We control it A rule or cutoff Rollout over time A random nudge How is treatment assigned? Start with the assignment rule How is treatment assigned? Start with the assignment rule We control it: Randomized experiment Lottery for passes A rule or cutoff: Regression discontinuity Pass if you live over 2 miles away Rollout over time: Diff-in-diff or synthetic Some places get passes first A random nudge: Instrumental variables A random mailer that offers the pass

Here is how each fits our story:

No design is best everywhere. Each makes a bet about what is hidden, and your task is to choose the bet that is easiest to defend.

Step 4: Check the power before you start

Statistical power is the chance that a study detects a real effect of a given size. A study with low power is a coin flip dressed up as research: even if the pass works, you may find nothing. Run the numbers before collecting data.

Take the experiment. Suppose attendance varies across students with a standard deviation (typical spread) of 10 percentage points. You plan n students per group, one with passes and one without. The standard error of the difference between group averages is:

SE = σ × √(2 ÷ n)

With n = 100 per group:

SE = 10 × √(2 ÷ 100) = 10 × √0.02 = 10 × 0.1414 = 1.414 points

A common target is 80% power at the 5% significance level. That rule of thumb says the smallest effect you can reliably detect is about 2.8 times the standard error (the 2.8 comes from 1.96 + 0.84):

Minimum detectable effect = 2.8 × 1.414 ≈ 3.96, or about 4 points

So with 100 students per group, you would catch a 4-point effect most of the time but would probably miss a 2-point one. What if a 2-point effect matters? Solve for n:

n = 2 × (2.8 × σ ÷ effect)² = 2 × (2.8 × 10 ÷ 2)² = 2 × 14² = 2 × 196 = 392 per group

You need about 392 students in each group, or 784 in all. If you only have funds for 200, the right move is to say so, perhaps choose a different outcome with less noise, or consider whether the study should run at all.

How big a study do you need?
n per group = 2 × (2.8 × σ ÷ effect)² n per group = Students in each group What you can choose or afford. 2 = Two groups Treated and comparison. (2.8 × σ ÷ effect)² = Noise against signal Noisier outcomes or smaller effects need much more data. n per group = 2 × (2.8 × σ ÷ effect)² n per group = Students in each group What you can choose or afford. 2 = Two groups Treated and comparison. (2.8 × σ ÷ effect)² = Noise against signal Noisier outcomes or smaller effects need much more data.

Notice the square. To detect an effect half as large, you need four times as many students, not twice as many.

Step 5: List the threats and the checks

Every design has weak spots. A strong plan names them in advance and says how it will probe each one. For our bus-pass study:

Threat What it means A check
Imbalance Groups differ before treatment Compare pre-study traits across groups
Attrition Students leave the data unevenly Compare dropout rates by group
Spillovers Pass holders carpool with others Study whether untreated friends of pass holders changed
Measurement Attendance recorded differently by school Use the same definition and source
Time shocks A flu season or road closure hits one group Use a comparison group and check trends

For a difference-in-differences design, the check is a look at trends before the policy. For a regression discontinuity, it is whether students are bunching on one side of the cutoff. For IV, it is the strength of the nudge. Return to each design's lesson for its test list.

Step 6: Write the plan, then run it

Before you see outcomes, write down the question, the design, the sample, the main outcome, how you will estimate the effect, and which checks you will run. If you can, post it in a public registry, a step covered in the lesson on research honesty. Name one primary outcome. Everything else is secondary or exploratory, and you say so.

From question to write-up
1 Sharpen the question Who, what, outcome, comparison. 2 Map the story List what else affects the outcome. 3 Pick the design Match it to how treatment is assigned. 4 Check power Is the sample big enough for the effect that matters? 5 Pre-register Write the plan before seeing outcomes. 6 Run and test Estimate, then run the planned checks. 7 Report it all Share results, limits, data and code. Sharpen the question Who, what, outcome, comparison. 1 Map the story List what else affects the outcome. 2 Pick the design Match it to how treatment is assigned. 3 Check power Is the sample big enough for the effect that matters? 4 Pre-register Write the plan before seeing outcomes. 5 Run and test Estimate, then run the planned checks. 6 Report it all Share results, limits, data and code. 7

Step 7: Report honestly

Your write-up should give the size of the effect with a confidence interval, not just whether it is significant. Say what the estimate does and does not cover. Suppose your result is that passes raised attendance by 2.4 points, with a 95% interval from 0.8 to 4.0. The honest reading: the best guess is about 2.4 points, and effects from under 1 point to about 4 points are consistent with the data. Say who the study covered: one district's students in one year, not every school everywhere.

Report the checks that did not go your way, and the tests you ran that you chose not to emphasize. Share the data and code so others can reproduce the numbers. For time-based data, the tools in the time-series lessons apply too, and if you have a very large number of possible controls, machine-learning methods can help choose among them, though the causal argument still comes from your design.

A short worked plan, start to finish

Here is the bus-pass study in one paragraph, the way a plan might read. The district has 1,600 eligible students and money for 800 passes, so demand exceeds supply and a lottery is fair. That is a happy accident: it makes a randomized experiment both possible and defensible.

  • Question: among grades 6 to 12, does a free pass raise the share of school days attended?
  • Design: a lottery gives 800 students passes and 800 none.
  • Primary outcome: days attended divided by days enrolled, from school records, for the full school year.
  • Power: with σ = 10 and n = 800 per group, SE = 10 × √(2 ÷ 800) = 10 × 0.05 = 0.5 points, so the minimum detectable effect is 2.8 × 0.5 = 1.4 points. That is small enough to matter.
  • Checks: compare last year's attendance across the two groups to confirm the lottery balanced them; track who moves away; ask whether pass holders share rides.
  • Report: the estimate with its interval, the share of lottery winners who actually used the pass, and a note on what the district's results may not tell other places.

Look at how short the list is. Nothing in it is exotic. The strength comes from deciding each item before the data arrive.

What to do when the world is messier

Real projects rarely look like the tidy lottery. You may only have data that already exist, with no way to randomize. Then the work shifts to arguing carefully for one of the other designs and to testing its weak points. You might find that none of them is believable, and the honest report is: "the data show a link, and here is why we cannot call it a cause." That is a respectable result.

It also helps to write down in advance what would change your mind. If attendance rose in the pass group but the same rise showed up in a group that never got passes, you would doubt the effect. Naming such outcomes ahead of time protects you from explaining away anything you see.

A common mistake: choosing the method first

Many beginners start with "I want to use difference-in-differences" and then hunt for a question. This is backwards. The design must follow from how treatment was assigned. A shiny method on a poor comparison gives a polished wrong answer.

A second common mistake is claiming too much. A study of one district in one year does not prove that passes work everywhere. It is evidence for that setting, and the strength of the evidence depends on the design. A good study makes a modest claim well.

Words to know

Empirical study research that answers a question using data rather than only theory.

Treatment the policy, program or event whose effect you want to measure.

Identification the argument that a design isolates the causal effect and not something else.

Statistical power the chance that a study detects a real effect of a given size.

Minimum detectable effect the smallest effect a study of a given size can reliably find.

Attrition the loss of participants from the data during a study.

Spillover an effect of the treatment on people who were not directly treated.

Check yourself

  1. Name four things a sharp empirical question should state.
  2. If you can assign treatment by lottery, which design from this course is usually the cleanest, and why?
  3. Outcomes have σ = 12 and you have 144 students per group. What is the standard error of the difference, using SE = σ × √(2 ÷ n)?
  4. Using your answer to question 3, what is the minimum detectable effect with the 2.8 rule?
  5. Why do you need four times as many students to detect an effect half as large?
  6. Explain why choosing a method before the question can lead you wrong.
Show the answers
  1. Who is treated, what the treatment is, the outcome, and the comparison group or comparison period.
  2. A randomized experiment, because chance makes the treated and untreated groups alike on average, including traits we cannot measure.
  3. SE = 12 × √(2 ÷ 144) = 12 × √0.013889 = 12 × 0.11785 ≈ 1.41.
  4. 2.8 × 1.414 ≈ 3.96, so about 4 units.
  5. Sample size depends on the square of (noise ÷ effect), so halving the effect doubles that ratio, which multiplies the required n by 2² = 4.
  6. A method only works when its assumptions match how treatment was actually assigned, so a method picked first may rest on a comparison that is not 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: Time series and more

  1. Stationarity, Unit Roots and Spurious RegressionWhy two unrelated trending series can look strongly linked, and how to tell a series that settles down from one that wanders.10 min
  2. Autoregressive and Moving Average ModelsTwo simple recipes for a series with memory, one that remembers its past values and one that remembers past surprises.11 min
  3. Cointegration and Vector AutoregressionsHow two wandering series can share a stable long-run link, and how to model several series that influence each other.11 min
  4. Maximum Likelihood in Plain EnglishPick the parameter values that make the data you actually saw the most probable, the idea behind many modern estimators.10 min
  5. Machine Learning and Economics: Prediction Versus CauseMachine learning is superb at predicting, but predicting an outcome and finding its cause are different jobs.10 min
  6. Replication, Data Mining and Research HonestyHow honest researchers can still fool themselves with many tests, and the habits that make findings worth trusting.10 min
  7. Designing Your Own Empirical StudyPlan a study from question to write-up, choosing a design, checking the sample size and guarding against your own bias.11 min

In the news