Computational Economics
03 / Estimation

Estimating the economy

Explore 512 parameter candidates, the economies they produce, and their fit to three observed moments. Repeated for every year from 1980 to 2023, this search gives the course’s final result, shown in 44 searches, one view.

The economic model is based on De Loecker, Eeckhout and Mongey (2026). For the low-discrepancy sequence behind the search design, see Sobol (1967).

Explore a saved search

Your task: fit one year

Given
Three observed moments, a supplied range for σ, N and ζ, and fixed random draws.
Find
The parameter candidate whose economy has the smallest weighted discrepancy from those moments.
Check
Its σ, N and ζ, the three model moments, each loss contribution and their total, against the answer folded under step 4.

Start with year 2000 and candidate 2. Trace that one candidate through the steps below, then compare it with Best of 512.

Repeat for each year

44 searches, one view.

One winner per set of 512
Annual observed moments and the model moments at each year's selected candidate.
Both lines show annual values. Estimates with the same simulation draw used for the search.
Optional: does the fit survive new draws?

Same parameters, three new draws.

Each year’s σ, N and ζ, solved again with seeds 300, 301 and 302. As in the search, ζ picks φ from the new draws.

Annual observed moments and the model moments at each year’s selected parameters, solved with three new simulation draws: the mean of the three and their range.
The band is the range of three draws, not a confidence interval.
Reallocation RMSE
—
Markup RMSE
—
SGA / cost RMSE
—

Each error pools the 44 years and three draws. With the search’s own draws the three errors are 0.223 pp, 0.03971 and 0.103 pp. Reallocation moves most in the 11 years with ζ ≥ 1 (1986–1995 and 2002): there φ is ζ times the largest break-even value, which changes more from draw to draw than the value ζ picks when ζ < 1. Nothing is estimated again.

Method & interpretation
  1. 01512 pointsσ, N, ζ · same Sobol design
  2. 02SolveM = floor(N) · φ from ζ
  3. 03ScoreThree squared gaps · fixed weights
  4. 04SelectLowest loss in this finite set
  • Plot: σ–N projection; ζ also changes.
  • Weights: inverse 44-year sample variances.
  • Display: rates in %; objective uses fractions.
  • Read with care: boundaries, draw sensitivity, early-1980s markup above target.
Read the method note ↗