The lowest saved loss.
- All candidates use the same annual targets and fixed weights.
- Top 15 lists the 15 candidates with the lowest loss.
The inputs, the three moment gaps and the weights behind the search.
This note describes the course’s implementation of the economy in De Loecker, Eeckhout and Mongey (2026); the search and its numerical settings are the course’s own.
Watch the 48-second explanation: Sobol points in the chosen range ↗
For year t, read the three targets from Moments.csv and the six bounds from boxes.csv. For candidate i and parameter p ∈ {σ, N, ζ}, map the saved unit coordinate as xitp = lotp + uip × (hitp − lotp). This gives three parameters for one economy; repeat the same mapping for each of the 512 points.
The selected-candidate walkthrough shows the actual u, bounds and mapped parameters. The solver uses M = floor(N), draws productivity with σ and the fixed seed, lets ζ pick φ, and computes the three moments. It then scores those moments against that year's targets.
In the first round of period 1, the solver computes and sorts the firms’ break-even fixed-labor values. For ζ < 1, it selects the first value whose cumulative share is strictly greater than ζ. For ζ ≥ 1, it multiplies the largest value by ζ. That value is φ, and it stays the same in later rounds and in period 2. So ζ is a search coordinate and φ is an outcome of the solve. φ is in model labor units, not a percentage; 1e−6 is one millionth.
Source: qmp/equilibrium.py::_solve_period. Every candidate uses this rule.
(loss, row_id).