This script details the main graphs and function used in my undergraduate dissertation
Non Linear Local Projections with Insrumental Variable Identification
This dissertation researches the dynamics of US inflation using a novel nonlinear local projections framework. We highlight the roles of the global supply chain and consumer debt levels in monetary policy efficacy. In order to do this, we establish four regimes, constructed on transition probabilities based on the interaction of the aforementioned variables, which are known as trigger variables. This means that we asses monetary policy effectiveness on whether there’s stress in the global supply chain and simultaneously, high consumer debt levels. Hence, whilst focusing on implementing two trigger variables instead of the literature’s use of one, we find that monetary policy is limited under high supply chain stress, irrespective of consumer debt levels. Conversely, in low-stress environments, monetary policy consistently proves more successful when consumer debt is high. Utilising the Global Supply Chain Pressure Index and Total Consumer Credit as proxies for our trigger variables, the results call attention to the interplay between supply-side exogenous constraints and demand-side transmission mechanisms in shaping inflation dynamics in the US.
Where \(z_{t}\) is any given trigger variable. The logistic probability function enables us to avoid using a dummy approach, which allows the use of all observations. Although in some cases its suitable to think of a binary trigger variable, the data is separated into two independent regimes, lowering the degrees of freedom and data coverage. As well, a nice feature is that the transformed trigger variable would now have \(Var(z_{t}) = 1\) and \(E(z_{t}) = 0\). The logistic probability density function has curvature parameter \(\kappa > 0\), which captures the regime-switching behaviour of the trigger variable. As a baseline, we use \(\kappa = 6\) for both trigger variables. Moreover, \(F(\cdot)\) can have the lag of the trigger variable (\(z_{t-1}\)) as its input. This is done to avoid feedback. Lastly, we use the Hodrick-Prescott (HP) filter, as recommended by , to remove the cyclical component of the trigger variable. For the decomposition parameter \(\lambda\) of the HP filter, we use \(\lambda = 129,600\) for monthly data. This allows us to obtain a smoothed-curve representation of the trigger, which becomes more sensible to long-term fluctuations. Thus, we capture the dynamics with our respective triggers with non-linear local projections (NLLP).