NEWStock Market Analysis — Sector Performance Analyzer · Metals & Automobiles deep dives · Global Markets Open →
◆Financial Derivatives — In Progress Please await announcements of new courses and upcoming batches. Course Updates →
The Mountain Path Academy
← Advanced Topics Open the SARIMA Studio ↗
Quantitative Methods · Macro Forecasting · Time Series

Forecasting India's GDP with SARIMA

India's real GDP grew 7.9% in July–September 2026. What do MoSPI's own quarterly numbers imply for the next four quarters? A visual Q&A guide to the seasonal ARIMA model, built step by step on official data, with a back-test, a fan chart and a live interval calculator.

By Prof. V. Ravichandran · The Mountain Path Academy
1 December 2026 · 30–40 minute learning guide · Data: MoSPI quarterly estimates to Q2 FY27 (released 30 November 2026)
Launch SARIMA Studio →Download Excel workbook (.xlsx)Download Python script (.py)Live calculator ↓
THE MOUNTAIN PATH ACADEMY

INDIA GDP SARIMA at a Glance

Two shocks to remember, two differences to take, one honest benchmark to beat.

LATEST ACTUAL
7.9%
real GDP growth in Q2 FY27 (Jul–Sep 2026), ahead of the RBI's 7.2% projection.
SARIMA FORECAST
7.9% / 8.1%
for Q3 and Q4 FY27; implied full-year FY27 growth of about 7.9%.
VERSUS A NAIVE RULE
−51%
one-quarter-ahead RMSE versus the last-observed-growth benchmark, in a retrospective rolling back-test.
12 questions · process flow · 2 charts · live interval calculator · interactive SARIMA Studio · Excel workbook · Python script · official MoSPI data
Start here · The big picture

What are we forecasting, and how? The SARIMA process in one flow

We want India's quarterly real GDP growth for the next four quarters, Q3 FY27 (Oct–Dec 2026) to Q2 FY28 (Jul–Sep 2027), with a range around each number. We use only GDP's own history. That makes this a univariate forecast: it asks how much of the future is already written in the past pattern of the series.

Building the forecast follows a fixed sequence. The right-hand column shows what each step produced on India's data.

1 · DATA
Download quarterly real GDP from MoSPI
2 base-year series
2 · LINK
Join the 2011-12 and 2022-23 base series into one
62 quarters
3 · TRANSFORM
Take logs, one regular and one seasonal difference; flag COVID quarters
d = 1, D = 1
4 · CHOOSE
Rank candidate orders by AIC, then by out-of-sample error
(0,1,1)(0,1,1)₄
5 · CHECK
No significant residual autocorrelation (Ljung–Box test)
p = 0.38 ✓
6 · TEST
Retrospective rolling back-test against a naive rule
RMSE −51% (1 qtr)
7 · FORECAST
Four quarters ahead: median forecasts with 80% and 95% prediction intervals
7.9% next quarter
The model · In brief

What is a SARIMA model?

SARIMA stands for Seasonal AutoRegressive Integrated Moving Average. It is the standard workhorse for quarterly and monthly series that have both a trend and a seasonal pattern, which quarterly GDP has: the economy grows, and some quarters are always larger than others (in the new series, Q4, January–March, is the largest).

SARIMA(p, d, q)(P, D, Q)sFirst bracket: quarter-to-quarter behaviour. Second bracket: the same behaviour one season (a year) apart. For quarterly data, s = 4.
LetterNameWhat it capturesPlain-language reading
pAutoregressive orderDependence on the last p values"This quarter looks like the last one or two."
dDifferencingRemoves the trendModel the change, not the level.
qMoving-average orderDependence on the last q surprises"Part of last quarter's surprise carries over."
PSeasonal AR orderDependence on the value a year ago"This Q3 looks like last year's Q3."
DSeasonal differencingRemoves the seasonal patternCompare with the same quarter last year.
QSeasonal MA orderDependence on the surprise a year ago"Part of last year's same-quarter surprise carries over."
sSeason lengthPeriods per year4 for quarterly, 12 for monthly data.
Two memoriesAR terms remember past values; MA terms remember past surprises. Differencing turns a trending, seasonal level into a stable series that these terms can model.
The model we use

What is the "airline" model, and why does it suit quarterly GDP?

The airline model is SARIMA(0,1,1)(0,1,1)4. Box and Jenkins first fitted it to monthly airline passenger numbers, hence the name. On log GDP it reads:

The COVID dummies enter as regressors on the log level, and the airline structure describes what is left. This is a regression with SARIMA errors, written in two lines:

ln GDPt = β′Xt + ut
(1 − L)(1 − L4) ut = (1 + θL)(1 + ΘL4) εtXt holds the five COVID dummies and β their coefficients. L is the lag operator: L·yt = yt−1. (1 − L4) compares each quarter with the same quarter last year; (1 − L) then takes the change in that growth.

Multiplying out the right-hand side shows every shock that matters:

(1 − L)(1 − L4) ut = εt + θεt−1 + Θεt−4 + θΘεt−5The last term is the interaction: last quarter's echo of the shock from a year and a quarter ago. It costs no extra parameter, because θΘ is fixed by the other two.

After both differences, what is left is roughly the change in year-on-year growth from one quarter to the next. The model explains it with this quarter's surprise, part of last quarter's surprise (θ), part of the surprise from the same quarter a year ago (Θ), and their product at lag 5. Only two ARIMA coefficients are estimated, which makes it robust on short samples.

Why logs?The difference of logs is a growth rate: ln Yt − ln Yt−4 ≈ year-on-year growth. Logs also turn GDP's percentage-sized seasonal swings into additive ones, which ARIMA handles well.
The data

Where does the data come from, and how are two base years joined?

All figures are real GDP at constant prices from MoSPI's National Accounts. In February 2026 MoSPI moved to a new base year, 2022-23. The new series starts only in Q1 FY23, which gives 18 quarters — too few for a seasonal model. Until MoSPI's official back series arrives, we link the old 2011-12 base series (from Q1 FY12) onto the new base.

Linked level = Old level × (New FY23 ÷ Old FY23) for the same quarterApplied to every quarter before FY23. From Q1 FY23 the new series is used as published.
Quarter of the yearLink factor (new ÷ old, FY23)
Q1 (Apr–Jun)1.6206
Q2 (Jul–Sep)1.5535
Q3 (Oct–Dec)1.6828
Q4 (Jan–Mar)1.6180

A separate factor for each quarter matters: the two series have different seasonal shapes, and quarter-specific factors keep every old year-on-year growth rate exactly as MoSPI published it. The result is 62 quarters, Q1 FY12 to Q2 FY27, in ₹ lakh crore at 2022-23 prices. The Excel workbook rebuilds all of this with formulas.

Teaching cautionA linked series is a practical bridge, not official data. When MoSPI releases the back series, swap it in and re-estimate.
Preparing the series

How do we prepare the series — logs, differences and the COVID quarters?

  1. Take logs of real GDP, so that differences become growth rates.
  2. Seasonal difference (D = 1): subtract the same quarter of the previous year. This removes the seasonal pattern.
  3. Regular difference (d = 1): subtract the previous quarter. This removes what is left of the trend.
  4. Flag the COVID quarters. Q1 FY21 (Apr–Jun 2020) fell about 23% year on year, and the rebound in Q1 FY22 showed about 20% growth on that low base. We add a separate dummy variable for each of the five quarters from Q1 FY21 to Q1 FY22, so each absorbs its own one-off shift and the SARIMA terms learn only from normal quarters.
Model selection

Which SARIMA order should we choose?

We estimated every combination of p, q ∈ {0, 1, 2} and P, Q ∈ {0, 1} with d = D = 1, ranked them by the Akaike and Bayesian Information Criteria (AIC, BIC) — which reward fit but penalise extra parameters — and then compared the leaders in the rolling back-test described in the back-test section.

SpecificationAICBICAvg back-test RMSE, h = 1–4 (pp)ARIMA coefficients
(2,1,0)(0,1,0)₄−334.65−318.311.822
(2,1,0)(0,1,1)₄−333.33−314.941.883
(0,1,1)(0,1,1)₄ airline ✓−332.81−316.461.812
(1,1,1)(0,1,1)₄−331.77−313.391.903

The AR(2) specification has the lowest AIC and BIC. In the rolling back-test, the airline model averaged 1.81 percentage points of RMSE across the four horizons, compared with 1.82 for the AR(2). The results are effectively tied at the reported precision. We use the airline model for the worked example because it gives students a compact way to see how recent and seasonal shocks enter the forecast.

What is being counted"ARIMA coefficients" counts only the AR and MA terms. Every specification also estimates five COVID coefficients and the innovation variance σ², so the full fit has eight parameters for the airline model.
Estimation

What did the model estimate?

ParameterEstimateStd. errorp-valueInterpretation
θ₁ (MA, lag 1)−0.2790.1630.088About a quarter of a surprise is reversed the next quarter
Θ₁ (seasonal MA, lag 4)0.1860.1330.163Part of a surprise echoes in the same quarter next year
σ (shock size)0.0113A typical quarterly surprise moves GDP by about 1.1%
COVID: Q1 FY21−0.2770.0070.000Lockdown quarter: about 24% below the model path
COVID: Q2 FY21−0.0730.0130.000Partial recovery: about 7% below path
COVID: Q3 FY21−0.0120.0090.170Close to normal
COVID: Q4 FY210.0040.0090.690Normal
COVID: Q1 FY22−0.0880.0080.000Second wave: about 8% below path
Two practical tipsEstimate with method="bfgs": on a flat likelihood like this one, the default optimiser can stop slightly short of the maximum. And do not read the modest p-values on θ and Θ as "drop them": a forecasting model is judged on its residual diagnostics and out-of-sample record, not on the significance of individual coefficients.
Diagnostics

Is anything left in the residuals?

A good model leaves behind residuals with no remaining pattern. The Ljung–Box test checks the first few residual autocorrelations jointly. A large p-value means we have no significant evidence of autocorrelation at the tested lags; it does not prove the residuals are white noise.

TestStatisticp-valueVerdict
Ljung–Box, 4 lags (one year), 2 degrees of freedom1.920.384No significant residual autocorrelation detected ✓
Ljung–Box, 8 lags (two years), 6 degrees of freedom4.390.624No significant residual autocorrelation detected ✓

Degrees of freedom are reduced by 2 for the two estimated ARIMA coefficients (θ, Θ); without that adjustment the p-values are 0.751 and 0.821. The first five residuals are dropped before testing: the two differences (1 + 4 = 5 lags) leave no information to form them, so they reflect the model's start-up rather than its fit. The test uses the remaining 57 residuals.

Residual autocorrelation function with all bars inside the 95 percent band
Residual ACF for lags 1–12. Every bar lies inside the dashed 95% band.
The answer

What does the model forecast for the next four quarters?

Fan chart of India real GDP growth with SARIMA forecast and 80 and 95 percent intervals
Actual year-on-year growth (navy) and the SARIMA forecast (maroon) with 80% and 95% intervals. Source: MoSPI; model by the author.
QuarterMedian GDP (₹ lakh crore)Median YoY growth80% prediction interval95% prediction interval
Q3 FY27 (Oct–Dec 2026)91.757.9%6.4% – 9.5%5.5% – 10.3%
Q4 FY27 (Jan–Mar 2027)96.008.1%6.2% – 10.1%5.2% – 11.1%
Q1 FY28 (Apr–Jun 2027)87.848.0%5.7% – 10.2%4.6% – 11.4%
Q2 FY28 (Jul–Sep 2027)87.847.9%5.5% – 10.5%4.2% – 11.8%
SOLVED CASE · Implied full-year FY27 growth

FY27 = actual Q1 and Q2 + forecast Q3 and Q4; compare with the four actual quarters of FY26.

gFY27 = (81.36 + 81.39 + 91.75 + 96.00) ÷ (75.46 + 75.41 + 85.02 + 88.80) − 1 = 350.50 ÷ 324.69 − 1 ≈ 7.9%

Reading the numbers. The model forecasts log GDP. Exponentiating the predicted log level gives the median forecast under the model's Gaussian assumption (the mean would be slightly higher), so the point forecasts above are medians. The bands are prediction intervals: bound = exp(ln forecast ± z × se) ÷ last year's level − 1. They widen with the horizon because each future quarter adds its own uncertainty.

Why the table stops at four quartersFor these four horizons the denominator, the same quarter a year earlier, is an observed MoSPI figure. Beyond four quarters that denominator is itself a forecast, so a growth interval would also have to include its uncertainty (the two forecasts are correlated). The simple formula above would then understate the range.
The honest test

Does SARIMA beat a simple rule?

A model earns its place only if it beats a simple benchmark on quarters it was not fitted to. At each of 37 forecast origins, from Q1 FY18 to Q1 FY27, we re-estimated the model on data up to that quarter only, forecast 1–4 quarters ahead, and compared each forecast with the actual figure. The benchmark is the naive rule "every future quarter's growth equals the last observed year-on-year growth".

Back-test designDetail
TypeRetrospective rolling back-test with an expanding window
Data vintageEvery fit uses today's linked series (MoSPI data as published by 30 November 2026), truncated at the origin. Early origins therefore use revised figures and the 2022-23 base, which were not available at the time. This is not a real-time test.
Excluded targetsQ1 FY21, Q2 FY21, Q3 FY21, Q4 FY21 and Q1 FY22 (COVID quarters), at every horizon
Forecasts scored32 at 1 quarter ahead, 31 at 2, 30 at 3, 29 at 4
Selection vs evaluationThe same back-test was used to compare the candidate orders. It therefore supports the choice among those candidates but is not an independent validation of the chosen model.
Root mean squared error (pp)1 ahead2 ahead3 ahead4 ahead
SARIMA airline1.601.741.812.07
Naive rule3.284.204.134.04
RMSE reduction vs naive51%59%56%49%

One-quarter-ahead RMSE was 51% lower than the last-observed-growth benchmark (1.60 versus 3.28 percentage points), and the reduction is similar at the other horizons. RMSE weights large misses heavily: a one-quarter-ahead RMSE of 1.60 pp means the typical forecast error, measured as a root mean square, is about 1.6 percentage points of growth. A truly real-time test, refitting on the data available at each date, would likely show larger errors.

Judgement

What can SARIMA not see?

  • Anything outside GDP's own past. The model knows nothing about weak farm output, energy prices or interest rates. That is why it sits above the RBI's latest projections, as reported, of 6.9% for Q3 and 6.8% for Q4: the RBI builds those judgements in.
  • Data revisions. MoSPI revises recent quarters, so the target moves. Re-estimate after each release.
  • The seam at FY23. The linked series is a bridge; replace it with the official back series when available.
  • Structural breaks. A policy or global shock can change the pattern the model learned.
How to use this forecastTreat SARIMA as the statistical baseline: what the data alone imply. Then ask what is different this time. Institutions start from a baseline like this and add monthly indicators (industrial output, PMI, GST, the core-sector index) in nowcasting models.
Live calculator

How confident do you want to be? Move the slider

80%
MEDIAN FORECAST
–
LOWER BOUND
–
UPPER BOUND
–
RANGE WIDTH
–

Uses the model's log-scale forecast and standard error to form a prediction interval around the median. Higher confidence means a wider range: certainty costs precision.

Go deeper

Try it yourself: the interactive SARIMA Studio

The studio runs a full SARIMA engine in your browser on the same 62 quarters. Change any of the six orders, the horizon, the log transform or the COVID treatment, and the forecast, intervals, residual ACF, seasonality profile and fiscal-year growth update at once. Auto-Select searches ten specifications by AIC. Export everything to a four-sheet Excel workbook, or upload the guide's workbook or your own sheet with quarter_end and real_gdp columns.

Why the studio's numbers differ slightlyThe studio estimates by conditional sum of squares and interpolates only the two lockdown quarters, Q1 and Q2 FY21. This guide uses exact maximum likelihood with a dummy for each of the five COVID-affected quarters. For the airline model the studio gives 7.9% for Q3 FY27 and about 7.9% for FY27, close to the guide, but its θ₁ and its interval widths differ. That is itself a lesson: the forecast is robust; the error bands depend on how you treat outliers.

Open the India GDP SARIMA Studio

Orders · Auto-AIC · fan chart · diagnostics · seasonality · fiscal years · Excel in and out. Prefer Python? Download the script; the data and every calculation are in the Excel workbook.

Open the SARIMA Studio ↗
The full studio, embedded. Open it in a new tab ↗ for more room.

Test yourself

1. What do the two brackets in SARIMA(0,1,1)(0,1,1)₄ describe?

The first, (0,1,1), is quarter-to-quarter behaviour: one regular difference and one MA term. The second, (0,1,1)₄, is the same behaviour one year apart: one seasonal difference and one seasonal MA term, with season length 4.

2. Why give each quarter of the year its own link factor when joining base years?

The two series have different seasonal shapes. A separate factor for each quarter rescales the old series while keeping every year-on-year growth rate exactly as published.

3. A model has a lower AIC but a higher back-test error than the airline model. Which do you prefer for forecasting, and why?

It depends on the size of the gaps. AIC measures in-sample fit with a penalty for complexity; the back-test measures forecast accuracy on quarters the model was not fitted to. Here the AIC gap is under 2 points and the back-test RMSEs differ by 0.01 pp, so the two are effectively tied, and the simpler or more interpretable model is a reasonable choice. A large, consistent back-test advantage would outweigh a small AIC difference.

4. The median forecast for Q3 FY27 is 7.9% with an 80% prediction interval of 6.4%–9.5%. What does the 95% interval look like?

Wider: 5.5%–10.3%. More confidence requires a wider range for the same model and data.

Python

How do I run this in Python?

The core estimation takes a few lines with statsmodels, reading the guide's Excel workbook. The full script, with the back-test and fan chart, is in the download.

import numpy as np, pandas as pd
from statsmodels.tsa.statespace.sarimax import SARIMAX

df = pd.read_excel("india-gdp-sarima-forecast.xlsx", sheet_name="Linked_Series", header=4)
y  = np.log(df["Real GDP (₹ lakh crore)"].dropna().values)
covid = df["COVID dummy (1 = adjusted quarter)"].iloc[:len(y)]
X = pd.get_dummies(np.where(covid == 1, df["Quarter"].iloc[:len(y)], "none")).drop(columns="none").astype(float)

res = SARIMAX(y, exog=X, order=(0, 1, 1), seasonal_order=(0, 1, 1, 4)).fit(disp=False, method="bfgs", maxiter=2000)
print(res.summary())

fc = res.get_forecast(4, exog=np.zeros((4, X.shape[1])))
level = np.exp(fc.predicted_mean)                 # ₹ lakh crore
yoy = level / np.exp(y[-4:]) - 1                  # growth vs same quarter last year
print((yoy * 100).round(1))
The Excel workbookSeven sheets: contents, the two raw MoSPI series, link factors, the linked series with growth formulas, model results, the forecast with interval formulas, and the back-test. Change a raw figure and the linked series, growth rates and implied FY27 growth all update.
Sources

References and further reading

  • Ministry of Statistics and Programme Implementation (MoSPI). Quarterly estimates of GDP, Q2 2026-27 (released 30 November 2026), and National Accounts data at constant prices, base years 2011-12 and 2022-23.
  • Box, G. E. P., Jenkins, G. M., Reinsel, G. C. & Ljung, G. M. Time Series Analysis: Forecasting and Control. Wiley (the airline model).
  • Hyndman, R. J. & Athanasopoulos, G. Forecasting: Principles and Practice, 3rd ed. OTexts (seasonal ARIMA, cross-validation).
  • Seabold, S. & Perktold, J. statsmodels: SARIMAX in Python.
  • Reserve Bank of India — growth projections as reported in news coverage of the Q2 FY27 release.

The linked series is a teaching construct until MoSPI publishes its official back series. Forecasts are statistical baselines, not predictions of policy outcomes. This guide is educational and is not investment advice.