This page is a reference for choosing an empirical method and writing the empirical strategy section of your paper. Each section below opens and closes; select a heading to expand it.
Each point is a method. The horizontal axis shows how much economic structure the method assumes. Design-based methods on the left rely on how treatment was assigned. Structural methods on the right specify preferences, technology, or market behavior and estimate their parameters. Methods in the middle combine the two.
The vertical axis shows what the method estimates. Methods near the bottom estimate the effect of a change that occurred in the data. Methods near the top estimate outcomes the data do not contain: a policy not yet tried, a welfare measure, or the mechanism behind a response.
Color marks the family of methods. A filled point is covered in the Unit 6 readings; an open point is not. The buttons below the legend show only the methods common in one field.
Select a point to see an example specification, what the method estimates, its key assumptions, the data it needs, and how it is estimated. Specifications are standard textbook forms; the key references give the versions used in applied work. Positions are approximate.
To narrow the map to the methods that fit your question, use the decision tree.
Answer two or three questions about your research question. The last step lists candidate methods, each with an example specification, what it estimates, its key assumptions, the data it needs, and how it is estimated. The same methods are highlighted on the map.
Once you have chosen a method, the next section lists the four choices your empirical strategy section has to state.
Every empirical strategy section makes four separate choices. Papers often state the model and the estimator clearly and say less about identification and inference. Writing "we estimate a BLP model" or "we estimate a fixed-effects regression" names a model and an estimator; it does not say what variation identifies the parameters. The rows follow the order in which a paper presents these choices (Lecture 6.1): the estimation strategy first, then the identification strategy. Identification is still the logically prior question, because no estimator can recover a parameter the data do not identify. Each row gives a design-based example (the panel weather model from Lecture 6.1) and a structural example (BLP demand from Lecture 6.2).
In a design-based paper, the model is the estimating equation and the meaning of its parameter. In a structural paper, it is the economic primitives: preferences, technology, information, and how agents interact. The model defines the parameters and what a counterfactual means.
Panel weather: log crop yield in a county and year depends on growing-season weather, county fixed effects, and year fixed effects.
BLP: consumer i's utility from product j depends on price and product characteristics, with tastes that vary across consumers, plus a demand shock ξ that the researcher does not observe. Firms may also set prices in a Bertrand-Nash equilibrium.
Common mistake: treating the functional form as a detail. In the logit model, the functional form alone determines how consumers substitute between products.
An estimator is an objective function built from the data, plus a method for finding its minimum or maximum. Some estimators have a closed-form solution (OLS, 2SLS). Most structural estimators require a numerical search. Inference states what the standard errors on the parameters allow for, such as heteroskedasticity or correlation within clusters, and why.
Panel weather: OLS with county and year fixed effects, which has a closed-form solution, with standard errors that allow the errors of neighboring counties to be correlated.
BLP: generalized method of moments on the condition E[ξ·Z] = 0, where Z is the set of instruments described under identification. Because ξ has no closed form, the algorithm solves for it inside each step of the search (see the structural estimation section). Standard errors come from the GMM formula.
Common mistake: reporting estimates from a numerical search without checking that the search reached the minimum.
The argument that, with unlimited data, only one set of parameter values is consistent with what you observe. It does not depend on the estimator.
Panel weather: year-to-year deviations in weather within a county, assumed to be as good as random.
BLP: firms see the demand shock ξ when they set prices, so price is correlated with ξ and needs an instrument: cost shifters, characteristics of rival products, or prices of the same product in other markets. Differences in tastes are identified by how market shares shift across products when prices or the set of products change.
Common mistake: answering "how is it identified?" with "by GMM." GMM is an estimator. Identification is about the variation and the instruments.
The quantities the paper is about, such as elasticities, welfare, or counterfactual outcomes. These are functions of the parameters, so their standard errors come from the delta method, the bootstrap, or simulation.
Panel weather: the predicted change in yields under a warming scenario, computed from the estimated weather relationship, with a confidence interval.
BLP: elasticities and merger simulations computed from the estimates, with standard errors for those as well.
Common mistake: reporting standard errors for the parameters and omitting them for the welfare number reported in the abstract.
Most applied methods use one of these estimators. They differ in what the researcher has to specify.
| Estimator | You specify | Optimized by | Examples on the map |
|---|---|---|---|
| Least squares (OLS, FE, 2SLS) | A linear conditional mean, or moment conditions that are linear in parameters | Closed form | DiD, IV, panel weather, Ricardian, logit and nested logit demand (Berry 1994 inversion) |
| Maximum likelihood | The full distribution of the data given parameters | Numerical: gradient methods such as BFGS or Newton | Stochastic frontier, conditional logit, Rust's bus engine model, count models for trips |
| Generalized method of moments | Moment conditions only, usually orthogonality between an unobservable and instruments | Numerical, usually in two steps to get the optimal weighting matrix | BLP, conduct models, production functions (Olley-Pakes, ACF), spatial models |
| Simulation-based (SMM, indirect inference, simulated MLE) | A model you can simulate even if you cannot write its likelihood or moments | Numerical; simulation draws held fixed across iterations | Mixed logit, dynamic and option value models, matching model moments to reduced-form estimates |
| Nonlinear least squares / systems | Nonlinear equations, often several at once with cross-equation restrictions | Iterated numerical estimation | AIDS and QUAIDS with homogeneity and symmetry imposed; cost functions with share equations |
| Bayesian (MCMC) | A likelihood plus priors on the parameters | Sampling from the posterior | Hierarchical choice models, individual-level willingness to pay |
| Calibration | Parameter values taken from the literature or set to match a benchmark year | No estimation; the model is solved at those values | CGE, equilibrium displacement models, many real options and spatial models |
| Nonparametric / semiparametric | Smoothness, with no assumed functional form for some or all of the relationship | Kernels, local polynomials, sieves, trees | RD (local linear), matching, DML, causal forests |
Where "nonparametric" fits in structural work. It usually comes up in identification. Berry and Haile (2014) show what demand models can be identified without assuming the logit error or a parametric taste distribution. That tells you which conclusions depend on data and which depend on functional form. Applied papers then estimate a parametric version and should state which results depend on the parametric choices.
Structural estimators usually require a numerical search, which raises questions that design-based estimators do not. The next section covers them.
This section is for papers that estimate a structural model. It walks through BLP demand estimation one step at a time, explains numerical search, lists how other structural methods are usually estimated, and ends with a short exercise in R.
BLP is estimated by GMM. Conlon and Gortmaker (2020) implement current recommended practice in PyBLP, a Python package that can be called from R through reticulate. The steps below build the estimator one complication at a time.
fixest. The limitation is the substitution pattern: when one price rises, every other product gains share in proportion to its size.Grid search evaluates the objective at every point on a grid of parameter values and keeps the best. It is transparent and cannot get stuck at a local optimum within the grid, but the cost grows exponentially: 100 points per parameter means 10,000 evaluations for two parameters and 1010 for five. Use it for one or two nonlinear parameters (a temperature threshold, a discount factor, a kink location), for starting values, and for plotting the objective to see whether it is well behaved.
Gradient-based optimizers (BFGS, Newton, Nelder-Mead without gradients) move uphill from a starting point. They are fast and scale to many parameters, but find a local optimum. Multiple starting values are the basic safeguard.
Concentrating out parameters that enter linearly, as in step 5 above, means the numerical search covers only the nonlinear parameters. This is what makes many structural models feasible.
Nested fixed point refers to any estimation where evaluating the objective requires solving the model: inverting shares in BLP, solving the value function in dynamic discrete choice or option value models, or solving for prices in a spatial equilibrium. The inner solution must be accurate, and the outer search is only as good as the inner one.
Recovery tests check the estimator directly. Simulate data from the model with parameters you choose, run your estimator, and check that it returns them. An estimator that cannot recover parameters you set will not recover the true ones.
| Method | Estimator | What makes it hard | Software |
|---|---|---|---|
| AIDS / QUAIDS | Iterated nonlinear SUR with homogeneity and symmetry imposed; LA-AIDS is linear | Price endogeneity, zero purchases, choosing the group | micEconAids (R); quaids (Stata) |
| Discrete choice / BLP | Logit: 2SLS. Random coefficients: GMM by nested fixed point or MPEC. Individual data: simulated MLE | Instruments, inner-loop tolerance, starting values | PyBLP; mlogit, apollo (R) |
| Conduct and markups | GMM on demand plus pricing first-order conditions; or the production approach (ACF control function) | Distinguishing conduct from cost; output elasticity estimation | PyBLP for the demand side; custom code |
| Real options | Calibrated thresholds; or MLE or SMM on the timing of decisions | Solving the value function at each parameter guess | Custom code (value function iteration, finite differences, lattices) |
| Dynamic discrete choice | Nested fixed point MLE (Rust); two-step conditional choice probabilities (Hotz-Miller) | Large state spaces; the discount factor is poorly identified | Custom code |
| Hedonic / Ricardian | OLS or FE first stage; sorting models by MLE or GMM for welfare beyond marginal changes | Omitted variables correlated with the amenity | fixest |
| Travel cost | Count models (Poisson, negative binomial) or conditional logit over sites by MLE | Value of travel time; defining the choice set | MASS, mlogit |
| Choice experiments | Conditional or mixed logit by simulated MLE, or Bayesian | WTP is a ratio of coefficients, so use the delta method or Krinsky-Robb simulation | apollo, logitr (R) |
| Production, cost, profit | SUR on the cost function with share equations; control-function GMM for production functions | Inputs chosen with knowledge of productivity | systemfit, prodest |
| Stochastic frontier | MLE with a composed error | The inefficiency distribution drives the results | frontier, sfaR |
| Equilibrium displacement | Calibration; solve the linear system | Borrowed elasticities; report Monte Carlo ranges | Matrix algebra in R |
| CGE | Calibration to a social accounting matrix | Closure rules and elasticities; sensitivity analysis | GEMPACK (GTAP), GAMS |
| Structural gravity | Poisson pseudo-maximum likelihood with high-dimensional fixed effects | Zeros in trade flows; multilateral resistance | fixest::fepois |
| Spatial equilibrium | Estimate the trade elasticity, calibrate the rest, solve for equilibrium as a fixed point | Trade costs across the network | Custom code |
| Risk preferences | MLE or simulated MLE on choices | Separating risk preferences from beliefs | Custom code |
About fifteen minutes in R. Simulate purchase decisions with a price coefficient you choose, then recover it three ways: grid search, a numerical optimizer, and glm. The exercise shows that glm runs the second method for you.
set.seed(570)
n <- 2000
price <- runif(n, 1, 5)
beta <- c(2, -0.8) # intercept and price coefficient you set
buy <- rbinom(n, 1, plogis(beta[1] + beta[2] * price))
loglik <- function(b) {
p <- plogis(b[1] + b[2] * price)
sum(buy * log(p) + (1 - buy) * log(1 - p))
}
# 1. Grid search over the price coefficient, intercept held at its true value
grid <- seq(-2, 0, by = 0.01)
ll <- sapply(grid, function(b2) loglik(c(2, b2)))
grid[which.max(ll)]
plot(grid, ll, type = "l") # look at the shape of the objective
# 2. Numerical optimizer over both parameters, from a poor starting value
fit <- optim(c(0, 0), function(b) -loglik(b), method = "BFGS", hessian = TRUE)
fit$par
sqrt(diag(solve(fit$hessian))) # standard errors from the Hessian
# 3. The built-in estimator does step 2 for you
coef(glm(buy ~ price, family = binomial))
# 4. A quantity of interest: price elasticity at mean price, by delta method or bootstrapQuestions to consider: Why hold the intercept fixed in the grid search? What would a grid over both parameters cost, and over ten? What does the plotted log-likelihood suggest about whether the optimizer can get lost here, and why might BLP be different?
Nevo (2000), "A Practitioner's Guide to Estimation of Random-Coefficients Logit Models of Demand," Journal of Economics & Management Strategy, the optional reading for Lecture 6.2, walks through BLP estimation step by step. Conlon and Gortmaker (2020), "Best Practices for Differentiated Products Demand Estimation with PyBLP," RAND Journal of Economics, documents current practice and the PyBLP software. Further reading: Train, Discrete Choice Methods with Simulation (free online), chapters on simulated MLE; Reiss and Wolak (2007), "Structural Econometric Modeling," Handbook of Econometrics, vol. 6A.
How will a warmer climate affect U.S. agriculture? Three designs answer this question using different comparisons, so each one estimates a different relationship. Each design is also a point on the map.
Farmland value per acre on long-run average temperature and precipitation, across counties (Mendelsohn, Nordhaus, and Shaw 1994).
The long-run effect of climate on land values, including the adaptation farmers have already made.
No omitted factor varies with climate across counties and affects land values. Irrigation violates this assumption (Schlenker, Hanemann, and Fisher 2005).
County crop yields or farm profits on year-to-year weather, with county and year fixed effects (Deschênes and Greenstone 2007; Schlenker and Roberts 2009).
The short-run response to weather, including yield losses above crop-specific temperature thresholds.
Within a county, year-to-year deviations in weather are as good as random. Farmers cannot fully adapt to a single hot year, so the estimate may overstate long-run damage.
Changes in county outcomes over several decades on changes in climate over the same period (Burke and Emerick 2016).
The response to gradual climate change. Compared with the panel estimate, it shows how much adaptation offsets short-run damage.
Within a state, counties' climate trends are unrelated to other trends in their outcomes.
The three answers differ partly because the designs estimate different relationships and partly because some designs are more credible than others. Timmins and Schlenker (2009) discuss this tradeoff between cross-sectional and panel variation.
Lecture tags follow the Unit 6 schedule: 6.1 design-based identification, 6.2 structural models and combining approaches, 6.3 machine learning and newer estimators, 6.4 experiments and mixed methods, 6.5 evaluating evidence. "Beyond the readings" marks methods that the Unit 6 readings do not cover. Key references are being checked before each lecture uses them; those for the climate example and the discrete choice (BLP) entry have been checked.