This page provides the data and R code accompanying Talking fragmentation away – Decoding the ’whatever it takes’ effect, published in Economics Letters in January 2024. The package includes code to reconstruct the figures and regression tables and makes the lender-of-last-resort (LoLR) index publicly available.
The downloadable package contains:
The Lender-of-last-resort (LoLR) index, which measures the similarity of ECB speeches to Mario Draghi’s “whatever it takes” speech. Please cite Talking fragmentation away when using this index.
Financial and macroeconomic data used to construct the figures and estimate the regressions.
An R script, Replication.R, which prepares the data, creates the figures, and estimates the regression models.
The underlying embeddings are available through the companion publication Whatever it takes to understand a central banker and its linked Mendeley Data repository. Please cite that publication when using the embeddings. The embeddings are not required to run this package, which includes the calculated LoLR index.
To run the code, you need a working installation of R and RStudio. The script automatically installs any missing R packages; an internet connection is required for installation.
Download and extract the package, open Replication.R in RStudio, and run the script. Missing R packages are installed automatically. Keep the folder structure unchanged.
The current package reconstructs the analysis using the available data. Its regression sample contains 1,963 observations, compared with 2,028 in the published paper, and the estimates therefore differ slightly.