Seminario de Análisis Empírico

Empirical analysis seminar: reading and replicating applied microeconomics research, with lecture slides and assignments.

← All teaching

Fall 2026

Tentative — subject to change during the term.

Syllabus

Slides

Examples of empirical work

R Code

Each script reproduces every output printed on the matching slides. Class3.R, Class4.R and Class6.R read the data files listed below by relative paths, so run them from the folder that contains data/; Class6.R writes its figures to a Figures/ folder it creates. Class5.R needs no data file.

The Lecture 7 download includes the PDF, scripts, and data. Extract the folder and run the scripts from the folder that contains Rcode/ and data/.

Practice sessions

Three guided 90-minute practices use the one-year Partnership Schools for Liberia evaluation to build an analysis dataset, reproduce figures, and fit published models. A separate 45-minute GIS extension maps county coverage.

Download the complete AER workshop (.zip) — the four scripts, the background slides, data, the student guide and reference outputs.

Background slides (PDF) cover the program, the experiment and the data. The practice itself is in the scripts.

Practice Prerequisites Time Script
1 · Build the dataset Importing, cleaning and joins 90 min Class4B_1_Dataset.R
2 · Reproduce figures Visualization 90 min Class4B_2_Figures.R
3 · Models and randomization inference Programming and experiments 90 min Class4B_3_RI.R
4 · Map county coverage Spatial data 45 min Class4B_4_GIS.R

Study: Romero, Sandefur and Sandholtz (2020), American Economic Review 110(2).

Problem Sets

Data

  • Lecture 6 — Municipal data (CSV): population, schooling, illiteracy, and poverty rates for 2,469 municipios. Save the file as data/municipios_clean.csv (remove the download’s AnalisisEmpirico_202602_ prefix).
  • Lecture 7 — Spatial data and scripts (ZIP): municipal and alcaldía boundaries, poverty, ECOBICI stations and flows, elevation, and air quality. Extract the ZIP and keep its folder structure; the input files are in data/L07/teaching/. The bundle also includes the scripts, lecture PDF, and data documentation.

Run the scripts from the folder that contains data/ (and Rcode/ for Lecture 7).

Other course data and preparation scripts:

Sources for the municipal and ENIGH files: INEGI, Censo de Población y Vivienda 2020 · INEGI, ENIGH 2024 · CONEVAL, Medición de la pobreza municipal 2020. Accessed 2026-08-16. Nothing in these files is simulated or imputed.

Spring 2026

Syllabus

Slides

R Code