Can a systematic, data-driven model outperform the Central Bank's forecast on Brazilian inflation? This project builds and evaluates four regularised machine learning models trained on over 100 macroeconomic indicators — benchmarking their accuracy against the Focus Report, the official market consensus compiled by the Central Bank of Brazil.
Select the model(s) you want to compare.
Inflation forecasting is central to monetary policy, fixed income pricing, and macroeconomic research. In Brazil, the Boletim Focus — a weekly survey of professional economists compiled by the Central Bank — is the dominant benchmark for near-term CPI expectations.
This project asks whether a systematic machine learning approach, trained on a broad set of leading macroeconomic indicators, can produce forecasts competitive with — or superior to — the professional consensus.
Four regularised linear models are trained on 100+ monthly series from the Central Bank of Brazil (BCB) and the Brazilian Institute of Geography and Statistics (IBGE) — covering inflation components, monetary aggregates, credit, fiscal balances, trade and activity indicators.
Each model is evaluated using a strict walk-forward backtest: the model is trained only on data available at the time of the forecast, eliminating any look-ahead bias. Performance is measured by Mean Absolute Error (MAE) against the realised CPI print.
| Model | MAE | RMSE | R² | Obs. |
|---|---|---|---|---|
| Loading metrics… | ||||