---
title: "Credible Empirical Work"
book: "University Economics — Year 3"
subject: economics
language: en
chapter: 6
exercises: 12
source: https://one-course.com/books/economics/5/en/chapter/6-credible-empirical-work
license: CC-BY-NC-SA-4.0
credit: "One Economics Book, One Course (one-course.com)"
---

# Chapter 6 — Credible Empirical Work

The first five chapters built designs that can identify a causal effect: instruments, panels, differences in differences, discontinuities. A design is a promise about one study. Economics, like every empirical field, learns from many studies, and what it learns depends on which studies are run, which analyses are reported and which results are published. If significant results are published and others are not, the published record can be wrong even when every study in it is honest. This chapter measures how large that problem is in economics, shows the tools that detect it and the practices that limit it, and ends with the scale on which this volume grades evidence from here on.

![Simulated: the absolute z-statistics of 6,000 studies, each with its own true effect and sample size (light bars), and of the 2,663 that are published (dark bars) when every study with |z| > 1.96 is published and the others one time in four. Bins of width 0.245, so that 1.96 is a bin edge.](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-e0a14fa73950.svg)

*Simulated: the absolute $z$-statistics of 6,000 studies, each with its own true effect and sample size (light bars), and of the 2,663 that are published (dark bars) when every study with $|z| > 1.96$ is published and the others one time in four. Bins of width 0.245, so that 1.96 is a bin edge. Source: Simulated by the authors (seed 1996)*

The light bars fall smoothly: most studies are small, most true effects are modest, and $z$-statistics near zero are the most common. The dark bars do not. Below 1.96 they are a quarter of the light ones; above it they are all of them, and the published record has a cliff exactly where a significance test draws its line. In the simulation, 27 % of all studies are significant, and 61 % of the published ones. Real collections of published test statistics look like this. In about 50,000 tests published in three leading economics journals, Brodeur and coauthors find the distribution of $p$-values shaped like a two-humped camel, with $p$-values between 0.25 and 0.10 missing. The rest of the chapter asks what such a filter does to estimates, how to see it, and what to do about it.

**You already know.**

The Year 1 volume defined tests, $p$-values and the power of a test, and showed what happens when many tests are run at once. The Year 2 volume named *specification search*: trying several specifications and reporting the ones that work. Chapters [1](https://one-course.com/books/economics/5/en/chapter/1-instrumental-variables#ch-b3-instrumental-variables) to [4](https://one-course.com/books/economics/5/en/chapter/4-regression-discontinuity#ch-b3-regression-discontinuity) supplied the designs whose results are graded at the end of this chapter.

**Notation 6.1 (Symbols of this chapter).**

$\beta$ is a true effect and $\hat\beta$ an estimate of it, with standard error $s$; $z = \hat\beta/s$; $c = 1.96$ is the critical value. $\phi$ and $\Phi$ are the standard normal density and distribution function, and $\lambda(a) =
\phi(a)/(1 - \Phi(a))$. In [meta-analysis](#def-b3-credible-empirical-work-meta-analysis), study $i$ reports $\hat\beta_i$ with standard error $s_i$, and $\tau^2$ is the variance of true effects across studies (not a tax rate).

## 6.1 How results get published

A study is designed, run, analysed and written up; then a journal decides. At each step a significant result has an advantage: researchers are more likely to write it up, referees more likely to find it interesting, editors more likely to accept it. None of this requires dishonesty.

**Definition 6.2 (Publication bias).**

*Publication bias* is the difference between the average published estimate of an effect and the effect itself, created when whether a result is published depends on its sign, its size or its statistical significance.

**Proposition 6.3 (The significance filter inflates published estimates).**

Let $\hat\beta \sim N(\beta, s^2)$ with $\beta > 0$, and let the estimate be published only if $\hat\beta/s > c$. Write $a = c - \beta/s$. Then the probability of publication is the power $1 - \Phi(a)$, and

$$
\E[\hat\beta \mid \text{published}] = \beta + s\,\lambda(a) > \beta .
$$

**Proof.** Write $\hat\beta = \beta + s u$ with $u \sim N(0, 1)$. The estimate is published when $u > a$, which has probability $1 - \Phi(a)$. Then $\E[\hat\beta \mid u > a]
= \beta + s\,\E[u \mid u > a]$, and

$$
\E[u \mid u > a] = \frac{1}{1 - \Phi(a)} \int_a^\infty u\,\phi(u)\, du
  = \frac{\bigl[-\phi(u)\bigr]_a^\infty}{1 - \Phi(a)} = \frac{\phi(a)}{1 - \Phi(a)},
$$

using $\phi'(u) = -u\phi(u)$. Since $\phi(a) > 0$, the term is positive. ∎

The size of the bias is $s\,\lambda(a)$: it grows with the standard error, so the smallest studies are the most exaggerated, and it is largest when power is low.

**Model — The significance filter.**

**Assumes.** Studies estimate an effect without bias; a study is published if its estimate is significant, and otherwise with a lower probability.

**Predicts.** A heap of published test statistics just above the critical value and a gap just below it; published estimates larger than the true effect, by more in small studies; estimates that rise with their standard errors across a literature.

**Tested.** Collections of published test statistics in economics show the gap below the critical value; across 159 literatures, most reported effects are larger than those of the adequately powered studies of the same literature.

**Breaks.** It is not the only reason for the heap: specification search produces it too, within studies, and the two are hard to tell apart in published numbers. Where null results are wanted — a [replication](#def-b3-credible-empirical-work-replication), a policy that is claimed not to work — the filter can run the other way.

## 6.2 Specification search and the garden of forking paths

Even before a journal decides, the analysis has made choices. Which outcome? Which controls? Which sample? What to do with outliers? Each choice is often defensible, and a researcher who makes them after seeing the data can, without intending to, follow the path that gives the clearest result.

**Proposition 6.4 (Many independent tests).**

If $k$ independent tests are run at the 5 % level and every null hypothesis is true, the probability that at least one is significant is $1 - 0.95^k$.

**Proof.** Each test is not significant with probability 0.95; by independence, all $k$ are not significant with probability $0.95^k$; at least one is significant with the complementary probability. ∎

For $k = 16$ the formula gives 0.56. The paths of one analysis are not independent — they use the same data — so the true figure is lower, but it is far above 5 %. The diagram shows sixteen paths for one simple question, and [Listing 6.1](#lst-b3-credible-empirical-work-forking) walks them on data in which the treatment does nothing.

![Four binary choices — which of two outcomes, whether to control for age and schooling, whether to drop people over 50, whether to trim outliers — make sixteen analyses of the same data.](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-08d6638070b5.svg)

*Four binary choices — which of two outcomes, whether to control for age and schooling, whether to drop people over 50, whether to trim outliers — make sixteen analyses of the same data.*

```python
"""The garden of forking paths: data in which the treatment does nothing, analysed in
16 defensible ways (2 outcomes x 2 control sets x 2 samples x 2 outlier rules)."""
import itertools

import numpy as np
import statsmodels.api as sm


def dataset(rng, n=400):
    age = rng.uniform(20, 60, n)
    school = rng.integers(8, 17, n).astype(float)
    treat = rng.integers(0, 2, n).astype(float)
    common = rng.normal(0, 1, n)              # the two outcomes share a component
    ys = [0.02 * age + 0.1 * school + common + rng.normal(0, 1, n) for _ in range(2)]
    return age, school, treat, ys


def p_values(rng):
    age, school, treat, ys = dataset(rng)
    out = []
    for y, ctrl, young, trim in itertools.product(ys, [0, 1], [0, 1], [0, 1]):
        keep = (age < 50) if young else np.ones(len(y), bool)
        if trim:
            keep &= np.abs(y - y.mean()) < 2.5 * y.std()
        cols = [treat] + ([age, school] if ctrl else [])
        X = sm.add_constant(np.column_stack(cols)[keep])
        out.append(sm.OLS(y[keep], X).fit(cov_type="HC1").pvalues[1])
    return np.array(out)


rng = np.random.default_rng(16)
p = p_values(rng)
print("one dataset, 16 p-values, sorted:")
print("   ", " ".join(f"{x:.2f}" for x in np.sort(p)))
print(f"significant at 5 %: {(p < 0.05).sum()} of 16")
many = np.array([p_values(rng) for _ in range(1000)])
print(f"share of 1,000 null datasets significant on the first path: "
      f"{(many[:, 0] < 0.05).mean():.3f}")
print(f"share with at least one significant path: {(many < 0.05).any(1).mean():.3f}")
print(f"if the 16 tests were independent: {1 - 0.95**16:.3f}")
```

***Listing 6.1.** Sixteen defensible analyses of data in which the treatment does nothing. code/bachelor-3/06-credible-empirical-work/listings/forking_paths.py*

```
$ python forking_paths.py
one dataset, 16 p-values, sorted:
    0.21 0.21 0.22 0.29 0.44 0.47 0.57 0.67 0.72 0.72 0.73 0.74 0.89 0.91 0.95 0.98
significant at 5 %: 0 of 16
share of 1,000 null datasets significant on the first path: 0.064
share with at least one significant path: 0.214
if the 16 tests were independent: 0.560
```

***Output 6.1.** One dataset, then a thousand.*

In the first dataset no path is significant. Over a thousand datasets, the first path — the one a researcher could have written down in advance — is significant 6.4 % of the time, close to the 5 % it promises; at least one of the sixteen paths is significant 21.4 % of the time. A researcher who reports the best path turns a 5 % test into a 21 % one.

## 6.3 Low power and exaggerated estimates

**Definition 6.5 (Exaggeration ratio; sign error).**

For a true effect $\beta \ne 0$ and a design with a given standard error, the *exaggeration ratio* (or type M error) is the expected absolute value of a statistically significant estimate divided by $|\beta|$. A *sign error* (or type S error) is a statistically significant estimate whose sign is opposite to that of $\beta$ (Gelman and Carlin, 2014).

By [Proposition 6.3](#prop-b3-credible-empirical-work-filter), the [exaggeration ratio](#def-b3-credible-empirical-work-exaggeration) is $1 + (s/\beta)\lambda(c - \beta/s)$, ignoring the small chance of a significant estimate of the wrong sign. It depends only on power. The chart draws it.

![Exaggeration ratio of significant estimates against the power of the study (normal approximation, test at 5 %, two-sided, one tail ignored).](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-a3e92089254e.svg)

*Exaggeration ratio of significant estimates against the power of the study (normal approximation, test at 5 %, two-sided, one tail ignored). Source: Our computation from the formula of [Proposition 6.3](#prop-b3-credible-empirical-work-filter)*

At a power of 0.8, the conventional target, significant estimates are 12 % too large on average; at 0.5, 41 %; at 0.2, 125 %. [Listing 6.2](#lst-b3-credible-empirical-work-filter) checks the formula by simulation, for a treatment whose true effect is a tenth of a standard deviation and trials of 50 to 1,600 people per arm.

```python
"""The significance filter: 20,000 simulated trials of a treatment whose true effect is
0.1 standard deviations, at six sample sizes. Only significant positive estimates are
published. How large is the average published estimate?"""
import numpy as np
from metatools import filtered_mean, power

rng = np.random.default_rng(6)
beta = 0.1
print("per arm   s.e.   power   published mean   exaggeration   formula")
for n in [50, 100, 200, 400, 800, 1600]:
    s = np.sqrt(2 / n)                        # s.e. of a difference of two means
    est = rng.normal(beta, s, 20_000)         # one estimate per simulated trial
    published = est[est / s > 1.96]
    print(f"{n:7d}  {s:.3f}   {len(published) / len(est):.3f}"
          f"   {published.mean():14.3f}   {published.mean() / beta:12.2f}"
          f"   {filtered_mean(beta, s) / beta:7.2f}")
print(f"power by formula at 50 and 1600 per arm: {power(beta, np.sqrt(2 / 50)):.3f},"
      f" {power(beta, np.sqrt(2 / 1600)):.3f}")
```

***Listing 6.2.** The significance filter by simulation, against the formula (`filtered_mean` in the chapter library). code/bachelor-3/06-credible-empirical-work/listings/significance_filter.py*

```
$ python significance_filter.py
per arm   s.e.   power   published mean   exaggeration   formula
     50  0.200   0.072            0.485           4.85      4.81
    100  0.141   0.105            0.346           3.46      3.45
    200  0.100   0.169            0.249           2.49      2.49
    400  0.071   0.292            0.183           1.83      1.83
    800  0.050   0.517            0.138           1.38      1.39
   1600  0.035   0.810            0.112           1.12      1.12
power by formula at 50 and 1600 per arm: 0.072, 0.807
```

***Output 6.2.** Small trials publish large estimates.*

A trial with 50 people per arm has power 0.072 and, when significant, reports on average an effect 4.85 times the truth; with 1,600 per arm, power 0.81 and a ratio of 1.12. Simulation and formula agree to within 0.04. At 50 per arm, [sign errors](#def-b3-credible-empirical-work-exaggeration) appear too: a significant negative estimate has probability 0.007, against 0.072 for a significant positive one, so about one significant result in eleven has the wrong sign.

**How it is measured — Power in economics.**

Ioannidis, Stanley and Doucouliagos collected 64,076 estimates from more than 6,700 studies in 159 empirical literatures of economics. They estimate each literature’s true effect by the average of its adequately powered studies, and each study’s power against it. The median power is 18 % or less, and in half of the literatures nearly 90 % of results are under-powered. Nearly 80 % of the reported effects are exaggerated, typically by a factor of two, and one third by a factor of four or more. At a power of 0.18 the formula above gives an [exaggeration ratio](#def-b3-credible-empirical-work-exaggeration) of 2.4 for a significant result: the two methods agree in size.

## 6.4 The replication record of economics

**Definition 6.6 (Reproduction; replication).**

A *reproduction* obtains a study’s published results again from the same data, using the authors’ code or an independent rewriting of it. A *replication* repeats the study’s design on new data — a new sample from the same population, or a new experiment — and asks whether the result holds.

A failed [reproduction](#def-b3-credible-empirical-work-replication) means an error or a missing step; a failed [replication](#def-b3-credible-empirical-work-replication) may mean that the first result was a false positive, that it was exaggerated by the filter, or that the effect differs between settings.

**On the record — Reproducing published papers from their code.**

Chang and Li tried to reproduce 67 papers published in 13 economics journals, using the data and code files the authors had provided. Without contacting the authors they reproduced the key qualitative result of 22 papers (33 %). Leaving out 6 papers with confidential data and 2 that needed software they did not have, they reproduced 29 of 59 (49 %) with the authors’ help.

Most failures were missing files or code that did not run, not results that were wrong; but a result that cannot be rerun cannot be checked.

**On the record — Replication of economics experiments.**

Camerer and coauthors repeated 18 laboratory experiments published in two leading economics journals between 2011 and 2014, each with enough participants to have a power of at least 90 % against the original effect. Eleven (61 %) found a significant effect in the original direction. On average the [replication](#def-b3-credible-empirical-work-replication) effect was 65.9 % of the original. Both numbers are what a literature with moderate exaggeration produces: most effects real, most smaller than first reported.

## 6.5 Pre-registration and pre-analysis plans

**Definition 6.7 (Pre-registration; pre-analysis plan).**

*Pre-registration* records a study in a public, dated registry before its data are collected or seen, with its design and main hypotheses. A *pre-analysis plan* is a document, registered in the same way, that fixes in advance the outcomes, the sample, the specifications and the tests of the study’s main analysis.

Registration attacks the filter: a registered study that is never reported is visible as missing. A [pre-analysis plan](#def-b3-credible-empirical-work-pre-registration) attacks the forking paths: the first path of [Output 6.1](#out-b3-credible-empirical-work-forking), chosen in advance, keeps its 5 % error rate. The American Economic Association decided in April 2012 to set up a registry for randomised trials in economics and the other social sciences. The limits are real. Plans suit experiments, whose data do not exist before the study; much of economics uses data that already exist, where no one can check that the plan came first. And a plan that fixes everything leaves no room for what the data teach; the usual answer is to report the planned analysis first and label everything else exploratory.

## 6.6 Meta-analysis and funnel plots

**Definition 6.8 (Meta-analysis; funnel plot).**

A *meta-analysis* combines the estimates of many studies of the same effect into one. Its *fixed-effect* mean weights each estimate by its precision, $\bar\beta = \sum_i w_i\hat\beta_i / \sum_i w_i$ with $w_i = 1/s_i^2$, and has standard error $1/\sqrt{\sum_i w_i}$; a *random-effects* mean adds the variance $\tau^2$ of true effects across studies to each $s_i^2$. A *funnel plot* draws each estimate against its precision $1/s_i$.

Without selection, the funnel is symmetric: precise studies cluster near the true effect at the top, imprecise ones scatter widely and evenly at the bottom. With the filter, the bottom-left is missing — small studies with small or negative estimates were not published — and the funnel leans.

![Funnel plot of a simulated literature: 400 studies of a true effect of 0.1 (all dots), of which 138 are published (dark dots) when significant positive results are always published and the others one time in ten.](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-4828914d8959.svg)

*Funnel plot of a simulated literature: 400 studies of a true effect of 0.1 (all dots), of which 138 are published (dark dots) when significant positive results are always published and the others one time in ten. Source: Simulated by the authors (seed 400), the draws of [Listing 6.3](#lst-b3-credible-empirical-work-funnel)*

**Definition 6.9 (Precision-effect test (FAT–PET)).**

The *FAT–PET* regression is the weighted least-squares regression of the estimates on their standard errors, with weights $1/s_i^2$: $\hat\beta_i = \beta_0 + \beta_1 s_i + e_i$. The funnel-asymmetry test (FAT) tests $\beta_1 = 0$; the *precision-effect test* (PET) tests $\beta_0 = 0$, and $\hat\beta_0$, the predicted estimate of a study with no sampling error, is the estimate of the effect corrected for selection.

**Proposition 6.10 (Without selection, FAT–PET finds no asymmetry).**

Dividing the [FAT–PET](#def-b3-credible-empirical-work-fat-pet) regression by $s_i$ gives the ordinary regression $t_i =
\beta_1 + \beta_0 (1/s_i) + v_i$ of each study’s $t$-statistic on its precision, with $v_i = e_i/s_i$. If the estimates are unselected, $\hat\beta_i = \beta + s_i
u_i$ with $u_i \sim N(0, 1)$ independent of $s_i$, then this regression has intercept $\beta_1 = 0$ and slope $\beta_0 = \beta$.

**Proof.** Weighted least squares with weights $1/s_i^2$ minimises $\sum_i (\hat\beta_i -
\beta_0 - \beta_1 s_i)^2/s_i^2 = \sum_i (t_i - \beta_0/s_i - \beta_1)^2$, which is ordinary least squares of $t_i$ on a constant and $1/s_i$. Without selection, $t_i = \beta (1/s_i) + u_i$, a linear model in $1/s_i$ with intercept 0, slope $\beta$ and an error $u_i$ of mean zero independent of the regressor; OLS estimates it without bias. ∎

Under the filter, imprecise studies are published only with large estimates, so estimates rise with $s_i$ and $\hat\beta_1 > 0$. PET extrapolates the line to $s = 0$, where no filter can act.

```python
"""A simulated literature: 400 studies of a true effect of 0.1, of very different sizes.
Significant positive results are always published, the others one time in ten.
The naive mean, the inverse-variance mean and FAT--PET, before and after the filter."""
import numpy as np
from metatools import fat_pet, fixed_effect

rng = np.random.default_rng(400)
n = np.exp(rng.uniform(np.log(25), np.log(2000), 400)).round()   # per arm
se = np.sqrt(2 / n)
est = rng.normal(0.1, se)
published = (est / se > 1.96) | (rng.uniform(size=400) < 0.1)

for name, keep in [("all 400 studies", np.ones(400, bool)),
                   (f"the {published.sum()} published", published)]:
    pet, pet_se, fat, fat_se = fat_pet(est[keep], se[keep])
    print(f"{name}: simple mean {est[keep].mean():.3f},"
          f" inverse-variance mean {fixed_effect(est[keep], se[keep])[0]:.3f}")
    print(f"  FAT (slope on s.e.) {fat:6.3f} (s.e. {fat_se:.3f}),"
          f" PET (effect at s.e. 0) {pet:.3f} (s.e. {pet_se:.3f})")
```

***Listing 6.3.** [Meta-analysis](#def-b3-credible-empirical-work-meta-analysis) of the simulated literature, before and after the filter. code/bachelor-3/06-credible-empirical-work/listings/funnel.py*

```
$ python funnel.py
all 400 studies: simple mean 0.097, inverse-variance mean 0.100
  FAT (slope on s.e.) -0.051 (s.e. 0.093), PET (effect at s.e. 0) 0.103 (s.e. 0.007)
the 138 published: simple mean 0.145, inverse-variance mean 0.127
  FAT (slope on s.e.)  0.762 (s.e. 0.194), PET (effect at s.e. 0) 0.091 (s.e. 0.010)
```

***Output 6.3.** The filter, seen and corrected.*

With all 400 studies, every method finds about 0.1 and the FAT slope is insignificant. Among the 138 published, the simple mean is 0.145, the precision-weighted mean 0.127, and the FAT slope 0.762 is nearly four standard errors from zero; PET gives 0.091, close to the truth. PET is a model, not a cure: it assumes the bias is linear in the standard error, and with few small studies, or when real effects differ by study size (small studies of the most promising sites), it can mislead. The minimum-wage literature of [Chapter 26](https://one-course.com/books/economics/5/en/chapter/26-minimum-wages-and-monopsony#ch-b3-minimum-wage) is a real case.

## 6.7 Reading a results table

Most empirical results reach readers as a table. [Listing 6.4](#lst-b3-credible-empirical-work-table) prints one, from the job-training experiment of [Chapter 3](https://one-course.com/books/economics/5/en/chapter/3-difference-in-differences#ch-b3-difference-in-differences).

```python
"""A results table: three nested regressions of 1978 earnings on the job-training offer,
in the experimental sample of chapter 3, printed by statsmodels' summary_col."""
import statsmodels.formula.api as smf
from econdata import nsw
from statsmodels.iolib.summary2 import summary_col

d = nsw("nsw_dw")
d["earn78"] = d.re78 / 1000                       # thousands of dollars
d["earn75"] = d.re75 / 1000
forms = ["earn78 ~ treat",
         "earn78 ~ treat + age + education + black + married",
         "earn78 ~ treat + age + education + black + married + earn75"]
fits = [smf.ols(f, d).fit(cov_type="HC1") for f in forms]
table = summary_col(fits, stars=True, float_format="%.3f",
                    model_names=["(1)", "(2)", "(3)"],
                    regressor_order=["treat", "earn75"], drop_omitted=True,
                    info_dict={"N": lambda r: f"{int(r.nobs)}"})
print(table.tables[0].to_string())
```

***Listing 6.4.** Three nested regressions, printed as a journal table. code/bachelor-3/06-credible-empirical-work/listings/reading_table.py*

```
$ python reading_table.py
                     (1)       (2)      (3)
treat           1.794***  1.679***  1.651**
                 (0.671)   (0.647)  (0.647)
earn75                                0.146
                                    (0.101)
R-squared          0.018     0.048    0.052
R-squared Adj.     0.016     0.037    0.039
N                    445       445      445
```

***Output 6.4.** A results table: earnings in 1978, thousands of dollars.*

Read it in this order. The columns are models; the rows are coefficients, each with its standard error in parentheses below it (here robust ones, which the table does not say — a good table does). The stars mark $p$-values below 0.10 (*), 0.05 (**) and 0.01 (***). $N$ is the number of observations. Controls not shown are listed in the code; a journal table lists them in a note. Then look at what the stars hide. The training offer’s coefficient falls from 1.794 to 1.651 and its standard error from 0.671 to 0.647: the estimate is all but unchanged, yet column (3) has two stars where the others have three, because its $t$-statistic, $1.651/0.647 = 2.55$, falls just short of 2.58. The stars draw lines through a continuous measure of evidence. Read the coefficient and its standard error; the interval $1.651 \pm 1.96 \times 0.647$, from 0.38 to 2.92 thousand dollars, says more than any number of stars.

## 6.8 The evidence scale of this volume

**Definition 6.11 (Evidence scale).**

The *evidence scale* of this volume grades the evidence for a causal claim:

1. several randomised or natural experiments that agree;
2. one strong design (a randomised trial, a convincing natural experiment), or several that disagree in size;
3. correlations with controls and a plausible mechanism;
4. a theory with no design-based test yet.

**How it is measured — Using the evidence scale.**

Every `debate` box in this volume tags each study it cites with a grade. A grade belongs to a claim, not to a paper: a randomised trial gives grade 2 for the effect in its setting, and only agreement across settings gives grade 1. [Pre-registration](#def-b3-credible-empirical-work-pre-registration), a large sample and a reproduced analysis make a grade trustworthy; a heap of significant small studies, an asymmetric funnel or a failed [replication](#def-b3-credible-empirical-work-replication) lowers it. No grade turns a positive claim into a policy; that needs values the evidence does not supply.

## 6.9 Exercises

**Exercise 6.1 ★.**

In [Output 6.4](#out-b3-credible-empirical-work-table), which number is the standard error of the training coefficient in column (2)? Give its $t$-statistic and the approximate 95 % interval. What would the table need to say for you to know how the standard errors were computed?

**Solution of Exercise 6.1.**

0.647, in parentheses below 1.679. $t = 1.679/0.647 = 2.60$; the interval is $1.679 \pm 1.96 \times 0.647 = 1.679 \pm
1.268$, from 0.41 to 2.95 thousand dollars. The table should state the kind of standard error (robust, clustered and at which level, or classical) and the controls in each column.

**Exercise 6.2 ★.**

Compute $1 - 0.95^k$ for $k = 5$ and $k = 20$. Why is the figure for sixteen correlated paths in [Output 6.1](#out-b3-credible-empirical-work-forking) lower than the formula’s?

**Solution of Exercise 6.2.**

$1 - 0.95^5 = 0.226$; $1 - 0.95^{20} = 0.642$. The sixteen paths use the same data and the same treatment variable, and the two outcomes share a component: when one path is significant, its neighbours tend to be too, and when one is not, neither are they. Correlated tests add fewer independent chances, so at least one success comes less often (0.214 against 0.560).

**Exercise 6.3 ★.**

A study’s design gives a standard error of 0.02 for an effect whose true value is 0.05. What is its power at 5 % (ignore the wrong tail)?

**Solution of Exercise 6.3.**

$\beta/s = 0.05/0.02 = 2.5$; power $= 1 - \Phi(1.96 - 2.5) = \Phi(0.54) = 0.705$.

**Exercise 6.4 ★.**

What would a [funnel plot](#def-b3-credible-empirical-work-meta-analysis) of an unbiased literature look like? Give one reason, other than [publication bias](#def-b3-credible-empirical-work-publication-bias), why a funnel might be asymmetric.

**Solution of Exercise 6.4.**

A symmetric inverted funnel centred on the true effect: precise studies near it at the top, imprecise ones spread evenly on both sides at the bottom. A funnel can also lean if small studies differ in their true effects — for example, if small pilot studies are run where the programme is most promising, or treat more intensively than large roll-outs.

**Exercise 6.5 ★★.**

Compute the [exaggeration ratio](#def-b3-credible-empirical-work-exaggeration) of a significant estimate at a power of 0.2, using the normal approximation: find $\beta/s$, then $a$ and $\lambda(a)$, with $\Phi^{-1}(0.8) = 0.8416$ and $\phi(0.8416) = 0.2800$.

**Solution of Exercise 6.5.**

Power 0.2 means $1 - \Phi(1.96 - \beta/s) = 0.2$, so $1.96 - \beta/s = 0.8416$ and $\beta/s = 1.1184$. With $a = 0.8416$, $\lambda(a) = 0.2800/0.2 = 1.400$. The mean significant $z$ is $1.1184 + 1.400 = 2.518$, and the ratio is $2.518/1.1184 =
2.25$, as the chart shows.

**Exercise 6.6 ★★.**

Twelve studies report estimates of the same effect, with standard errors (in parentheses) of 0.02, 0.03, 0.04, 0.05, 0.06, 0.08, 0.10, 0.12, 0.15, 0.18, 0.20 and 0.25, and estimates 0.05, 0.07, 0.06, 0.11, 0.13, 0.17, 0.21, 0.26, 0.31, 0.38, 0.42 and 0.53 in the same order.

1. Compute the simple and the inverse-variance means.
2. Run [FAT–PET](#def-b3-credible-empirical-work-fat-pet) . What do you conclude about the effect?

**Solution of Exercise 6.6.**

The tested solution is `ex06_fat_pet.py`, in the chapter’s `exercises/` folder.

1. The simple mean is 0.225 and the inverse-variance mean 0.080.
2. FAT: 2.032 (s.e. 0.105), $t = 19.4$ ; PET: 0.0056 (s.e. 0.0050), $t = 1.1$ . Every estimate is about twice its standard error, which is what a literature where only significant results survive looks like. The corrected effect is indistinguishable from zero: the literature gives no evidence of an effect.

**Exercise 6.7 ★★.**

How would a [pre-analysis plan](#def-b3-credible-empirical-work-pre-registration) change the result of [Listing 6.1](#lst-b3-credible-empirical-work-forking)? What would it not change?

**Solution of Exercise 6.7.**

With the analysis fixed in advance, only one path is reported, and its false positive rate is the 5 % the test promises (6.4 % in the simulation, within sampling error of 5 %). It does not change the data, the power of the study, or the filter at the journal: a pre-registered null result can still go unpublished, which is why registration of the study matters as much as the plan.

**Exercise 6.8 ★★.**

Three studies estimate the same effect: 0.20 (s.e. 0.10), 0.10 (0.05) and 0.40 (0.20). Compute the fixed-effect mean and its standard error. Which study dominates, and why?

**Solution of Exercise 6.8.**

Weights $1/0.01 = 100$, $1/0.0025 = 400$, $1/0.04 = 25$, sum 525. Mean $(0.20 \times
100 + 0.10 \times 400 + 0.40 \times 25)/525 = 70/525 = 0.133$; standard error $1/\sqrt{525} = 0.044$. The second study, with the smallest standard error, has $400/525 = 76~\%$ of the weight.

**Exercise 6.9 ★★.**

A well-powered [replication](#def-b3-credible-empirical-work-replication) of a published experiment finds an effect a third of the original’s size, not significant. List what this shows and what it does not show about the original study.

**Solution of Exercise 6.9.**

It shows that the original estimate was probably too large: either a false positive or, more likely in a literature with low power, a real effect exaggerated by the filter. It does not show that the effect is zero (a third of the original may still be real and worth knowing), that the original authors erred, or, if the setting differs, that the original effect was not real where it was measured.

**Exercise 6.10 ★★★.**

Under the conditions of [Proposition 6.3](#prop-b3-credible-empirical-work-filter), the [exaggeration ratio](#def-b3-credible-empirical-work-exaggeration) is $1 + (s/\beta)\lambda(c - \beta/s)$.

1. Compute it at $\beta/s = 1$ and at $\beta/s = 3$ .
2. Show that it tends to 1 as $\beta/s$ grows.
3. Now let estimates be published when $|\hat\beta/s| > 1.96$ , of either sign. At $\beta/s = 1$ , compute the probability of publication and the share of published estimates that are [sign errors](#def-b3-credible-empirical-work-exaggeration) .

**Solution of Exercise 6.10.**

1. At $\beta/s = 1$ : $a = 0.96$ , $\phi(0.96) = 0.2516$ , $1 - \Phi(0.96) = 0.1685$ , $\lambda = 1.493$ , ratio $1 + 1.493 = 2.49$ . At $\beta/s = 3$ : $a = -1.04$ , $\phi(-1.04) = 0.2323$ , $1 - \Phi(-1.04) = 0.8508$ , $\lambda = 0.273$ , ratio $1 + 0.273/3 = 1.09$ .
2. As $\beta/s \to \infty$ , $a \to -\infty$ : $\phi(a) \to 0$ and $1 - \Phi(a) \to 1$ , so $\lambda(a) \to 0$ , and $(s/\beta)\lambda(a) \to 0$ ; the ratio tends to 1.
3. Publication has probability $1 - \Phi(0.96) + \Phi(-2.96) = 0.1685 + 0.0015 = 0.170$ . [Sign errors](#def-b3-credible-empirical-work-exaggeration) are the significant negative estimates: $0.0015/0.170 = 0.009$ , about one published estimate in 110.

**Exercise 6.11 ★★★.**

Eight studies report 0.12 (0.05), 0.05 (0.04), 0.30 (0.10), 0.18 (0.06), $-0.02$ (0.05), 0.22 (0.08), 0.09 (0.03) and 0.15 (0.07).

1. Compute the fixed-effect mean and Cochran’s $Q = \sum_i w_i (\hat\beta_i - \bar\beta)^2$ .
2. Estimate the between-study variance by DerSimonian and Laird, $\hat\tau^2 = \max\{0, (Q - (k - 1))/(\sum w_i - \sum w_i^2/\sum w_i)\}$ , and the random-effects mean with weights $1/(s_i^2 + \hat\tau^2)$ . Why is its standard error larger?

**Solution of Exercise 6.11.**

The tested solution is `ex11_random_effects.py`, in the chapter’s `exercises/` folder.

1. The weights are 400, 625, 100, 277.8, 400, 156.2, 1,111.1 and 204.1, summing to 3,274.2; the weighted sum of estimates is 316.24, so $\bar\beta = 0.0966$ , with standard error $1/\sqrt{3{,}274.2} = 0.0175$ ; $Q = 16.09$ on 7 degrees of freedom.
2. $\sum w_i^2/\sum w_i = 2{,}098{,}417/3{,}274.2 = 640.9$ , so the denominator is $3{,}274.2 - 640.9 = 2{,}633.3$ and $\hat\tau^2 = (16.09 - 7)/2{,}633.3 = 0.00345$ ( $\hat\tau = 0.059$ ). The random-effects mean is 0.1128, standard error 0.0289. The standard error is larger because each study’s variance now includes the spread of true effects across settings, which more studies of the same size would not remove; and the weights are more equal, so the imprecise studies, whose estimates are larger, count for more and the mean rises.

**Exercise 6.12 ★★★.**

Choose three published claims from earlier chapters of this volume — one from a randomised experiment, one from a natural experiment, one from correlations — and grade each on the [evidence scale](#def-b3-credible-empirical-work-evidence-scale). Defend each grade, and say what new study would raise it.

**Solution of Exercise 6.12.**

An example of an answer. The training experiment of [Chapter 3](https://one-course.com/books/economics/5/en/chapter/3-difference-in-differences#ch-b3-difference-in-differences): grade 2, one randomised trial in one setting; a [replication](#def-b3-credible-empirical-work-replication) in another country would raise it. The effect of election victory on the next election in [Chapter 4](https://one-course.com/books/economics/5/en/chapter/4-regression-discontinuity#ch-b3-regression-discontinuity): grade 2 for the United States House, from a strong discontinuity design; the same design in other countries’ elections, agreeing, would raise it to 1. The effect of trade on income in [Chapter 1](https://one-course.com/books/economics/5/en/chapter/1-instrumental-variables#ch-b3-instrumental-variables): grade 3, since the instrument’s exclusion is disputed; a natural experiment that changed trade alone would raise it.

## 6.10 Problem: Twenty Studies of a Training Programme

**Problem 6.1.**

Weekend problem — twenty studies of a training programme

Brenland (invented) runs a job-training programme, and twenty randomised evaluations of it have been published. Each reports the effect on trainees’ earnings a year later, in percent, with its standard error, and the number of trainees in each arm. A summary of the literature, and a large pre-registered trial with 20,000 trainees per arm published later, are in the second table.

![](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-bfbca04a3368.svg)

![](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-effc7faaadbc.svg)

![](https://one-course.com/images/onecourse/chapters/economics-5/b3-credible-empirical-work/fig-ebf12b2bd59b.svg)

**Part I — the naive average.**

1. How many of the twenty studies are significant at 5 % ( $z > 1.96$ )? Check the share in the summary table.
2. The simple mean is 6.52 %. What does averaging the estimates with equal weights assume about the studies?
3. Compute the inverse-variance weights of studies S16 and S04 and their ratio.
4. Why is the inverse-variance mean, 3.78 %, lower than the simple mean?
5. Give the 95 % interval of the inverse-variance mean.
6. If the true effect were 3.78 %, what power would a study the size of S04 have? What does that suggest about how S04 came to be published?

**Part II — funnel and FAT–PET.**

7. Sketch the [funnel plot](#def-b3-credible-empirical-work-meta-analysis) of the twenty studies, and say what it would look like without selection.
8. Among the eight studies with standard errors above 5, how many estimates lie above 3.78 and how many below? What does that show?
9. Interpret the FAT slope, 1.26 (s.e. 0.48), and its $t$ -statistic.
10. Interpret the PET estimate, 0.93 (s.e. 1.23).
11. Why is PET read as the effect of a study with no sampling error?
12. If the true effect is 2 %, compute the power of a study with a standard error of 8 and the average size of its significant estimates. Compare with S02 and S04.

**Part III — a pre-registered trial.**

13. Give the trial’s 95 % interval.
14. Is the trial consistent with the inverse-variance mean? Compute the $z$ of their difference, treating the two as independent.
15. Is it consistent with PET?
16. What was the trial’s power against a true effect of 2 %?
17. Why does its registration matter for how its result is read?
18. Does the trial’s estimate prove that PET was right?

**Part IV — the corrected estimate and its grade.**

19. Combine the PET estimate and the trial by inverse-variance weighting. Give the combined estimate and its standard error.
20. Why should this combination be read with caution?
21. Grade the evidence for a positive effect on the scale of [Definition 6.11](#def-b3-credible-empirical-work-evidence-scale) , before and after the trial.
22. A trainee would earn 20,000 dalens a year without training. Compute the yearly gain at 6.52 % and at 2.0 %.
23. What does a reader of only the simple mean get wrong, and by how much?
24. State the results: the bias-corrected effect of the programme and its grade.

**Solution of Problem 6.1.**

**1.** Nine: S02, S04, S07, S13, S14, S16, S17, S18 and S19 (for example $21.2/7.91 = 2.68$, $3.1/1.55 = 2.00$, $3.6/1.81 = 1.99$). $9/20 = 0.45$, the share in the summary table.

**2.** That every study is equally informative, whatever its size, and that the twenty are an unselected sample of the studies run.

**3.** $w_{16} = 1/1.55^2 = 0.416$; $w_{04} = 1/8.32^2 = 0.0144$; the ratio is $8.32^2/1.55^2 = 28.8$.

**4.** The small studies report the largest effects (21.2 %, 27.0 %, 13.4 %); precision weighting gives them little weight.

**5.** $3.78 \pm 1.96 \times 0.58 = 3.78 \pm 1.14$: from 2.64 to 4.92 %.

**6.** $\beta/s = 3.78/8.32 = 0.454$; power $= 1 - \Phi(1.96 - 0.454) = 1 -
\Phi(1.506) = 0.066$. A study with one chance in fifteen of being significant reported $z = 3.25$: a lucky draw, published because it was significant.

**7.** Estimates on the horizontal axis, precision $1/s$ on the vertical. Without selection, the points would spread evenly on both sides of the true effect at every height, narrowing toward the top.

**8.** S01, S02, S04, S05, S08, S09, S15 and S20. Six lie above 3.78 (21.2, 27.0, 8.8, 9.0, 9.2, 13.4) and two below (1.3 and $-0.7$): the bottom of the funnel leans right, the mark of the filter.

**9.** Estimates rise by 1.26 for each unit of standard error; $t = 1.26/0.48
= 2.63$, so funnel asymmetry is significant at 5 %.

**10.** The effect extrapolated to a perfectly precise study is 0.93 %, with $t = 0.93/1.23 = 0.76$ and an interval from $0.93 - 2.41 = -1.48$ to $0.93 +
2.41 = 3.34$ %: corrected for selection, the twenty studies cannot tell a small positive effect from none.

**11.** The filter acts through sampling error: a study with $s = 0$ reports the truth and needs no luck to be significant. PET is the regression line’s value there.

**12.** $\beta/s = 0.25$, $a = 1.71$, power $= 1 - \Phi(1.71) = 0.0436$; $\lambda = 0.0925/0.0436 = 2.12$; mean significant estimate $2 + 8 \times 2.12 =
19.0$ %, nine and a half times the truth. S02 (21.2) and S04 (27.0) are what such studies publish.

**13.** $2.0 \pm 1.96 \times 0.60 = 2.0 \pm 1.18$: from 0.82 to 3.18 %.

**14.** The difference is $3.78 - 2.0 = 1.78$, with standard error $\sqrt{0.58^2 + 0.60^2} = 0.834$: $z = 2.13$. At 5 %, the trial rejects the inverse-variance mean.

**15.** $2.0 - 0.93 = 1.07$, standard error $\sqrt{1.23^2 + 0.60^2} = 1.369$: $z = 0.78$. Consistent.

**16.** $\beta/s = 2/0.6 = 3.33$; power $= \Phi(3.33 - 1.96) = \Phi(1.37) =
0.915$.

**17.** It would have been reported whatever it found, with the outcome and the analysis fixed in advance: neither the filter nor forking paths could have shaped it.

**18.** No. It is one estimate with an interval from 0.82 to 3.18; it agrees with PET, but it would also have agreed with a corrected estimate of 3 %.

**19.** Weights $1/1.23^2 = 0.661$ and $1/0.60^2 = 2.778$, sum 3.439. Combined estimate $(0.661 \times 0.93 + 2.778 \times 2.0)/3.439 = 6.171/3.439 = 1.79$ %, standard error $1/\sqrt{3.439} = 0.54$.

**20.** PET rests on a model of the bias (linear in the standard error) and extrapolates beyond the data; its standard error does not include the uncertainty about that model. The trial alone is the cleaner number.

**21.** Before the trial: grade 2 — several randomised trials that disagree in size — and the funnel shows that their agreement on a positive sign is partly the filter’s work. After it: still grade 2, now resting on one strong pre-registered design; agreement with a second large trial elsewhere would give grade 1.

**22.** $20{,}000 \times 0.0652 = 1{,}304$ dalens a year; $20{,}000 \times 0.020 =
400$ dalens a year.

**23.** The simple mean is $6.52/2.0 = 3.3$ times the trial’s estimate: it overstates the yearly gain by 904 dalens per trainee.

**24.** Corrected for selection and combined with the pre-registered trial, the programme raises trainees’ earnings by about 1.8 % (standard error 0.54), against 6.5 % in the simple mean of the published studies; the trial alone gives 2.0 % (0.60). Grade 2 on the [evidence scale](#def-b3-credible-empirical-work-evidence-scale).
