Solving Canada's Inflation 'Price Puzzle': Why a Classical Model Beat Deep Learning at Forecasting CPI
- ▸A new econometric study puts a classical SARIMAX time-series model up against LSTM, GRU, and ensemble machine-learning models on more than 30 years of Canadian CPI data — and the classical model wins on every forecast-accuracy measure.
- ▸Using a Two-Stage Least Squares (2SLS) instrumental-variables fix, the study resolves the decades-old monetary-policy 'price puzzle,' showing the Bank of Canada satisfies the Taylor Principle once its forward-looking rate decisions are properly separated from their delayed effect on prices.
- ▸The model's own forecast has Canada's CPI climbing from an average of 168.5 in 2026 to 173.0 in 2027 with inflation stabilizing near 2.6–2.7% — even as the study warns that a stable inflation rate still leaves permanently higher absolute prices weighing on household budgets.
Canada's Consumer Price Index — the number behind interest-rate decisions, wage negotiations, and government benefit indexing — has spent the past three decades on a mostly one-way climb. A new academic study set out to answer which forecasting method actually predicts it best, testing more than 30 years of monthly data going back to January 1995.
The contest pitted a classical statistical technique — a seasonal ARIMA model with exogenous variables (SARIMAX) — against three more modern machine-learning approaches: an LSTM neural network, a GRU network, and a weighted ensemble of automated models. The classical model won convincingly on every accuracy measure that matters for forecasting, even though the machine-learning models scored marginally higher on a pure statistical fit metric.
Along the way, the study also tackled a decades-old riddle in monetary economics known as the 'price puzzle': simple statistical models often show that when a central bank raises interest rates, prices rise afterward rather than fall — the opposite of what basic economic theory predicts. Using a technique that accounts for the Bank of Canada's own forward-looking behaviour — it often raises rates in anticipation of inflation, not purely in reaction to it — the study shows the puzzle dissolves. Once that anticipation is properly modelled, higher interest rates behave exactly as classical theory expects: they cool inflation over time, and Canada's central bank turns out to be reacting to expected inflation more aggressively than textbook rules typically assume.
Why Canada's CPI number carries so much weight
Statistics Canada compiles the CPI monthly against a base year of 2002 (indexed to 100), tracking prices across 491 elementary product and service aggregates chosen to represent what urban and rural households actually buy. Shelter carries the largest weight in the basket at just over 29%, followed by food (nearly 17%), transportation (just under 17%), and household operations (around 13%), with the remainder split across recreation, clothing, health, and other categories. The index is compiled through a rigorous three-stage sampling process spanning geographic areas, retail outlets, and individual products, and it directly feeds two of the most consequential processes in the Canadian economy: the Bank of Canada's interest-rate decisions, and the statutory indexing of pensions and other public transfer payments.
A classical model beats three AI challengers
The study built four separate forecasting models on the same Canadian CPI and interest-rate data, training each on data through December 2023 and testing its forecasts against 2024–2025 data the model hadn't seen. On every error-based accuracy measure — Root Mean Square Error, Mean Absolute Error, and Mean Absolute Percentage Error — the SARIMAX model came out on top, while the LSTM, GRU, and ensemble models scored progressively worse. The one metric where the pattern flipped was R-squared, a measure of how much of the historical data's variation a model's fit explains: there, the more complex models scored marginally higher. The study reads that combination — weaker forecasts from models with stronger in-sample fit — as a textbook signature of overfitting: the machine-learning models were learning the noise in the training data rather than the CPI's genuine underlying structure, which then hurt them on data they hadn't seen before.
| Model | RMSE | MAE | MAPE | R-squared | ||||
|---|---|---|---|---|---|---|---|---|
| SARIMAX(1 | 1 | 1)(1 | 1 | 1)[12] (winner) | 0.91 | 0.50 | 0.31 | 0.92 |
| GRU | 1.27 | 0.95 | 0.62 | 0.98 | ||||
| Weighted Ensemble (AutoML) | 1.34 | 0.96 | 0.63 | 0.98 | ||||
| LSTM | 1.40 | 1.21 | 1.05 | 0.99 |
The gap is not small. SARIMAX's forecast error (RMSE of 0.91) is roughly a third of LSTM's (1.40), and less than half of GRU's or the weighted ensemble's — a meaningful difference given the CPI index itself moves across a range of roughly 90 to 170 points over the sample period.
Untangling a 30-year-old monetary-policy puzzle
Before building its final forecasting model, the study ran a simpler baseline regression of CPI on lagged interest rates, and got a result that has puzzled economists since the early 1990s: a positive, statistically significant relationship in which higher interest rates appear to precede higher, not lower, inflation. Economists call this the 'price puzzle,' and the usual explanation is not that monetary policy is genuinely counterproductive, but that a naive regression can't distinguish a central bank's own forecast-driven behaviour from the effect of its policy. If the Bank of Canada raises rates today because it expects inflation next quarter, a simple model will see 'rates up, then inflation up' and misread the sequence as causation running the wrong way.
The study's fix uses a Two-Stage Least Squares (2SLS) instrumental-variables approach: it first models the interest rate itself as a function of the forward-looking information a central bank would actually use to set it, producing a 'purged' interest-rate series stripped of that anticipatory component. Feeding this purged rate into the full model instead of the raw policy rate flips the relationship from perverse to expected, and the resulting coefficient implies the Bank of Canada raises interest rates by roughly 4.79 percentage points for every 1 percentage point rise in anticipated inflation — comfortably satisfying the 'Taylor Principle,' the standard benchmark (a feedback ratio above 1) economists use to judge whether a central bank's policy rule is stabilizing rather than destabilizing.
The EconoLens View
What this analysis is really doing is untangling two very different economic stories that look identical in a simple chart: interest rates went up, then prices went up. The first story is reverse causation — the Bank of Canada raises rates because it already expects inflation to rise, so rates and prices move together for reasons that have nothing to do with rates causing inflation. The second story is the real causal chain the paper isolates: once that anticipatory signal is stripped out, a rate increase causes a cooling of domestic demand through the output gap channel, which in turn causes both demand-driven and imported cost-push inflation to decay rather than compound. That decay — a long-run multiplier of 0.157 — is the paper's central cause-and-effect claim: a rate hike today causes measurably lower inflation several months later, not the other way around. The practical upshot is a split verdict: monetary policy is shown to be doing its job on the inflation rate, cooling it toward a stable near 2.6–2.7%, but it has no causal channel back to the price level itself — so the cost-of-living burden from past shocks remains, regardless of how well future rate hikes work.
What comes after 2027, on the model's own numbers
Running the winning SARIMAX model forward, the study projects Canada's CPI climbing from a January 2026 level of about 165.5 to roughly 169.5 by December 2026, then continuing upward to about 174.1 by December 2027. Translated into a year-over-year inflation rate rather than the raw index, that path is far less dramatic: the model expects headline inflation to average around 2.6% in 2026 and to settle near 2.7% in 2027 — essentially flat rather than accelerating. The study is explicit, however, that a stable inflation rate is not the same as a falling price level — on its own numbers, the absolute cost of the same basket of goods keeps climbing permanently higher, even once the rate of increase has stabilized.
Data and the forecasting tournament setup
The study uses monthly Canadian CPI data (Statistics Canada, base year 2002 = 100), the 3-month average interbank interest rate (sourced via the Federal Reserve Bank of St. Louis's FRED database), a Total Commodity Price Index (Bank of Canada's BCPI, base year 1972 = 100), and the Bank of Canada's own output-gap estimate, spanning January 1995 through December 2025. Before any modelling, the authors ran three standard diagnostic checks on the CPI series. A Shapiro-Wilk test rejected normality (p well below 0.01: the series does not follow a bell-curve distribution). A Ljung-Box test rejected the null hypothesis that the series is white noise (p effectively zero), confirming genuine, statistically significant autocorrelation rather than randomness. An Augmented Dickey-Fuller test for stationarity returned a p-value of 0.99 — far too high to reject non-stationarity — confirming the raw CPI series is non-stationary, meaning its statistical properties shift over time rather than staying constant, which most forecasting models assume they won't. To correct this, the authors applied both a first-order non-seasonal difference and a seasonal difference (12 months apart), after which the transformed series tested as stationary. A box plot of the transformed series found no significant outliers.
Four models were then trained on data through December 2023 and evaluated on 2024–2025 data held back for testing: the SARIMAX(1,1,1)(1,1,1)[12] specification described below, an LSTM recurrent neural network, a GRU network, and a weighted ensemble combining multiple automated (AutoML) models. All four were scored on the same four metrics — RMSE, MAE, MAPE, and R-squared.
The instrumental-variables fix for the price puzzle
Before settling on its final specification, the study first estimated a baseline model using the raw, un-instrumented interest rate as a regressor, which produced the classic price-puzzle result: a positive coefficient (β_baseline = 0.4205) implying an estimated price-stickiness duration of 2.38 months — the inverse of the coefficient — before a rate change would show up in prices, a result that, taken at face value, implies higher rates raise rather than lower inflation. Following the kind of approach used in the literature to address this sort of model misspecification, the authors instead constructed a forward-looking monetary-policy reaction function via Two-Stage Least Squares: in the first stage, they model the interest rate as a function of the information available to a forward-looking central bank; in the second stage, they use the fitted, 'purged' interest-rate series — stripped of that anticipatory, endogenous component — as the exogenous regressor inside the full SARIMAX model.
Reading the SARIMAX(1,1,1)(1,1,1)[12] parameter table
| Parameter | Coefficient | Std. Error | p-value |
|---|---|---|---|
| IR_purged (2SLS-instrumented interest rate) | 0.20857 | 0.06903 | 0.0025 |
| CommodityFisher (BCPI commodity index) | 0.00353 | 0.00284 | 0.2132 |
| OutputGap | 0.38891 | 0.05198 | 0.0000 |
| ar.L1 | -0.26474 | 0.38103 | 0.4872 |
| ma.L1 | 0.38347 | 0.36054 | 0.2875 |
| ar.S.L12 | -0.05205 | 0.07902 | 0.5101 |
| ma.S.L12 | -0.80274 | 0.05417 | 0.0000 |
| sigma2 | 0.14077 | 0.01017 | 0.0000 |
Four results stand out. First, the Output Gap coefficient (β = 0.38891, p<0.001) is large, positive, and highly significant — a textbook New Keynesian Phillips Curve result, pointing to domestic economic slack, not global cost pressure, as the dominant, statistically reliable driver of Canadian retail inflation in this specification. Second, the purged interest-rate coefficient (β_Purged_IR = 0.20857, p=0.0025) is positive and significant even after instrumenting — the study reads it through the policy-feedback relationship it implies rather than as a simple pass-through effect: inverting it (1 / 0.2086) gives approximately 4.79, a figure the study interprets as the Bank of Canada's policy-feedback ratio, comfortably above the 1.0 threshold the Taylor Principle requires of a stabilizing monetary-policy rule. Third, the commodity-price regressor (CommodityFisher, β=0.00353, p=0.2132) is statistically insignificant — read not as evidence that Canada is insulated from global commodity shocks, but as evidence that the Bank of Canada's aggressive policy-feedback loop squeezes domestic demand (via the output gap) hard enough to neutralize commodity pass-through before it reaches headline retail prices. Fourth, the seasonal moving-average term (ma.S.L12 = −0.80274, p<0.0001) is large, negative, and highly significant, pointing to a strong annual self-correcting mechanism in Canadian retail pricing — consistent with recurring seasonal patterns such as winter energy-price spikes or harvest-linked food-price swings reversing within about a year.
Because this long-run multiplier sits below 1, the study concludes that an initial interest-rate or cost-push shock does not compound indefinitely — it decays over time, which the authors read as evidence of a monetarily stable system in which the Bank of Canada's policy actions are ultimately self-correcting rather than destabilizing.
How the model was checked for overfitting
| Metric | Training | Testing |
|---|---|---|
| RMSE | 0.944 | 0.595 |
| MAE | 0.356 | 0.502 |
| MAPE | 0.321 | 0.309 |
| R-squared | 0.997 | 0.924 |
A model that fits its training data far better than its test data has memorized rather than learned — the classic overfitting signature the study says explains the machine-learning models' weaker forecast performance despite their higher R-squared. By that standard, the winning SARIMAX specification checks out: its accuracy metrics stay close between training and testing (RMSE moves from 0.944 to 0.595, R-squared from 0.997 to 0.924) rather than collapsing on unseen data the way an overfit model's would. A Ljung-Box test on the model's residuals returned a p-value of 0.9126 — far above the 0.05 threshold — failing to reject the null hypothesis that the residuals are white noise, meaning the model has captured essentially all of the systematic structure in the data, leaving only random, unpredictable noise behind. Visual inspection of the residual autocorrelation (ACF) and partial autocorrelation (PACF) functions, both falling within the 95% confidence bounds at every lag, supports the same conclusion.
Out-of-sample validation against real Statistics Canada data
As a further check, the study compared its own forecasts for the first seven months of 2026 against the actual, officially released Statistics Canada figures for those same months. The model's predictions (165.5, 166.4, 167.3, 167.8, 168.6, 168.9, and 169.3 for January through July) tracked closely against the real released values (165.0, 165.9, 167.4, 168.0, 169.6, 169.0, and 169.9), with every actual reading falling inside the model's 95% forecast interval. The single largest gap between prediction and actual came in May 2026, which the study attributes to a real-world shock outside the model's training data: an escalation in Middle East geopolitical tensions during that period drove up global crude-oil and gasoline prices, which fed through Canada's supply chain into higher transport and grocery costs — exactly the kind of unanticipated external event a model trained purely on historical patterns through 2023 has no way of foreseeing.
The 2026–2027 outlook, month by month
| Month | 2026 Forecast | 2027 Forecast |
|---|---|---|
| January | 165.5 | 170.0 |
| February | 166.4 | 171.0 |
| March | 167.3 | 171.8 |
| April | 167.8 | 172.3 |
| May | 168.6 | 173.1 |
| June | 168.9 | 173.4 |
| July | 169.3 | 173.9 |
| August | 169.3 | 173.8 |
| September | 169.2 | 173.8 |
| October | 169.8 | 174.3 |
| November | 169.9 | 174.4 |
| December | 169.5 | 174.1 |
The projected path is a steady, parallel climb in both years rather than a sudden acceleration: the 2026 monthly index rises from 165.5 in January to 169.5 in December, and the 2027 path shifts the whole curve upward by roughly the same shape, from 170.0 in January to 174.1 in December. Both years share a consistent seasonal fingerprint: prices climb fastest from spring into midsummer, ease slightly through August and September, tick back up in October–November, and fall in a sharp seasonal trough each December.
Translating the index into an inflation rate — and a discrepancy worth flagging
| Month | 2026 vs 2025 | 2027 vs 2026 |
|---|---|---|
| January | 2.60 | 2.72 |
| February | 2.10 | 2.73 |
| March | 2.30 | 2.71 |
| April | 2.71 | 2.69 |
| May | 2.63 | 2.68 |
| June | 2.71 | 2.67 |
| July | 2.69 | 2.67 |
| August | 2.74 | 2.67 |
| September | 2.63 | 2.68 |
| October | 2.70 | 2.67 |
| November | 2.70 | 2.67 |
| December | 2.73 | 2.69 |
Per the source study's own figure, the annual average implied by these monthly figures is 2.60% (SD 0.20) for 2026 and 2.69% (SD 0.02) for 2027. Its concluding narrative text, however, separately states rounder figures of roughly 2.5% for 2026 flattening to roughly 2.3% for 2027 — a discrepancy with its own table that this draft flags rather than silently resolves. The table figures above, being the more granular, directly computed values, are treated as the primary reference here; both years point to a flattening, near-target inflation rate either way, so the discrepancy affects the precise decimal reading of the forecast, not its overall conclusion.
Limitations
The forecast is a statistical projection built from historical trend, seasonal, and estimated policy-feedback patterns; it is not a structural macroeconomic model and cannot anticipate a genuine shock the way a model with explicit supply-and-demand channels might. The paper's own out-of-sample check illustrates this directly: its May 2026 forecast showed the largest deviation from the actual released figure, which the authors attribute to an unanticipated Middle East-linked spike in global crude and gasoline prices during that period — exactly the kind of exogenous event a purely time-series model, however well-fitted to the past, has no mechanism to see coming. The comparison is also specific to one country's inflation series over one historical window and one specific set of preprocessing choices (first-order non-seasonal and seasonal differencing, a training/testing split ending December 2023); a different window or preprocessing choice could plausibly favour a different model.
What EconoLens sees in this result
This is the third installment of a running tournament by overlapping members of this author team, each pitting classical time-series models against machine-learning and deep-learning challengers on a different country's consumer price index: a classical exponential-smoothing model (ETS) won on US CPI-U, a deep-learning LSTM network won on India's CPI-IW, and now a classical SARIMAX model wins on Canada's CPI. Read across all three, the pattern is not 'simple models always beat complex ones' — LSTM's win on India's series rules that reading out — but something narrower and, on the evidence so far, more durable: no single architecture dominates across countries, and each central bank's own inflation series has to be tested on its own terms rather than assumed to inherit whichever model won elsewhere. For an outlet covering economic forecasting across multiple countries, that is arguably the more transferable finding than any single model's win in any single country.
Two of this paper's three authors have direct ties to India: Bhopinder Kambo, a former Deputy Director (Statistics) with India's Ministry of Statistics & Programme Implementation, and Cinde Khagan Rao, a PhD scholar in econometrics at Sri Venkateshwara University in Andhra Pradesh. Kambo previously ran a near-identical SARIMA/ARIMA-versus-machine-learning tournament on India's own Consumer Price Index for Industrial Workers (CPI-IW) — and there, unlike in this Canada study, a deep-learning LSTM model won instead of a classical one. Read together, the two papers carry a direct lesson for India's own inflation-forecasting work at the RBI and MoSPI: whether a simple or a complex model wins is specific to each country's price series, and the Reserve Bank of India faces an analogous identification challenge — separating its own forward-looking repo-rate decisions from their delayed effect on CPI — when assessing how well its flexible inflation-targeting framework is transmitting through the economy.
Frequently Asked Questions
What is the 'price puzzle' in monetary economics?
The price puzzle is a long-standing anomaly first documented in the early 1990s: when researchers use simple statistical models to study how interest rates affect inflation, a rise in interest rates often appears to be followed by higher prices rather than lower ones — the opposite of standard economic theory, which says tighter monetary policy should cool inflation. Economists generally attribute this to model misspecification rather than genuine causation: central banks often raise rates because they expect inflation to rise, so a simple model can mistake the bank's forecast-driven action for the cause of the very inflation it was trying to prevent.
How does a 2SLS instrumental-variables approach fix the price puzzle?
Two-Stage Least Squares (2SLS) addresses the price puzzle by first modelling the interest rate itself as a function of the information a central bank would have used to set it — such as anticipated inflation and economic slack — producing a 'purged' or instrumented interest-rate series that strips out the bank's own forward-looking reaction. When this purged rate is used in the inflation model instead of the raw policy rate, the perverse positive relationship between rates and prices disappears, and the coefficient instead reflects the rate's genuine dampening effect on inflation.
What is the Taylor Principle, and does the Bank of Canada satisfy it?
The Taylor Principle states that for a central bank's interest-rate policy to stabilize inflation, it must raise nominal interest rates by more than one-for-one with any rise in expected inflation — a policy-feedback coefficient greater than 1. This study estimates the Bank of Canada's policy-feedback coefficient at 4.79, comfortably above that threshold, implying the bank raises rates by roughly 4.79 percentage points for every 1 percentage point of anticipated inflation — a policy stance the study characterizes as aggressive rather than merely adequate.
Why did a SARIMAX model outperform LSTM and GRU neural networks at forecasting Canadian inflation?
The study attributes SARIMAX's edge to the nature of the data itself: Canada's CPI is a slow-moving, strongly trending, seasonally regular macroeconomic series with comparatively little short-term noise. A simpler, tightly parameterized model can capture that structure efficiently, while the LSTM, GRU, and ensemble models — with far more parameters to fit — tended to overfit the training data, which showed up as strong in-sample R-squared scores but weaker forecast accuracy (RMSE and MAE) on data the models hadn't seen.
What does the study forecast for Canada's CPI through 2027?
Using the winning SARIMAX(1,1,1)(1,1,1)[12] specification, the study projects Canada's monthly CPI rising from a January 2026 level of about 165.5 to roughly 169.5 by December 2026 (a 2026 annual average of 168.5), then continuing on a similar upward path to reach about 174.1 by December 2027 (a 2027 annual average of 173.0). Both years show the same seasonal shape: prices climbing fastest from spring through midsummer, easing slightly in early autumn, ticking up again in October–November, and dipping each December.
Is Canada's inflation rate expected to keep rising or to stabilize?
The study's year-over-year inflation forecast flattens rather than accelerates: it projects headline inflation averaging around 2.6% across 2026 and roughly 2.7% across 2027, with only small month-to-month variation. In other words, the model expects prices to keep climbing in absolute terms, but the pace of that climb — the inflation rate itself — to hold roughly steady near the Bank of Canada's target range rather than reaccelerating.
What is a long-run multiplier in this kind of model, and why does it matter that Canada's is below 1?
A long-run multiplier measures the cumulative, permanent effect of a one-time shock, such as an interest-rate move, on a variable once all of a model's feedback dynamics have played out. This study calculates Canada's long-run interest-rate multiplier at about 0.157 — well below 1 — meaning an initial cost-push shock does not compound or spiral over time; it decays, consistent with a monetarily stable, well-anchored system rather than one prone to runaway inflation.
Does a model that forecasts inflation well mean interest rates alone can fix the cost of living?
Not according to this study. It draws a distinction between the inflation rate, which its model shows stabilizing, and the absolute price level, which stays permanently higher than its pre-shock baseline, since the model finds no mechanism that pushes the index itself back down. Because interest-rate policy is shown here to be already working as intended on the rate of inflation, the study argues that easing the ongoing burden of elevated prices on households would require targeted fiscal support rather than further monetary tightening.
Primary Sources
Cite This Article
Bhopinder Kambo. (2026, September 22). Solving Canada's Inflation 'Price Puzzle': Why a Classical Model Beat Deep Learning at Forecasting CPI. EconoLens. https://www.econolens.co.in/news/canada-inflation-price-puzzle-sarimax-forecast
Bhopinder Kambo is a former Deputy Director (Statistics) with India's Ministry of Statistics & Programme Implementation, specialising in time-series econometrics and inflation forecasting, with published studies covering India, the United States, and Canada.