Tag: LOCPROJ

Smooth transition state-dependent local projection with Stata

Suppose that a rise in geopolitical risk does not have the same effect when a country begins in a tranquil environment and when tensions are already elevated. A…

A Teulings-Zubanov-Style Correction for LP-IV Models with Stata

This blog was inspired by a discussion with Davide Romelli at the SILVAPLANA POLITICAL ECONOMY 2026 workshop. Davide suggested that I include future values of the shock in…

Customizing LP impulse response function after LOCPROJ using LPGRAPH

In a few days, Alfonso Ugarte from BBVA will release an updated version of his package LOCPROJ. In this new version, the LPGRAPH command has been greatly improved…