Adding a Regression Model to Money Through Time

When I convert Brazilian reais into dollars, I want to understand what might influence the exchange rate. That question led me to add an experimental regression mode to the Money through time chart in Capital Currents.

Capital Currents Money through time chart with experimental exchange-rate regression forecasts
Exploring exchange-rate estimates alongside uncertainty and a flat-rate benchmark.

The model estimates BRL/USD changes over 30 or 90 days using seven signals from five data series:

  • Recent exchange-rate changes: trends over 7, 30, and 90 days.
  • Exchange-rate volatility: how unsettled the past 30 days have been.
  • Broad dollar strength: context for wider currency movements.
  • WTI oil prices: a commodity-market signal.
  • The Brazil–US interest-rate gap: differences in short-term returns.

These are signals to test, not proven explanations. Elections remain visible on the chart as context but are not model inputs.

I chose ridge regression to limit the weight placed on individual signals, especially when they overlap. To evaluate it, the model walks forward through history, training only on observations and outcomes available by each forecast date. Its benchmark is simple: the exchange rate stays unchanged.

In the October 19, 2026 check, the unchanged-rate benchmark had lower average forecast error at both horizons. The regression therefore remains optional and experimental.

The chart shows the estimate, a range based on historical errors, and the benchmark together. The goal is to make currency uncertainty easier to explore—and measure whether the model improves as more evidence arrives.

The Capital Currents product story explains the workspace around this model. For the interface decisions, read data visualization as product design, or explore my independent data products.

Back to Writing