Lecture 17. Spatial Structural Modeling
Learning Objectives¶
By the end of this lecture, students should be able to:
explain when a reduced-form spatial design is not enough and a spatial equilibrium model becomes necessary;
map an applied spatial question into equilibrium objects such as indirect utility, moving costs, commuting costs, wages, rents, local productivity, amenities, and housing supply;
distinguish static quantitative spatial models from dynamic spatial models with transition paths and forward-looking adjustment;
interpret gravity-style trade, commuting, and migration blocks as one tractable family inside broader spatial structural work;
evaluate identification, calibration, estimation, model fit, and counterfactual claims in spatial equilibrium papers;
summarize what Lectures 15 to 17 together contribute to an applied research design and identify open frontiers in spatial methods.
Opening Orientation¶
Lecture 15 asked how researchers construct spatial empirical objects. Lecture 16 asked how spatial spillovers, sorting, exposure, and correlated shocks change causal inference. Lecture 17 asks a third question: when do applied questions require a model of how workers, firms, rents, amenities, commuting flows, migration, and local prices interact across space?
The lecture is methods-focused. It is not a general survey of urban economics, trade, migration, housing, or regional development. The object is the research workflow: when the policy question is an equilibrium object, what structure is needed, which data discipline the primitives, how should fit be assessed, and how far can the counterfactual be trusted?
The motivating distinction is partial equilibrium versus spatial equilibrium. A credible border design, shift-share design, or place-based event study can estimate a local effect. But many spatial policies do not only change treated units. They alter wages, rents, housing quantities, commuting patterns, firm location, market access, amenities, and welfare at the same time. Monte, Redding, and Rossi-Hansberg show why commuting and migration jointly shape local employment elasticities Monte et al., 2018. Hsieh and Moretti show why housing constraints can turn local productivity into rents, misallocation, and aggregate output losses rather than only local wage changes Hsieh & Moretti, 2019.
The central claim is conservative: not every spatial paper should be structural. But students should know when reduced-form place effects are the input rather than the answer.
Core Points¶
Bridge¶
Lectures 15 and 16 remain binding constraints. A structural model cannot rescue weak geography, undocumented exposure construction, contaminated comparisons, or unsupported spillover assumptions. It builds on the same discipline: define the economic object, state the counterfactual, document the data-generating process, and explain which assumptions do the work.
Theory-to-applied bridge¶
| Reduced-form fact | Structural object needed | Typical paper template | Applied payoff |
|---|---|---|---|
| Local wage effect differs across places | Housing supply elasticity / moving costs | Hsieh-Moretti | Incidence and misallocation |
| Employment shock absorbed through commuting | Commuting vs migration costs | Monte-Redding-Rossi-Hansberg | Local labor-demand incidence |
| Urban redevelopment changes welfare unevenly | Amenity and productivity gradients | Ahlfeldt-Redding-Sturm-Wolf | Welfare decomposition |
| Bilateral trade or migration flows shape local outcomes | Flow elasticity / market access | Allen-Arkolakis | Spatial policy counterfactuals |
| Urban transition path matters after shock | Dynamic migration / housing frictions | Greaney-Parkhomenko-Van Nieuwerburgh | Transition dynamics and policy timing |
The bridge from earlier structural lectures is also direct. Lecture 6 introduced structure as a way to recover latent primitives and evaluate counterfactuals. Lecture 7 emphasized identification, moments, likelihood, simulation, and fit. Lecture 8 introduced equilibrium structural work across search, spatial, market, and policy environments. Lecture 17 narrows the lens to spatial equilibrium, where location choices and bilateral flows connect many local markets at once.
Field Core¶
A. Why Equilibrium Spatial Modeling Is Sometimes Necessary¶
Reduced-form spatial evidence is often the right first step. It can estimate whether a treated place changed relative to a comparison place, whether an exposure predicts outcomes, or whether a border generated a local discontinuity. It is enough when the estimand is local, the counterfactual remains inside observed support, and the policy question does not require prices or quantities elsewhere to adjust.
Spatial equilibrium modeling becomes necessary when the applied question asks about an object like:
who captures a local productivity gain once rents and commuting respond;
whether a transit improvement helps residents, in-commuters, firms, or landlords;
how housing restrictions in productive places affect aggregate output and welfare;
whether a local labor-demand shock is absorbed by migration, commuting, wages, rents, or unemployment;
how a place-based subsidy changes firm location, local labor demand, and neighboring places;
how a climate, infrastructure, or remote-work shock reallocates workers across locations over time.
One way to state the boundary is:
where is a local treatment effect and is an equilibrium mapping from policy or shock to wages, rents, flows, quantities, and welfare. The model is not automatically better. It is justified only if the research question requires .
The most common failure is to interpret a nominal wage effect as welfare. A worker’s welfare can rise less than wages if rents increase, commuting costs worsen, or amenities fall. A resident may gain differently from an in-commuter. A firm may face a different effective labor supply depending on commuting openness. These are spatial equilibrium questions because the units interact through markets and movement.
B. Core Spatial Equilibrium Objects¶
Spatial structural models differ in detail, but the same object classes appear repeatedly.
Indirect utility. A compact worker-side object is:
where worker origin , residence , and workplace may differ. The wage , rent or local price , commuting cost , moving cost , amenity , and idiosyncratic taste together define the value of a spatial option. The equation makes two lessons visible. First, wages are not welfare. Second, residence, workplace, and origin are different spatial objects.
Location choice and migration. With extreme-value taste shocks, the probability that a worker from origin chooses residence and workplace can be written:
where is utility net of the idiosyncratic component and controls how strongly workers respond to utility differences. Migration data help discipline moving costs. Residence-workplace flows help discipline commuting costs. If the model observes only populations, it usually needs stronger assumptions to separate preferences, frictions, and prices.
Commuting. Commuting links residential labor supply to workplace labor demand. A bilateral commuting share can be summarized as:
where is workplace attractiveness, is a bilateral commute cost, and is the flow-cost elasticity. In applied work, might come from distance, travel time, transit access, traffic, tolls, schedule constraints, or historical transport networks. The commuting matrix is not just a data object. It determines how local shocks propagate across residence and workplace geographies.
Wages, rents, and amenities. Spatial equilibrium models usually require a real-wage or utility object:
or a richer version with commuting and moving costs. Rents capitalize access and amenities; wages reflect productivity, labor demand, and sorting; amenities enter utility but are often latent. A model that does not separate these objects can misread a high-rent place as high-welfare or a high-wage place as high-opportunity.
Housing supply and congestion. A simple housing supply block is:
where is a local supply elasticity. Low means demand shocks are more likely to show up in rents than in population. Congestion can enter through housing, commuting, local public goods, schools, or disamenities. These forces often decide incidence.
Labor demand and firm location. A workplace or firm-location block links wages to productivity and local demand:
where is local productivity, is market access or demand access, and collects local shifters such as sector mix, infrastructure, regulations, or agglomeration forces. Firm entry or location choice can be modeled explicitly when the policy affects where firms operate, not only how many workers are employed in existing places.
Equilibrium. The equilibrium object combines choices, prices, and quantities:
where contains preferences, frictions, productivity, amenities, and supply parameters. A counterfactual changes and recomputes the fixed point. The economic content lies in which margins are allowed to adjust and which are held fixed.
C. Static Versus Dynamic Quantitative Spatial Models¶
Static spatial models are useful when the question is about long-run incidence or comparative statics. They ask what the allocation would look like after workers, firms, rents, and flows adjust. This is the right first language for many place-based policies, housing-supply counterfactuals, transport improvements, and commuting-cost changes Ahlfeldt et al., 2015Hsieh & Moretti, 2019Monte et al., 2018.
Dynamic spatial models are needed when the path matters. If moving is costly, housing capital is durable, workers are forward-looking, firms invest, households have tenure choices, or policy timing changes expectations, the long-run equilibrium may be insufficient. Dynamic urban work pushes spatial models toward transition paths, forward-looking migration, housing tenure, and macro-housing frictions Greaney et al., 2025.
Static vs dynamic / equilibrium map¶
| Design question | Static spatial model | Dynamic spatial model | Gravity-style block |
|---|---|---|---|
| Main use | Comparative statics and long-run incidence | Transition paths and forward-looking adjustment | Bilateral flows inside broader equilibrium |
| Core margins | Wages, rents, migration, commuting, amenities | Migration timing, housing tenure, adjustment lags | Trade, migration, commuting shares |
| Typical data | Cross-section or long-difference moments | Panels with adjustment dynamics | Bilateral origin-destination matrices |
| Best when | Long-run policy incidence is central | Transition or anticipation is central | Flow frictions are the main object |
| Main caveat | May hide transition costs | Heavy computation and stronger assumptions | Usually incomplete without broader market structure |
The static-dynamic choice is not about sophistication. It is about the estimand. If the question is long-run incidence, a dynamic model may be unnecessary. If the question is who bears adjustment costs over the first five years of a housing, transport, climate, or remote-work shock, a static model may hide the object of interest.
D. Gravity-Style Blocks As One Structural Family¶
Gravity-style equations are central in spatial economics because many bilateral flows decline with bilateral costs and rise with origin and destination attractiveness. They appear in trade, commuting, migration, applications, referrals, and trips. A generic gravity block is:
where is origin mass, is destination attractiveness or demand, is bilateral cost, and is the elasticity of flows with respect to cost. Log-linear versions are useful for diagnosis:
Gravity is powerful because it links observed flows to unobserved frictions. It is also dangerous when treated as the whole model. A commuting gravity equation can recover how flows respond to travel costs, but incidence still depends on wages, rents, local labor demand, housing supply, and welfare. A migration gravity equation can discipline moving costs, but the welfare effect of a shock depends on what movers leave, where they arrive, and how prices adjust. A trade gravity equation can recover trade frictions, but local labor outcomes depend on production, factor mobility, and market clearing.
The right teaching statement is: gravity is a disciplined way to model bilateral flows inside a spatial equilibrium system. It is a subfamily of spatial structural work, not a substitute for the full equilibrium object when the policy question is incidence or welfare.
E. Identification, Calibration, Estimation, Fit, And Counterfactual Interpretation¶
Spatial structural papers often combine reduced-form evidence, calibrated elasticities, direct estimation, and model inversion. Students should learn to ask which object comes from which source.
Spatial structural diagnostics¶
| Issue | Key question | Why it matters | Typical failure mode |
|---|---|---|---|
| Equilibrium object | What is the actual object of interest? | Prevents unnecessary structure | Modeling wages only when welfare/incidence is the target |
| Adjustment margins | Which margins adjust? | Determines incidence | Ignoring commuting, rents, or migration |
| Identification | Which data pin down which primitives? | Keeps the model interpretable | Treating calibrated parameters as estimated facts |
| Fit | Which moments are targeted vs untargeted? | Prevents overclaiming | Good fit on targeted moments only |
| Counterfactual distance | How far outside observed support is the policy? | Shapes credibility | Large extrapolation with weak validation |
| Welfare | What surplus or utility object is reported? | Makes results economically interpretable | Using nominal wage changes as welfare |
Identification. The model should map empirical variation to primitives. Bilateral commuting or migration flows can identify flow-cost elasticities and frictions. Wages and employment can help recover local productivity or labor demand. Rents, prices, housing quantities, or land-use constraints can discipline housing supply. Amenities are often residual objects, so papers need restrictions or validation to keep amenities from absorbing every mismatch.
Calibration versus estimation. Some parameters may be calibrated from external papers, such as elasticities or housing supply responses. Others may be estimated from the paper’s data. Calibration is not a sin, but it changes the evidentiary status of the result. A credible paper reports which headline counterfactuals move when calibrated parameters change.
Fit. Fit should be shown for targeted and untargeted objects. If the model targets commuting flows, wages, and rents, it should also report how it does on population changes, employment shares, non-targeted flows, or external validation moments when available. A model can fit targeted moments mechanically and still be unpersuasive for the counterfactual margin.
Counterfactual distance. A small transport-cost shock near observed support is different from a national remote-work transformation, a major climate migration scenario, or a large housing deregulation. Counterfactual credibility depends on how far the model extrapolates and whether the relevant margins were observed in the data.
Welfare and incidence. Spatial structural models are valuable because they can report welfare and incidence, but only if the utility object is explicit. Students should ask whose welfare is reported: incumbent residents, movers, commuters, landlords, firms, taxpayers, or a representative worker. Distributional weights and ownership of land or housing can change the answer.
F. Spatial Methods Block Summary¶
This lecture closes the spatial methods block, so students need a separate map of what the block has accomplished.
What Lectures 15 to 17 give students. Lecture 15 teaches students to build defensible spatial objects: geographies, crosswalks, distances, travel costs, exposures, and access measures. Lecture 16 teaches them to make causal claims with space: spatial dependence, interference, border logic, shift-share exposure, sorting, and spatially robust inference. Lecture 17 teaches them when the estimand is no longer a local effect but an equilibrium object that requires prices, quantities, flows, and welfare.
Where the literature is now. Current spatial methods work is increasingly quantitative, flow-based, and data-rich. The literature uses commuting, migration, trade, housing, and firm-location data to connect local shocks to equilibrium incidence. It is also more explicit about equilibrium properties, multiplicity, computation, and validation Redding & Rossi-Hansberg, 2017Redding, 2024Allen et al., 2024.
Main active frontiers. Important frontiers include dynamic adjustment, forward-looking migration, housing tenure, durable housing, remote work, climate adaptation, local labor-market power, sorting with heterogeneous workers, endogenous amenities, transport networks, and high-frequency mobility or platform data. Dynamic urban models are especially useful when transition paths and policy timing are central rather than incidental Greaney et al., 2025.
Future opportunities. Labor economists can contribute by combining administrative worker-firm data with spatial equilibrium discipline, studying remote and hybrid work as a commuting-cost shock, modeling how monopsony and firm market power vary across space, linking climate risk to migration and housing, and building transparent teaching-scale versions of frontier models. The most promising projects will not be structural for style. They will use the lightest model that recovers the equilibrium object the research question actually requires.
Research Lab¶
The Week 17 lab follows the standard Reproduce -> Diagnose -> Transfer structure. It is a bounded synthetic teaching path, not an official replication package.
The primary anchor paper is Monte, Redding, and Rossi-Hansberg Monte et al., 2018. It is central because it links commuting, migration, goods-market linkages, local employment elasticities, gravity-style flows, and spatial equilibrium counterfactuals. The challenge and extension paper is Greaney, Parkhomenko, and Van Nieuwerburgh Greaney et al., 2025, which pushes the block toward dynamic urban modeling, transition paths, forward-looking households, and housing frictions.
Reproduce¶
Students reproduce a compact commuting-flow and local-incidence object inspired by Monte, Redding, and Rossi-Hansberg. Using deterministic synthetic locations and bilateral residence-workplace flows, they:
estimate a simple gravity-style commuting relationship;
construct commuting openness by residence location;
solve a small teaching equilibrium with wages, rents, commuting costs, and location choices;
compare a local productivity shock under fixed-flow and reallocated-flow interpretations;
summarize which places gain through workplace employment, resident welfare, rents, or commuting access.
The purpose is not to replicate the published quantitative model. It is to make one central object visible: a local shock does not stay local when workers commute and locations interact.
Diagnose¶
Students then diagnose which parts of the model are disciplined by data and which are imposed:
Which bilateral flows identify commuting frictions?
Which moments are targeted and which are left for validation?
How sensitive is the counterfactual to the commuting elasticity?
How sensitive is rent incidence to housing supply elasticity?
What would be needed to separate amenities from productivity?
Where would a reduced-form design stop?
The Diagnose memo must distinguish reduced-form evidence, identified structural primitives, calibrated elasticities, and closure assumptions.
Transfer¶
Students transfer the logic to a dynamic frontier setting inspired by Greaney, Parkhomenko, and Van Nieuwerburgh. The synthetic teaching task does not solve a full dynamic urban model. Instead, students compare a static long-run response with a transition path under migration frictions and gradual housing adjustment. They:
simulate adjustment after a housing or commuting-cost shock;
compare impact, medium-run, and long-run welfare;
identify which conclusions would be missed by a static model;
write a memo explaining when dynamic structure is necessary rather than decorative.
The transfer task keeps the frontier concrete. The goal is to see why transition dynamics can change incidence and welfare interpretation.
Methods Box¶
Reading Ladder And References¶
Reading architecture¶
Core lecture spine¶
Canonical quantitative spatial examples¶
Frontier / dynamic / equilibrium-properties extensions¶
Spatial block summary questions¶
When is reduced-form enough?
When do commuting, migration, or rents become equilibrium objects?
Which frontier papers push the field beyond static incidence?
What is the lightest structural model that answers your policy question?
For a first pass, students should read Monte, Redding, and Rossi-Hansberg for the commuting and migration benchmark, Hsieh and Moretti for spatial misallocation through housing constraints, and Redding and Rossi-Hansberg for the broader quantitative spatial economics architecture Monte et al., 2018Hsieh & Moretti, 2019Redding & Rossi-Hansberg, 2017.
For canonical quantitative examples, Ahlfeldt, Redding, Sturm, and Wolf show how urban structure, density, and the Berlin Wall can be used to quantify agglomeration and welfare, while Allen and Arkolakis provide a trade-and-topography example of spatial equilibrium with bilateral frictions Ahlfeldt et al., 2015Allen & Arkolakis, 2014.
For frontier directions, students should read Redding’s recent overview, Allen, Arkolakis, and Li on equilibrium properties, and Greaney, Parkhomenko, and Van Nieuwerburgh on dynamic urban economics Redding, 2024Allen et al., 2024Greaney et al., 2025.
Exercises And Discussion Prompts¶
A place-based policy raises employment in treated regions. When is the reduced-form estimate the answer, and when is it only an input into a spatial equilibrium model?
Write an indirect-utility expression for a worker who chooses both residence and workplace. Which terms are observed, which are latent, and which are likely to be calibrated?
Explain why a high nominal wage can be a poor welfare measure in a housing-constrained city.
A transit investment lowers commuting costs between two locations. Which outcomes would identify the commuting-cost elasticity? Which outcomes would speak to welfare?
What does a gravity-style commuting equation identify well, and what does it miss if it is not embedded in an equilibrium model?
Choose a spatial counterfactual and list the margins that should adjust. Which one margin would be most dangerous to hold fixed?
Give one research question where a static spatial model is enough and one where dynamic structure is essential.
Design one untargeted fit check for a spatial structural paper using bilateral flows.
How would your interpretation differ for incumbent residents, in-commuters, potential movers, firms, and landlords?
Reproducibility And Code Lab Note¶
The Lecture 17 lab is located in labs/17-spatial-structural-modeling/. It uses deterministic synthetic teaching data so the public workflow does not depend on confidential commuting microdata, proprietary routing data, or an uncertain replication package. The smoke path creates the data, estimates a gravity-style commuting relationship, solves a compact equilibrium counterfactual, diagnoses model fit and sensitivity, and transfers the logic to a dynamic adjustment exercise.
Students should state clearly that the lab is a teaching reproduction of structural logic, not an official replication of Monte, Redding, and Rossi-Hansberg or Greaney, Parkhomenko, and Van Nieuwerburgh. The output is a methods memo about equilibrium objects, assumptions, and counterfactual interpretation.
Slide Companion Note¶
The Lecture 17 slides should not duplicate the chapter. They should make the architecture visible:
why reduced-form spatial evidence can be insufficient;
the core equilibrium map linking utility, flows, wages, rents, housing, firms, and welfare;
static versus dynamic spatial structure;
gravity-style blocks as flow discipline inside broader equilibrium models;
identification, calibration, fit, and counterfactual interpretation;
a separate summary of the spatial methods block;
the Reproduce -> Diagnose -> Transfer lab design.
At least one slide should state plainly: gravity is a building block, not the whole spatial structural model.
The canonical slide source is slides/week17/17-spatial-structural-modeling.tex.
Bridge Forward¶
This completes the spatial methods block. Students should now be able to distinguish three tasks that are often blurred: curating spatial data, identifying causal effects with space, and modeling the equilibrium environment through which spatial shocks propagate.
The bridge to the network block is natural. Spatial models organize interaction through geography, distance, commuting, migration, and market access. Network models organize interaction through links, peers, referrals, firms, schools, platforms, and social structure. In both blocks, the methodological discipline is the same: define the object, state the counterfactual, and make the dependence structure explicit.
- Monte, F., Redding, S. J., & Rossi-Hansberg, E. (2018). Commuting, Migration, and Local Employment Elasticities. American Economic Review, 108(12), 3855–3890. 10.1257/aer.20151507
- Hsieh, C.-T., & Moretti, E. (2019). Housing Constraints and Spatial Misallocation. American Economic Journal: Macroeconomics, 11(2), 1–39. 10.1257/mac.20170388
- Ahlfeldt, G. M., Redding, S. J., Sturm, D. M., & Wolf, N. (2015). The Economics of Density: Evidence from the Berlin Wall. Econometrica, 83(6), 2127–2189. 10.3982/ECTA10876
- Greaney, B., Parkhomenko, A., & Van Nieuwerburgh, S. (2025). Dynamic Urban Economics. NBER Working Paper, 33512. 10.3386/w33512
- Redding, S. J., & Rossi-Hansberg, E. (2017). Quantitative Spatial Economics. Annual Review of Economics, 9, 21–58.
- Redding, S. J. (2024). Spatial Economics. NBER Working Paper, 33125. 10.3386/w33125
- Allen, T., Arkolakis, C., & Li, X. (2024). On the Equilibrium Properties of Spatial Models. AEA: Insights, 6(4), 472–489. 10.1257/aeri.20230495
- Allen, T., & Arkolakis, C. (2014). Trade and the Topography of the Spatial Economy. Quarterly Journal of Economics, 129(3), 1085–1140. 10.1093/qje/qju016