Category: Codes and Datasets

A visual guide to critical materials and rare earths

Allow me to share this very nice visual guide to critical materials and rare earths made by The Economist: https://www.economist.com/graphic-detail/2025/03/24/a-visual-guide-to-critical-materials-and-rare-earths They did a fantastic job and provide the…

Freed from unit roots: democracy and economic freedom

China will move increasingly toward political freedom if it continues its successful movement for economic freedom. — Milton Friedman in 2003. Milton Friedman was a giant of economics,…

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…

Critical Minerals Data Explorer

In a recent publication in Energy Economics, we found that geopolitical risk will drive up the price of several critical minerals, especially during episodes of heightened geopolitical tensions.…

Statistical Difference between Regimes in State-Dependent Local Projections using LOCPROJ

In a previous blog, I covered the estimation of state-dependent local projection using LOCPROJ. The impact of random shocks of change in vulnerability affects positively the sovereign bond…

Impact of Supply Chain Disruptions on Financial Leverage (International Review of Financial Analysis)

NEW PUBLICATION: This study investigates the impact of supply disruptions on financial leverage (debt-equity ratio) in the U.S. economy from 1998:Q1 to 2024:Q1. The study employs a linear…

Impact of Climate Risk on Fiscal Space: Do Political Stability and Financial Development Matter?

Allow me to share that I published my second working paper for the Asian Development Bank: Impact of Climate Risk on Fiscal Space: Do Political Stability and Financial…

Long series for Central bank total assets from the BIS

The Bank for International Settlements has produced a formidable effort to construct historical series for central bank total assets. The data and the methodology are available on their…

Strong Institutions Shield Emerging Markets from US Monetary Shocks

Allow me to share this ADB blog written by Donghyun Park and Irfan A. Qureshi. Based on our recent joint publication in the Journal of International Money and…

Asymmetries in the oil market: Accounting for the growing role of China through quantile regressions (Macroeconomic Dynamics)

NEW PUBLICATION: This paper assesses the role of political tensions between the US and China and global market forces in explaining oil price fluctuations. To this end, we…

How do political tensions and geopolitical risks impact oil prices? (Energy Economics)

NEW PUBLICATION: This paper assesses the effect of US–China political relationships and geopolitical risks on oil prices. To this end, we consider two quantitative measures, the Political Relationship Index (PRI)…

Do FX reserves promote monetary autonomy in the presence of global spillovers?

NEW PUBLICATION: This paper examines whether the size of foreign exchange (FX) reserves can explain cross-country differences in foreign currency depreciation observed over the 2021-22 Federal Reserve monetary…

Illustrating the sample variance bias with R and Mathematica

In my previous blog, I recall that we can demonstrate in a few steps that the sample variance is an unbiased estimator of the population variance when we…

Producing a Stata code for a simple Monte Carlo simulation with an AI programming assistant

Great news! Wolfram Research has launched a new function that could help to write a code in various languages: resources.wolframcloud.com/ This function requires that you have an account…