Japanese yen and South Korean won, 1960–1999

Incremental, causal technical analysis documentation

Run python examples/exchange_rate_cointegration.py from a checkout with RTTA installed. The example works offline. To supply another vintage, pass a CSV path with columns year,yen,won and one positive local-currency-per-US-dollar observation per year, in ascending order. The optional --adf-lags changes the stationarity regressions on logs and first differences. The default is one lag with an intercept. Li does not report that lag order or the full stationarity specification. The residual regressions use the paper's zero augmentation lags and omit the intercept.

The included CSV contains the World Bank World Development Indicators series PA.NUS.FCRF for JPN and KOR, sourced to IMF International Financial Statistics. The API snapshot reports a last update of November 11, 2026. Values are annual period averages. Li describes annual market exchange rates and cites IFS without a series key, aggregation rule or vintage. Treat this as a reproduction of the methodology on identifiable historical data. World Bank indicator, CC BY 4.0 · Source observations · Li (2021), sections 3–4

Direction Calculated slope (SE) Published slope (SE) Calculated / published R² Calculated / published DW Calculated / published residual DF EG p
log won on log yen −1.16639 (.15031) −1.928 (.214) .61310 / .681 .26749 / .336 −3.98233 / −5.671 .00761
log yen on log won −.52564 (.06774) −.353 (.039) .61310 / .681 .25191 / .323 −2.25935 / −7.067 .39400

The script also prints both intercepts, their standard errors, slope t ratios, stationarity results, residual coefficients and their standard errors. It forms all residuals with one final fit for each direction. The residual DF statistic and the EG statistic coincide, but the significance threshold comes from the estimated two-series relationship. The bivariate 5% threshold is −3.49729 for both directions. The CRDW table for 100 observations does not calibrate these 40-year regressions.

The printed residual coefficient/SE ratios in Li are −.552/.079 = −6.987 and −.371/.089 = −4.169. Neither agrees within rounding with its reported residual DF statistic. The tests verify the corresponding identities on the recalculated series. The data vintage and the paper's internal discrepancies leave exact numerical replication unresolved.