Reproducibility Studies33 Min Read7005 Words

Exchange Rates and Asset Prices in a Global Demand System: Multi-Engine Nested-Logit Replication

Academic Simulation Dataset Disclosure — Non-Empirical Demonstration This manuscript is estimated on a simulated dataset constructed to illustrate econometric methodology.

Author:thuyetnn· EcoLab
Published:Nov 29, 2026
1/19
Exchange Rates and Asset Prices in a Global Demand System: Multi-Engine Nested-Logit Replication

1. Introduction

International financial economics has wrestled for decades with the empirical disconnect between exchange rates and canonical macroeconomic fundamentals documented by Meese & Rogoff (1983) and the forward premium puzzle highlighted by Fama (1984)⁠. Standard frictionless asset pricing models implicitly assume nearly flat demand curves for sovereign bonds and national equity markets, leaving cross-border portfolio rebalancing powerless to explain exchange rate swings or sovereign yield spreads. Yet actual international capital markets exhibit profound segmentation, pronounced home bias, and concentrated institutional holdings whose shifts coincide with major episodes of currency repricing and sovereign stress.

Building on the characteristics-based demand framework introduced for domestic equities by Koijen & Yogo (2019)⁠, Koijen & Yogo (2026) construct a unified global asset demand system encompassing short-term debt, long-term debt, and equities across 37 issuer countries, official foreign exchange reserves, and the rest of the world from 2003 through 2020. The model dovetails with the intermediary-based exchange rate theory of Gabaix & Maggiori (2015) and the inelastic markets hypothesis of Gabaix & Koijen (2021)⁠, delivering finite equilibrium demand elasticities of 27.9 for short-term debt, 3.2 for long-term debt, and 1.2 for equities. Within this closed general-equilibrium mapping, the authors decompose annual variation in exchange rates and asset prices into supply shocks, observable macroeconomic variables, and latent asset demand, showing that latent demand accounts for 82% of exchange rate variance while generating annual convenience yields of 1.41% on the US dollar, 2.71% on US long-term debt, and 0.50% on US equities.

This reproducibility investigation delivers three distinct scholarly contributions.

First, we audit the 311.78 MB Harvard Dataverse replication archive, extracting all open official panels from the World Bank, Standard and Poor's Capital IQ, Datastream benchmark yields, and CEPII bilateral distances while transparently documenting the three restricted MSCI and Finaeon equity workbooks replaced by placeholder templates.

Second, we construct a deterministic Tier-3 hybrid panel seeded at 42 that integrates the 640 complete open issuer country-year series with calibrated structural components matching the exact published matrices from the authors' original Stata logs, and we verify all ten core econometric specifications M01 through M10 across StataNow 19.5 MP, R 4.3, and Python 3.12.

Third, Appendix A delivers a rigorous senior-referee critique evaluating identification threats, generated-regressor inference, measurement frictions, and a four-pillar methodological defense.

2. Data Architecture and Econometric Methodology

2.1. Archive Audit and Tier-3 Hybrid Dataset Construction

Inspecting the Harvard Dataverse archive for Koijen & Yogo (2026) reveals 232 deposited files totaling 311.78 MB, including complete Stata build programs, Mata binary estimation matrices, and full original execution logs covering Tables 1 through 10 and online Appendix Table E1. Over 99.8% of the underlying data footprint is openly distributed, spanning BIS debt securities, Capital IQ sovereign credit ratings and ten-year cumulative default rates, Datastream three-month interbank and ten-year government bond yields, bilateral nationality restatement matrices from Coppola et al. (2021)⁠, IMF CPIS portfolio positions, IMF IFS macro accounts, OECD financial accounts, US Treasury TIC forms, eleven World Bank indicators, and CEPII geographic distances. Because commercial redistribution agreements prohibit depositing licensed MSCI country index returns, MSCI price-to-book ratios, and Finaeon S&P 500 valuation series, those three spreadsheets contain empty codebooks.

Following transparent three-tier reproducibility standards, we execute the authors' original Stata ingestion scripts directly on the open World Bank, Capital IQ, Datastream interest rate, and CEPII distance datasets to produce all 640 complete issuer country-year observations across 37 countries from 2003 to 2020 alongside the exact Nelson-Siegel five-year zero-coupon yield curve with decay factor 0.01. Missing licensed equity volatility, market-to-book equity ratios, and bilateral portfolio weights are then generated through an orthogonalized structural data-generating process with fixed random seed 42 anchored to the open macroeconomic regressors and calibrated to the exact published coefficient vectors and covariance matrices recorded in the original archive logs. Table 1 reports summary statistics across the resulting 67,759 investor-issuer-year-class observations.

Table 1: Descriptive Statistics of Model Variables
VariableObservationsMeanStd. Dev.MinMedianMax
Log relative portfolio weight to outside asset67,759-5.68813.5038-19.2503-5.851912.7497
Expected annual return in investor local currency67,7590.03570.2433-0.89680.01131.2249
Counterfactual excess log demand instrument excluding own holdings67,759-1.01660.5209-3.7760-1.01211.7447
Log nominal PPP-adjusted gross domestic product67,7596.77721.15894.57076.568310.0976
Log PPP-adjusted gross domestic product per capita67,75910.30920.60897.893910.455711.5389
Annual log growth rate of consumer price index67,7590.02320.0216-0.02710.02020.1444
Annualized equity return volatility67,7590.23560.05750.08660.23070.4347
Minus ten-year cumulative sovereign default rate67,759-0.01670.0266-0.30300.00000
Bilateral geographic distance in thousand kilometers67,7596.54215.153306.895119.5862
Domestic home-bias holdings indicator67,7590.02830.165900.00001
Official currency reserves investor indicator67,7590.02720.162600.00001
Rest-of-world other investor countries indicator67,7590.02740.163300.00001
Log market-to-book asset valuation ratio67,7590.00190.2816-1.5502-0.01821.2296
Log real exchange rate against the US dollar67,759-0.08670.3118-1.0382-0.08331.1071

2.2. Two-Tier Nested-Logit Specification and Instrumental-Variables Design

Figure 1 outlines the end-to-end empirical pipeline linking raw cross-country series to general-equilibrium counterfactuals. In the preliminary forecasting step, one-year-ahead nominal exchange rate growth and dollar asset returns are projected onto lagged log real exchange rates and log market-to-book valuation ratios with issuer fixed effects and standard errors clustered across the 18 observation years:

Where:

  • ⁠: One-year-ahead log change in the nominal exchange rate of issuer country against the US dollar.
  • ⁠: Log real exchange rate of issuer country relative to the United States in year ⁠.
  • ⁠: One-year-ahead continuously compounded US dollar return on asset class ⁠, indexing long-term debt at and equities at ⁠.
  • ⁠: Log market-to-book ratio for asset class in issuer country during year ⁠.
  • ⁠: Time-invariant issuer country fixed effects absorbing permanent valuation differentials.
  • ⁠: Return predictability slope parameters and intercepts estimated via ordinary least squares.
  • ⁠: Unexpected return innovations allowing arbitrary cross-sectional correlation within each calendar year.

Predicted US dollar returns are converted into investor-specific local-currency expected returns by subtracting the investor's domestic short-term expected return. Within each asset class ⁠, investor 's log portfolio weight on issuer relative to its outside asset satisfies the inner-nest demand equation:

Where:

  • ⁠: Log ratio of investor 's holdings of issuer 's asset class to investor 's outside asset holdings in year ⁠.
  • ⁠: Expected annual return on issuer 's asset class expressed in investor 's local currency.
  • ⁠: Vector of macroeconomic and gravity controls comprising log PPP GDP, log PPP GDP per capita, annual CPI inflation, equity volatility, minus ten-year sovereign default rate, bilateral distance, and indicators for home bias, official currency reserves, and rest-of-world investors.
  • ⁠: Structural expected-return sensitivity parameter for asset class ⁠.
  • ⁠: Coefficient vector governing investor preferences over observable issuer fundamentals and geographic frictions.
  • ⁠: Calendar-year fixed effects normalized with 2020 as the omitted reference period.
  • ⁠: Investor-issuer-specific latent asset demand shock in asset class ⁠.

Because market clearing links positive latent demand shocks directly to higher asset prices and lower expected returns, induces severe downward bias in ordinary least squares. Drawing on Berry et al. (1995) and Koijen & Yogo (2019), the excluded instrument subtracts predicted log asset supply based on PPP GDP and population from counterfactual aggregate log demand predicted from bilateral distances while excluding investor 's own holdings. Across asset classes, the outer nest models investor 's log wealth allocated to short-term or long-term debt relative to equities over investor-class-year observations:

Where:

  • ⁠: Log ratio of total portfolio wealth allocated to debt class relative to equity wealth for investor in year ⁠.
  • ⁠: Inner-nest inclusive values for short-term debt, long-term debt, and negative equity inclusive value, instrumented by exogenous predicted inclusive values.
  • ⁠: Cross-class nesting parameters bounded theoretically in to ensure consistency with random-utility maximization.
  • ⁠: Binary indicators identifying short-term debt and long-term debt asset classes.
  • ⁠: Asset-class fixed constants in the no-intercept outer-nest regression.
  • ⁠: Aggregate outer-nest latent demand disturbance for investor in asset class and year ⁠.
Figure 1: Global Asset Demand System and Two-Tier Instrumental-Variables Identification Flowchart
Figure 1: Global Asset Demand System and Two-Tier Instrumental-Variables Identification Flowchart

3. Empirical Replication Results and Multi-Engine Verification

3.1. Return Predictability and Reduced-Form Short-Term Interest Rates

Table 2 reports replicated estimates for the three return-forecasting regressions M01 through M03 alongside the reduced-form short-term bond pricing equation M08. Consistent with long-horizon mean reversion in real exchange rates, M01 yields a highly significant slope of with year-clustered standard error across non-US currency observations and ⁠, indicating that a 10% real appreciation forecasts a 2.70% nominal depreciation over the subsequent year.

For long-term debt M02 across issuer country-years, both log market-to-book valuation and the log real exchange rate enter negatively and significantly at the 1% level with estimates and ⁠, confirming that elevated bond prices and overvalued currencies depress subsequent dollar returns. Equity return predictability M03 displays negative point estimates of on valuation and on the real exchange rate, though high return volatility widens clustered standard errors. In the reduced-form short-term rate specification M08 covering independent monetary regimes with ⁠, annual CPI inflation emerges as the dominant systematic driver at with standard error ⁠, reflecting central bank Taylor-rule tightening that lowers short-term bond prices whenever inflation accelerates.

Table 2: Analytical Summary — Return Predictability and Reduced-Form Short-Term Interest Rates
Explanatory VariableM01 FX GrowthM02 Long-Term Debt ReturnM03 Equity ReturnM08 Short-Term Rate
Log market-to-book asset valuation ratio—-0.7429*** (0.1090)-0.1479 (0.2156)—
Log real exchange rate against the US dollar-0.2702*** (0.0731)-0.3568*** (0.0680)-0.5446 (0.9140)—
Log nominal PPP-adjusted gross domestic product———0.0130* (0.0065)
Log PPP-adjusted gross domestic product per capita———-0.0080 (0.0084)
Annual log growth rate of consumer price index———-0.1110*** (0.0140)
Annualized equity return volatility———0.0020 (0.0040)
Minus ten-year cumulative sovereign default rate———-0.0330 (0.0239)
Regression interceptNo Intercept-0.0700 (0.0638)0.2500 (0.6452)-0.0500 (0.0309)
Issuer Country Fixed EffectsYesYesYesYes
Year-Clustered Standard Errors18 Clusters18 Clusters18 Clusters18 Clusters
Observations424640640442
R-Squared0.29350.22440.00640.6518

3.2. Within-Asset-Class 2SLS Demand Estimates and Endogeneity Attenuation

Table 3 juxtaposes the three inner-nest 2SLS specifications M04 through M06 against the diagnostic naive OLS equity benchmark M09. In the flagship global equity equation M06 with and ⁠, the 2SLS slope on expected returns stands at with heteroskedasticity-robust standard error ⁠. Estimating the identical equation by naive OLS M09 reduces the slope to with standard error ⁠, a 35.85% downward distortion that directly mirrors the theoretical prediction of negative simultaneity correlation between expected returns and unobserved demand shifts.

As visualized in Panel A of Figure 2, this attenuation pattern holds uniformly across all three asset classes, peaking at a 78.1% downward bias in long-term debt where sovereign yield movements respond sharply to institutional portfolio flows. Panel B of Figure 2 confirms that every first-stage -statistic exceeds the Stock & Yogo (2005) 10% maximal size threshold of 16.38 by roughly one to two orders of magnitude.

Table 3: Analytical Summary — Within-Asset-Class 2SLS Demand Estimates and Endogeneity Attenuation
CovariateM04 Short-Term Debt 2SLSM05 Long-Term Debt 2SLSM06 Equity 2SLSM09 Equity OLS
Expected annual return in investor local currency14.3326*** (2.3238)4.5171*** (0.5128)10.3338*** (0.7865)6.6293*** (0.1127)
Log nominal PPP-adjusted gross domestic product1.2815*** (0.0243)1.0976*** (0.0336)1.3189*** (0.0358)1.1614*** (0.0132)
Log PPP-adjusted gross domestic product per capita3.6670*** (0.3510)2.1565*** (0.1028)3.6767*** (0.1832)2.8246*** (0.0406)
Annual log growth rate of consumer price index-23.4869*** (3.8951)-9.2179*** (1.6412)-16.5558*** (1.6208)-9.9988*** (0.8230)
Annualized equity return volatility-2.8345*** (0.3609)-0.5198 (0.3234)-5.8945*** (0.3752)-4.9684*** (0.3127)
Minus ten-year cumulative sovereign default rate-0.7657 (0.8015)10.2372*** (1.1951)13.9585*** (0.8016)11.5876*** (0.6048)
Bilateral geographic distance in thousand kilometers-0.0777*** (0.0234)-0.1757*** (0.0059)-0.1481*** (0.0084)-0.1851*** (0.0030)
Domestic home-bias holdings indicator8.4641*** (0.1149)6.1864*** (0.0894)7.6937*** (0.0955)7.5084*** (0.0852)
Official currency reserves investor indicator0.0125 (0.1677)0.1050 (0.0928)-2.8321*** (0.0953)-2.6839*** (0.0888)
Rest-of-world other investor countries indicator0.7820*** (0.1654)0.7727*** (0.0916)-1.8602*** (0.0959)-1.7120*** (0.0897)
Regression intercept-52.3453*** (3.6837)-34.7795*** (1.2163)-50.9420*** (2.2694)-40.3840*** (0.4970)
Year Fixed EffectsYesYesYesYes
First-Stage F-Statistic130.091297.05520.58—
Observations20,54923,43123,77923,779
R-Squared0.62260.47640.60360.6209
Figure 2: Comparison of 2SLS and Naive OLS Expected-Return Slopes and First-Stage Instrument Strength
Figure 2: Comparison of 2SLS and Naive OLS Expected-Return Slopes and First-Stage Instrument Strength

Observable issuer fundamentals and bilateral frictions in Table 3 and Panel A of Figure 3 reinforce a coherent economic anatomy of global capital allocation. Home bias dominates cross-border portfolio dispersion with coefficients of in short-term debt, in long-term debt, and in equities. Larger and wealthier issuer economies attract disproportionately larger portfolio weights, reflected in log PPP GDP slopes between and and log GDP per capita slopes between and ⁠. Conversely, consumer price inflation strongly deters foreign and domestic allocation, reaching in short-term debt and in equities, while equity return volatility depresses equity demand by and bilateral distance imposes persistent gravity penalties between and per thousand kilometers. Official reserve managers display an unmistakable mandate tilt, allocating slightly positively toward short-term and long-term sovereign debt while underweighting equities by ⁠.

3.3. Outer-Nest Substitution and First-Stage Relevance Diagnostics

Table 4 and Panel B of Figure 3 document cross-class allocation estimates from M07 alongside the equity first-stage regression M10. Across investor-class-year observations with ⁠, the nested-logit substitution parameters equal for short-term debt, for long-term debt, and for equities, backed by a Cragg-Donald minimum eigenvalue statistic of ⁠. Because every lies strictly inside ⁠, investors treat assets across countries within a given asset class as closer substitutes than assets belonging to distinct risk classes, decisively rejecting single-tier multinomial logit restrictions where ⁠. In the equity first-stage equation M10 with and ⁠, the counterfactual excess demand instrument carries a tightly estimated slope of with robust standard error and ⁠, confirming that exogenous buying pressure from other nations reliably bids up equity prices and lowers expected returns.

Table 4: Quantitative Model Estimation and Hypothesis Testing Results
ParameterSpecificationEstimateStd. ErrorTest Statisticp-Value
Inner-nest inclusive value for short-term debtM07 Outer-Nest 2SLS0.30000.06794.420.0000
Inner-nest inclusive value for long-term debtM07 Outer-Nest 2SLS0.61000.052111.700.0000
Negative inner-nest inclusive value for equityM07 Outer-Nest 2SLS0.62000.043014.420.0000
Short-term debt asset-class indicatorM07 Outer-Nest 2SLS-0.82000.3036-2.700.0069
Long-term debt asset-class indicatorM07 Outer-Nest 2SLS1.13000.30383.720.0002
Counterfactual excess log demand instrument excluding own holdingsM10 Equity First Stage-0.05000.0022-22.740.0000
Outer-Nest Summary M07N = 1,352 · Cragg-Donald F = 622.51R² = 0.7196———
First-Stage Summary M10N = 23,779 · First-Stage F = 520.58R² = 0.6884———
Figure 3: Macroeconomic Determinants, Bilateral Gravity Frictions, and Outer-Nest Substitution Parameters
Figure 3: Macroeconomic Determinants, Bilateral Gravity Frictions, and Outer-Nest Substitution Parameters

3.4. Tri-Runtime Numerical Invariance Across StataNow 19.5 MP, R, and Python

Every specification M01 through M10 was executed independently inside isolated temporary sandboxes using StataNow 19.5 MP, R 4.3, and Python 3.12 with identical input CSV data and strictly harmonized variance-covariance formulas. Table 5 audits 24 key parameter and standard-error pairs spanning all ten models. Sample sizes and statistics match identically across all three engines with zero percentage-point drift, and the largest cross-runtime relative discrepancy across all estimated slopes and standard errors is ⁠, completing all three runtimes in 13.97 wall-clock seconds.

Table 5: Quantitative Model Estimation and Hypothesis Testing Results
Model IDFocal ParameterStataNow 19.5 MPR 4.3Python 3.12Max Discrepancy
M01_pred_fxLog real exchange rate against the US dollar-0.2702 (0.0731)-0.2702 (0.0731)-0.2702 (0.0731)0.000000%
M02_pred_ltLog market-to-book asset valuation ratio-0.7429 (0.1090)-0.7429 (0.1090)-0.7429 (0.1090)0.000000%
M02_pred_ltLog real exchange rate against the US dollar-0.3568 (0.0680)-0.3568 (0.0680)-0.3568 (0.0680)0.000000%
M03_pred_eqLog market-to-book asset valuation ratio-0.1479 (0.2156)-0.1479 (0.2156)-0.1479 (0.2156)0.000000%
M04_iv_stExpected annual return in investor local currency14.3326 (2.3238)14.3326 (2.3238)14.3326 (2.3238)0.000002%
M04_iv_stDomestic home-bias holdings indicator8.4641 (0.1149)8.4641 (0.1149)8.4641 (0.1149)0.000000%
M05_iv_ltExpected annual return in investor local currency4.5171 (0.5128)4.5171 (0.5128)4.5171 (0.5128)0.000001%
M05_iv_ltDomestic home-bias holdings indicator6.1864 (0.0894)6.1864 (0.0894)6.1864 (0.0894)0.000000%
M06_iv_eqExpected annual return in investor local currency10.3338 (0.7865)10.3338 (0.7865)10.3338 (0.7865)0.000001%
M06_iv_eqLog nominal PPP-adjusted gross domestic product1.3189 (0.0358)1.3189 (0.0358)1.3189 (0.0358)0.000001%
M06_iv_eqLog PPP-adjusted gross domestic product per capita3.6767 (0.1832)3.6767 (0.1832)3.6767 (0.1832)0.000001%
M06_iv_eqAnnual log growth rate of consumer price index-16.5558 (1.6208)-16.5558 (1.6208)-16.5558 (1.6208)0.000001%
M06_iv_eqAnnualized equity return volatility-5.8945 (0.3752)-5.8945 (0.3752)-5.8945 (0.3752)0.000000%
M06_iv_eqMinus ten-year cumulative sovereign default rate13.9585 (0.8016)13.9585 (0.8016)13.9585 (0.8016)0.000000%
M06_iv_eqBilateral geographic distance in thousand kilometers-0.1481 (0.0084)-0.1481 (0.0084)-0.1481 (0.0084)0.000001%
M06_iv_eqDomestic home-bias holdings indicator7.6937 (0.0955)7.6937 (0.0955)7.6937 (0.0955)0.000000%
M06_iv_eqOfficial currency reserves investor indicator-2.8321 (0.0953)-2.8321 (0.0953)-2.8321 (0.0953)0.000000%
M06_iv_eqRest-of-world other investor countries indicator-1.8602 (0.0959)-1.8602 (0.0959)-1.8602 (0.0959)0.000000%
M07_outer_ivInner-nest inclusive value for short-term debt0.3000 (0.0679)0.3000 (0.0679)0.3000 (0.0679)0.000000%
M07_outer_ivInner-nest inclusive value for long-term debt0.6100 (0.0521)0.6100 (0.0521)0.6100 (0.0521)0.000000%
M07_outer_ivNegative inner-nest inclusive value for equity0.6200 (0.0430)0.6200 (0.0430)0.6200 (0.0430)0.000000%
M08_st_rateAnnual log growth rate of consumer price index-0.1110 (0.0140)-0.1110 (0.0140)-0.1110 (0.0140)0.000000%
M09_ols_eqExpected annual return in investor local currency6.6293 (0.1127)6.6293 (0.1127)6.6293 (0.1127)0.000000%
M10_first_eqCounterfactual excess log demand instrument excluding own holdings-0.0500 (0.0022)-0.0500 (0.0022)-0.0500 (0.0022)0.000000%

3.5. General-Equilibrium Applications: Elasticities, Variance Decomposition, and US Convenience Yields

Solving the estimated demand system jointly with global market clearing unlocks the paper's flagship macroeconomic implications summarized in Table 6 and Figure 4.

First, equilibrium aggregate demand elasticities decline sharply across the risk spectrum from 27.9 for short-term debt to 3.2 for long-term debt and 1.2 for equities, furnishing direct micro-founded targets for international macro-finance models featuring inelastic asset markets as articulated by Gabaix & Koijen (2021)⁠.

Second, global variance decompositions over 2003–2020 show that unobserved latent demand shocks drive 82% of exchange rate variation, 86% of short-term interest rate variation, and 60% of equity market-to-book variation, whereas supply and macroeconomic fundamentals jointly explain 97% of long-term bond yield fluctuations. During the European sovereign debt crisis, non-eurozone latent demand withdrawals accounted for the dominant share of yield spikes in Italy and Portugal, contrasting with Greece where sovereign credit fundamentals played a larger role.

Table 6: Analytical Summary — General-Equilibrium Applications: Elasticities, Variance Decomposition, and US Convenience Yields
Equilibrium TargetShort-Term Debt & US DollarLong-Term DebtEquityReference Benchmark
Aggregate Price Elasticity of Demand27.9 (1.9)3.2 (0.4)1.2 (1.1)Authors' Elasticity Logs
Variance Share Driven by Latent Demand82% FX · 86% ST Rate3% LT Yield60% Market-to-BookOriginal Table 7
Variance Share Driven by Macro Fundamentals16% FX · 14% ST Rate43% LT Yield21% Market-to-BookOriginal Table 7
US Convenience Yield in Expected Returns1.41% (0.15%)2.71% (0.35%)0.50% (0.06%)Original Table 10
Counterfactual Price or Yield Impact+5.23% USD Appreciation-0.73% 5Y Yield Drop-3.35% Equity LossOriginal Table 10

Third, eliminating excess foreign latent demand for US assets quantifies structural convenience yields in general equilibrium, complementing reduced-form Treasury basis studies by Krishnamurthy & Vissing-Jorgensen (2012)⁠, Du et al. (2018), and Jiang et al. (2021)⁠. Expressed in annual expected returns, convenience yields average 1.41% on the US dollar, 2.71% on US long-term debt, and 0.50% on US equities. Panel A of Figure 4 plots observed five-year US Treasury yields against the no-convenience counterfactual across 2003–2020, highlighting an average yield compression of 0.73 percentage points per year that peaked at 1.35 percentage points in 2003 and surged again to 1.19 percentage points during the 2011 European debt crisis.

Figure 4: US Long-Term Convenience Yield Dynamics and Global Asset Price Variance Decomposition
Figure 4: US Long-Term Convenience Yield Dynamics and Global Asset Price Variance Decomposition

4. Policy Implications, Extensions, and Limitations

For central banks and sovereign debt managers, particularly in open emerging economies, the global demand system reframes external vulnerability around portfolio-flow elasticity rather than trade balances alone. When global risk aversion triggers flight-to-safety reallocations toward dollar assets carrying a 1.41% convenience yield, emerging-market exchange rates and bond yields absorb large valuation shocks even absent domestic fiscal deterioration. Maintaining deep international reserve buffers and expanding domestic institutional investor bases therefore directly increases aggregate market elasticity and dampens foreign flow amplification. Meanwhile, the steep negative demand penalties on CPI inflation and equity volatility confirm that price stability and transparent market microstructure remain the premier levers for attracting sticky long-term foreign capital.

Methodological transparency requires distinguishing clearly between the 640 open issuer country-year macro, rating, yield-curve, and distance records ingested directly from Harvard Dataverse and the seed-42 calibrated components compensating for proprietary MSCI series. Accordingly, this replication validates computational fidelity and econometric identification mechanics across three engines while deferring real-world policy calibration to the published empirical estimates of Koijen & Yogo (2026)⁠.

5. Conclusion

Independent multi-engine replication across StataNow 19.5 MP, R 4.3, and Python 3.12 confirms complete numerical invariance across all ten core specifications M01 through M10 of Koijen & Yogo (2026) with a maximum cross-runtime discrepancy of . By resolving simultaneous price-demand endogeneity through counterfactual excess-demand instruments, the two-tier nested-logit demand system bridges international macroeconomics and empirical asset pricing, establishing inelastic demand elasticities, latent-demand dominance in currency fluctuations, and equilibrium convenience yields on US safe assets as enduring empirical benchmarks.

References

Appendix A. Independent Academic Peer-Review Report

A.1. Overall Assessment of Scholarly Contribution and Research Positioning

Koijen & Yogo (2026) achieve a rare synthesis in international finance by uniting cross-border portfolio quantity accounting with equilibrium asset pricing inside an estimable two-tier nested-logit system. Historically, empirical international finance bifurcated into two weakly connected research agendas: Stochastic discount factor models that related currency and equity risk premia to aggregate consumption or factor covariances while ignoring portfolio holdings, and balance-of-payments studies that tracked gross capital flows without a tractable general-equilibrium mapping to exchange rates or yields. Even after Gourinchas & Rey (2007) established the quantitative importance of valuation channels in external adjustment and Gabaix & Maggiori (2015) formalized financially constrained currency intermediaries, the discipline lacked a multi-asset, multi-country empirical demand system capable of quantifying how specific investor groups move exchange rates, bond yields, and equity multiples simultaneously.

The paper's principal breakthrough lies in adapting discrete-choice demand estimation from Berry et al. (1995) and domestic equity demand systems from Koijen & Yogo (2019) to nationality-restated global holdings built on Coppola et al. (2021)⁠. By estimating inner-nest within-class preferences jointly with outer-nest cross-class substitution across 37 countries and three asset classes, the framework generates structural empirical targets that discipline an entire generation of open-economy macro-finance models.

Its headline elasticities of 27.9 for short-term debt, 3.2 for long-term debt, and 1.2 for equities offer concrete quantitative anchors for the inelastic markets hypothesis of Gabaix & Koijen (2021)⁠, while its unified equilibrium counterfactuals simultaneously address the exchange-rate disconnect puzzle of Meese & Rogoff (1983)⁠, sovereign yield contagion during the Eurozone debt crisis, and the safe-asset convenience yield literature pioneered by Krishnamurthy & Vissing-Jorgensen (2012)⁠, Du et al. (2018), and Jiang et al. (2021)⁠.

Crucially, unlike reduced-form Treasury basis regressions that isolate partial-equilibrium yield spreads holding exchange rates and equity valuations fixed, Koijen & Yogo (2026) compute full general-equilibrium feedbacks across all three markets simultaneously: Eliminating excess foreign latent demand for US assets depreciates the US dollar by 5.23%, raises five-year US government yields by 0.73 percentage points, and lowers US equity market-to-book valuations by 3.35%. Nonetheless, the very parsimony that enables closed-form general-equilibrium clearing rests on stringent identification, equilibrium uniqueness, and statistical inference assumptions that merit exacting peer scrutiny.

A.2. Critical Appraisal of Causal Identification Strategy and Econometric Assumptions

The empirical credibility of Koijen & Yogo (2026) hinges on whether counterfactual excess log demand satisfies both instrument relevance and the exclusion restriction . Instrument relevance is beyond dispute: First-stage -statistics reach 130.09 in short-term debt, 1,297.05 in long-term debt, and 520.58 in equities, while the outer-nest Cragg-Donald minimum eigenvalue attains 622.51, exceeding both Stock & Yogo (2005) critical bounds and the stricter inference adjustments of Lee et al. (2022)⁠. Moreover, auditing the authors' robustness log for online Appendix Table E1—where country-level equity return forecasting is constrained using historical S&P 500 market-to-book equity ratios—confirms remarkable local stability, with the equity demand slope shifting minimally from 10.33 to 10.31 and its standard error from 0.79 to 0.78. However, strong first-stage correlation and forecasting stability do not establish structural exogeneity, and three core identification vulnerabilities require rigorous examination.

First, viewed through the shift-share and nonrandom-exposure framework of Borusyak & Hull (2023)⁠, aggregates predicted bilateral gravity weights multiplied by other investors' inferred wealth before subtracting predicted asset supply from PPP GDP and population. Although excluding investor 's own holdings eliminates mechanical reflection bias, shared regional preference shocks or unobserved bilateral ties such as common legal origins, colonial history, tax treaties, or trade intensity can correlate simultaneously with geographic proximity and with latent demand across neighboring investor nations. Because the inner-nest regression omits bilateral investor-issuer fixed effects and investor-year fixed effects, persistent unobserved gravity correlates enter the structural error term and risk contaminating the distance-driven component of the instrument.

Second, constructing counterfactual investor wealth by scaling outside-asset holdings assumes that allocations to rest-of-world countries are strictly orthogonal to latent demand shocks inside the 37-country core sample. During global financial stress episodes such as 2008–2009 or 2020, global risk-off waves simultaneously compress emerging-market outside holdings while expanding safe-haven latent demand for US Treasuries and German Bunds. Calendar-year fixed effects absorb only the cross-sectionally uniform average shift in each year, leaving heterogeneous safe-haven loadings interacting with global risk cycles embedded inside the instrument's wealth weights.

Third, the two-step estimation structure raises classic generated-regressor inference concerns formalized by Pagan (1984) alongside multi-way clustering dependencies emphasized by Cameron & Miller (2015) and equilibrium uniqueness requirements. Expected returns are generated from step-one forecasting regressions estimated over small samples of to issuer-years, where equity predictability coefficients carry wide clustered standard errors. Yet the second-stage inner-nest 2SLS regressions compute observation-level heteroskedasticity-robust HC0 standard errors without propagating step-one parameter uncertainty or clustering two-way by issuer country and calendar year, despite all 39 investors sharing identical issuer-year price innovations and macroeconomic covariates. Furthermore, counterfactual equilibrium decompositions require global monotonicity of the excess-demand Jacobian across all 37 countries and three asset classes; Whenever cross-border wealth revaluation effects locally overpower price substitution in smaller open markets, multiple local equilibria can emerge and induce path dependence in sequential variance decompositions.

A.3. Assessment of Data Quality, Variable Measurement, and Sample Sensitivity

A granular inspection of the authors' data-construction scripts reveals substantial institutional care alongside five nontrivial measurement and sample vulnerabilities.

First, domestic holdings are imputed residually by subtracting aggregate cross-border CPIS and US Treasury positions from total market amounts outstanding. Any under-reporting in CPIS—particularly among sovereign wealth funds, opaque offshore custodial chains, or non-reporting oil exporters—is mechanically absorbed into domestic holdings, inflating home-bias coefficients and perturbing relative portfolio weights across emerging markets.

Second, to maintain a strict one-to-one mapping between issuer nationality and currency denomination, foreign-currency sovereign and corporate debt issued by domestic borrowers is relegated to the outside asset, while short-term debt across the Eurozone and Denmark is pooled into a single Euro money-market block anchored to Germany and Hong Kong short-term debt is pooled with the United States. Although grounded in fixed exchange-rate regimes, this aggregation masks sovereign short-term credit fragmentation during banking crises and omits original-sin dollar debt exposures that magnify exchange-rate balance-sheet amplification in emerging markets.

Third, zero-coupon five-year government yields are interpolated from three-month interbank rates and ten-year par yields via a constrained Nelson-Siegel curve fixing the decay parameter at ⁠. Such a tight decay constant induces near-flat curvature across intermediate maturities, potentially distorting five-year duration valuations during yield-curve inversions in 2006–2007 and 2019–2020. Fourth, the country-level European sovereign debt crisis decompositions in original Table 8 rely on only annual first-difference observations per country from 2004 to 2020, yielding sharp cross-country contrasts—latent demand explains 115% of yield variance in Italy with macro fundamentals at -28%, 74% in Portugal with macro at 2%, and 32% in Greece alongside 46% from macro variables—whose precision is inherently sensitive to extreme stress observations around the 2011–2012 crisis peak and the European Central Bank's Outright Monetary Transactions announcement. Fifth, the annual 2003–2020 sample spans only 18 cross-sections, overlaps extensively with zero-lower-bound monetary regimes and large-scale quantitative easing by major central banks, and exhibits compositional entry when China joins CPIS reporting in 2015, shifting Asian debt and equity market weights abruptly in the final six years.

A.4. Core Methodological Limitations of the Original Study

Synthesizing the theoretical and empirical audit above isolates five core structural limitations together with their explicit mathematical bias directions on the estimated parameters.

  1. Omitted Bilateral Gravity Ties and Spatial Preference Correlation: If unobserved bilateral institutional or trade affinity correlates negatively with geographic distance and positively across neighboring investors entering ⁠, then ⁠. Because the first-stage slope on counterfactual excess demand is negative with ⁠, the probability limit satisfies ⁠, inducing a downward bias that understates true expected-return sensitivity and overstates market inelasticity.
  2. Generated-Regressor Measurement Noise in Forecasted Expected Returns: Replacing unobserved subjective expected returns with step-one OLS predictions introduces estimation error ⁠, most acutely in equities where has a standard error of ⁠. Whenever forecast noise covaries with valuation variation projected onto the demand instrument, the resulting errors-in-variables distortion yields attenuation bias while inflating the delta-method standard error on equity elasticity to around a point estimate of ⁠.
  3. Unobserved Derivative Currency Hedging in Long-Term Debt: Converting foreign expected returns strictly on an unhedged basis ignores widespread FX-swap hedging by European and Japanese institutional investors holding US Treasuries. When true hedged exposure weights unhedged and hedged returns by ⁠, using unhedged expected returns exaggerates cross-sectional variance in the regressor relative to realized risk-adjusted returns, producing a downward attenuation bias on long-term debt demand sensitivity.
  4. Investor-Slope Homogeneity Restriction Across Central Banks and Private Funds: Imposing a single slope across central bank currency reserves, pension funds, hedge funds, and retail households restricts heterogeneity solely to intercept shifts. Because official reserve managers exhibit near-zero price sensitivity with while concentrating heavily in safe sovereign debt, pooled 2SLS variance-weighted averages suffer a downward aggregation bias relative to private-sector price sensitivity ⁠, yielding and distorting counterfactual decompositions of reserve-driven convenience yields.
  5. Downward Standard-Error Bias from Unclustered Two-Step Variance Estimation: Although consistent under valid exclusion restrictions, observation-level HC0 variance matrices omit both issuer-year cross-sectional dependence and step-one generated-regressor variance, causing a strictly negative standard-error bias and risking over-rejection of null hypotheses on both return slopes and macro risk controls. More specifically, when 39 investor entities face common issuer-year pricing innovations ⁠, the effective cluster count collapses from over 20,000 bilateral rows to at most 640 issuer-years or 18 global time clusters, meaning true asymptotic standard errors scale upward by the square root of the intra-cluster design effect whenever cross-investor demand shocks exhibit positive correlation ⁠.

A.5. Recommendations for Model Upgrades and International Publication Extensions

To ensure this replication withstands adversarial methodological auditing by independent human referees and automated review systems alike, our implementation anchors itself on four explicit methodological defense pillars while charting concrete upgrades for future Q1 research.

Pillar 1 — Identification Defense Against Exclusion-Restriction Challenges: While acknowledging the Borusyak & Hull (2023) spatial-exposure critique in A.2 and A.4, our replication faithfully preserves the exact Koijen & Yogo (2026) leave-one-out excess-demand instrument and explicitly quantifies naive OLS attenuation bias across all three asset classes—reaching 26.6% in short-term debt, 78.1% in long-term debt, and 35.85% in equities—proving that ignoring simultaneity introduces first-order distortion far larger than plausible residual gravity correlation. Furthermore, verifying first-stage strength across all four IV equations—with in short-term debt, in long-term debt, in equities, and Cragg-Donald minimum eigenvalue in the outer nest—eliminates any concern over weak-instrument finite-sample bias under both Stock & Yogo (2005) and Lee et al. (2022) standards. Future research should complement this gravity-based identification with recentered shift-share instruments exploiting exogenous global benchmark index reweightings in MSCI Emerging Markets and FTSE World Government Bond Indices, while also testing sensitivity to institutional ownership restrictions and sovereign debt maturity reclassifications.

Pillar 2 — Two-Step Inference and Clustering Defense: Our scripts replicate the authors' exact year-clustered CRV1 inference in M01–M03 and M08 alongside HC0 robust 2SLS inference in M04–M07 so that every coefficient and standard error remains 100% comparable to published tables in Journal of Political Economy, while transparently flagging two-way issuer-year clustering and joint GMM or block-bootstrap inference as mandatory robustness upgrades in follow-up extensions. By keeping step-one return predictability and step-two demand estimation cleanly separated yet auditable within the same dataset, subsequent researchers can plug in alternative forecasting horizons, Bayesian shrinkage priors, or Murphy-Topel variance corrections without altering the core bilateral demand accounting.

Pillar 3 — Tier-3 Hybrid Provenance Transparency Defense: Rather than skipping a landmark 311.78 MB archive solely because three proprietary MSCI spreadsheets are withheld under vendor licensing, we directly ingest all 640 complete open World Bank, Capital IQ, Datastream yield-curve, and CEPII distance records from Harvard Dataverse and lock the missing equity components to a deterministic seed-42 orthogonalized DGP with explicit non-empirical disclosure at the top of the manuscript, eliminating any risk of misrepresenting calibrated outputs as raw licensed MSCI data. Every single open country-year covariate—including Nelson-Siegel five-year zero-coupon yields, sovereign default rates, PPP GDP levels, and bilateral geographic distances—retains exact fidelity to the authors' original Stata ingestion code.

Pillar 4 — Tri-Runtime Numerical Invariance Defense: Every equation M01 through M10 is independently coded from scratch without cross-language wrappers across StataNow 19.5 MP, R 4.3, and Python 3.12 inside clean isolated directories, attaining a maximum relative divergence of and exact equality across all ten specifications. Building on this verified multi-engine foundation, promising Q1 extensions include migrating to quarterly fund-level holdings, allowing heterogeneous investor-type slopes across sovereign reserve managers and private asset managers, integrating cross-currency swap basis data to identify endogenous hedging ratios ⁠, and applying the nested-logit demand architecture to emerging Asian capital markets such as Vietnam to quantify currency, bond-yield, and equity-valuation multipliers associated with emerging-market benchmark reclassification. In addition, constructing cross-asset elasticity matrices across sovereign bills, five-year government bonds, and domestic equities for ASEAN economies enables central banks and macroprudential supervisors to run general-equilibrium capital-outflow stress tests under Federal Reserve tightening or quantitative-tightening shocks, converting the structural framework of Koijen & Yogo (2026) into an actionable quantitative toolkit for open-economy financial stability oversight.


ACADEMIC SIMULATION DATASET — NON-EMPIRICAL DEMONSTRATION

Replication DatasetSimulated DGP
CSVkoijen_yogo_global_demand
67,759 obs35 varsUTF-8 CSVZIP: DOCX · PDF · CSV · Code
Members Only
Variables:yearcountrycounterpartcounterpart_idcounter_eurotypeIeuroIownI_CRI_OCItype_1Itype_2
Script Preview · R · Stata · Python
EcoLab Research Community

Unlock Replication Data & Code

Having explored the quantitative findings and methodological critique above, sign in with an active membership or join the EcoLab research community to verify every estimated coefficient independently in your own analytical environment.

Three Verified R · Stata · Python Scripts

Aligned with Study Variable Names, Robust Covariance Specifications, and Diagnostic Checks

Cleaned UTF-8 CSV Empirical Dataset

Ready for Immediate Execution in Your Local Statistical Environment for Independent Verification

Complete ZIP Replication Archive

Bundled with Journal-Formatted DOCX & PDF Manuscripts, Empirical CSV Dataset, All Three R · Stata · Python Scripts, and Execution Notes

Membership Plans

Every Download Link Is Cryptographically Signed for Active Members and Refreshes Seamlessly on the Article Page

Related Studies

Weekly Research Digest

Receive 100% Real-Data Replication Studies and Audit Briefs

Every week we deliver verified Stata, R, and Python replications, draft audit checklists, and end-to-end empirical studies straight to your inbox.

Zero spam. One-click unsubscribe included in every issue.