MAV · Laboratorios· Labs

ITAM · Otoño 2026ITAM · Fall 2026

Laboratorios de Macroeconomía AvanzadaAdvanced Macroeconomics labs

Modelos y datos del curso que se resuelven en tu navegador. Mueve un parámetro, mira qué cambia y sigue los experimentos guiados. Nada que instalar.The course’s models and data, solved in your browser. Move a parameter, watch what changes and follow the guided experiments. Nothing to install.

Unidad A1 · Hechos estilizadosUnit A1 · Stylized facts

¿Cuánto del ciclo lo pone el filtro?How much of the cycle comes from the filter?

Hodrick–Prescott frente a Hamilton en 11 países, y cuánto se revisa el ciclo cuando llegan datos nuevos.Hodrick–Prescott versus Hamilton in 11 countries, and how much the cycle is revised as new data arrive.

Abrir →Open →
Unidad A2 · El modelo neoclásico de crecimientoUnit A2 · The neoclassical growth model

¿Qué tan rápido alcanza una economía su estado estacionario?How fast does an economy reach its steady state?

Calcula la senda de silla del modelo de Ramsey sin linealizar y mira dónde falla la aproximación de primer orden y cuánto tarda la economía en converger.Compute the Ramsey model's saddle path without linearizing, and see where the first-order approximation fails and how long convergence takes.

Abrir →Open →
Unidad A3 · Riesgo e incertidumbreUnit A3 · Risk and uncertainty

¿Qué se pierde al convertir un AR(1) en una cadena de Markov?What is lost when an AR(1) becomes a Markov chain?

Discretiza un AR(1) con Tauchen y con Rouwenhorst y descubre por qué el primero exagera la volatilidad y se atora cuando la persistencia es alta.Discretize an AR(1) with Tauchen and with Rouwenhorst, and see why the former overstates volatility and gets stuck when persistence is high.

Abrir →Open →
Unidad A4 · Ciclos económicos reales y contabilidad del cicloUnit A4 · Real business cycles and business-cycle accounting

¿Bastan los choques de productividad para explicar el ciclo?Can productivity shocks alone explain the business cycle?

Resuelve el RBC canónico, compara trabajo divisible e indivisible y pon sus momentos del ciclo junto a los de EE. UU.: la correlación horas–productividad es la gran falla.Solve the canonical RBC model, compare divisible and indivisible labor, and set its cycle moments next to US data: the hours–productivity correlation is the big miss.

Abrir →Open →
Unidad A5 · Identificación empírica: SVAR, evidencia narrativa y proyecciones localesUnit A5 · Empirical identification: SVARs, narrative evidence and local projections

¿Qué le hace al producto un alza de la tasa?What does a rate hike do to output?

Con una verdad conocida, mira cómo el orden de Cholesky puede invertir el signo de un choque monetario y cómo una proyección local instrumentada cambia sesgo por varianza.With a known truth, watch a Cholesky ordering flip the sign of a monetary shock and an instrumented local projection trade bias for variance.

Abrir →Open →
Unidad A6 · Mercados incompletos, heterogeneidad y HANKUnit A6 · Incomplete markets, heterogeneity and HANK

¿Qué pasa cuando nadie puede asegurar su ingreso?What happens when no one can insure their income?

Resuelve el modelo de Aiyagari en tu navegador y mira cómo el riesgo que no se puede asegurar baja la tasa de interés, concentra la riqueza y hace que la PMC agregada dependa de la distribución.Solve the Aiyagari model in your browser and watch uninsurable risk lower the interest rate, concentrate wealth, and make the aggregate MPC depend on the distribution.

Abrir →Open →
Unidad B2 · Mercados no competitivosUnit B2 · Non-competitive markets

¿Cuánto producto cuesta bajar la inflación?How much output does it cost to bring inflation down?

Mueve la rigidez de Calvo y la regla de Taylor, compara choques monetarios, de demanda y de costos, y mira cómo la cota cero convierte el mismo choque en una recesión profunda.Move Calvo stickiness and the Taylor rule, compare monetary, demand and cost-push shocks, and watch the zero bound turn the same shock into a deep slump.

Abrir →Open →
Unidad B2 · Fricciones en el mercado laboralUnit B2 · Labor-market frictions

¿Por qué hay desempleo si hay vacantes?Why is there unemployment when there are vacancies?

Recorre la curva de Beveridge de EE. UU. y Europa, compara el desempleo con el que dictan los flujos y cambia un flujo de la ENOE para ver la informalidad mexicana como un equilibrio.Trace the Beveridge curve for the US and Europe, compare unemployment with the level the flows imply, and change one ENOE flow to see Mexico's informality as an equilibrium.

Abrir →Open →

Cómo usarlosHow to use them

  • Empieza por la pregunta del título y haz una predicción antes de mover nada.Start with the question in the title and make a prediction before moving anything.
  • Sigue los experimentos de «Qué probar»: cada uno aísla una idea de la unidad.Follow the "Things to try" experiments: each one isolates one idea from the unit.
  • Cada gráfica tiene tabla y CSV. La matemática está al pie, y el cuaderno de Colab reproduce el cálculo en Python.Every chart has a table and a CSV. The math is at the bottom, and the Colab notebook reproduces the computation in Python.

Con qué están hechosWhat they are built with

Los cálculos corren en JavaScript dentro de la página y se validaron contra puremacro, la biblioteca de Python del curso. Los datos son instantáneas congeladas de fuentes públicas; cada laboratorio cita la suya.The computations run in JavaScript inside the page and were validated against puremacro, the course’s Python library. The data are frozen snapshots from public sources; each lab cites its own.