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.
INDIA GDP SARIMA at a Glance
Two shocks to remember, two differences to take, one honest benchmark to beat.
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.
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).
| Letter | Name | What it captures | Plain-language reading |
|---|---|---|---|
| p | Autoregressive order | Dependence on the last p values | "This quarter looks like the last one or two." |
| d | Differencing | Removes the trend | Model the change, not the level. |
| q | Moving-average order | Dependence on the last q surprises | "Part of last quarter's surprise carries over." |
| P | Seasonal AR order | Dependence on the value a year ago | "This Q3 looks like last year's Q3." |
| D | Seasonal differencing | Removes the seasonal pattern | Compare with the same quarter last year. |
| Q | Seasonal MA order | Dependence on the surprise a year ago | "Part of last year's same-quarter surprise carries over." |
| s | Season length | Periods per year | 4 for quarterly, 12 for monthly data. |
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:
(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:
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.
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.
| Quarter of the year | Link 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.
How do we prepare the series — logs, differences and the COVID quarters?
- Take logs of real GDP, so that differences become growth rates.
- Seasonal difference (D = 1): subtract the same quarter of the previous year. This removes the seasonal pattern.
- Regular difference (d = 1): subtract the previous quarter. This removes what is left of the trend.
- 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.
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.
| Specification | AIC | BIC | Avg back-test RMSE, h = 1–4 (pp) | ARIMA coefficients |
|---|---|---|---|---|
| (2,1,0)(0,1,0)₄ | −334.65 | −318.31 | 1.82 | 2 |
| (2,1,0)(0,1,1)₄ | −333.33 | −314.94 | 1.88 | 3 |
| (0,1,1)(0,1,1)₄ airline ✓ | −332.81 | −316.46 | 1.81 | 2 |
| (1,1,1)(0,1,1)₄ | −331.77 | −313.39 | 1.90 | 3 |
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 did the model estimate?
| Parameter | Estimate | Std. error | p-value | Interpretation |
|---|---|---|---|---|
| θ₁ (MA, lag 1) | −0.279 | 0.163 | 0.088 | About a quarter of a surprise is reversed the next quarter |
| Θ₁ (seasonal MA, lag 4) | 0.186 | 0.133 | 0.163 | Part of a surprise echoes in the same quarter next year |
| σ (shock size) | 0.0113 | A typical quarterly surprise moves GDP by about 1.1% | ||
| COVID: Q1 FY21 | −0.277 | 0.007 | 0.000 | Lockdown quarter: about 24% below the model path |
| COVID: Q2 FY21 | −0.073 | 0.013 | 0.000 | Partial recovery: about 7% below path |
| COVID: Q3 FY21 | −0.012 | 0.009 | 0.170 | Close to normal |
| COVID: Q4 FY21 | 0.004 | 0.009 | 0.690 | Normal |
| COVID: Q1 FY22 | −0.088 | 0.008 | 0.000 | Second wave: about 8% below path |
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.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.
| Test | Statistic | p-value | Verdict |
|---|---|---|---|
| Ljung–Box, 4 lags (one year), 2 degrees of freedom | 1.92 | 0.384 | No significant residual autocorrelation detected ✓ |
| Ljung–Box, 8 lags (two years), 6 degrees of freedom | 4.39 | 0.624 | No significant residual autocorrelation detected ✓ |

What does the model forecast for the next four quarters?

| Quarter | Median GDP (₹ lakh crore) | Median YoY growth | 80% prediction interval | 95% prediction interval |
|---|---|---|---|---|
| Q3 FY27 (Oct–Dec 2026) | 91.75 | 7.9% | 6.4% – 9.5% | 5.5% – 10.3% |
| Q4 FY27 (Jan–Mar 2027) | 96.00 | 8.1% | 6.2% – 10.1% | 5.2% – 11.1% |
| Q1 FY28 (Apr–Jun 2027) | 87.84 | 8.0% | 5.7% – 10.2% | 4.6% – 11.4% |
| Q2 FY28 (Jul–Sep 2027) | 87.84 | 7.9% | 5.5% – 10.5% | 4.2% – 11.8% |
FY27 = actual Q1 and Q2 + forecast Q3 and Q4; compare with the four actual quarters of FY26.
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.
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 design | Detail |
|---|---|
| Type | Retrospective rolling back-test with an expanding window |
| Data vintage | Every 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 targets | Q1 FY21, Q2 FY21, Q3 FY21, Q4 FY21 and Q1 FY22 (COVID quarters), at every horizon |
| Forecasts scored | 32 at 1 quarter ahead, 31 at 2, 30 at 3, 29 at 4 |
| Selection vs evaluation | The 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 ahead | 2 ahead | 3 ahead | 4 ahead |
|---|---|---|---|---|
| SARIMA airline | 1.60 | 1.74 | 1.81 | 2.07 |
| Naive rule | 3.28 | 4.20 | 4.13 | 4.04 |
| RMSE reduction vs naive | 51% | 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.
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 confident do you want to be? Move the slider
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.
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.
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.
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))
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:
SARIMAXin Python. - Reserve Bank of India — growth projections as reported in news coverage of the Q2 FY27 release.