Part 2. Can North Macedonia’s GDP Be Forecast from Its Own Past?

Reading Time: 4 minutes

ARIMA estimation and short-term forecasting

Part 2 moves from description to forecasting. Since Part 1 showed that North Macedonia’s GDP is persistent, seasonal and non-stationary in levels, the natural question is whether a statistical model can use that structure to forecast the near future. The ARIMA model used here is estimated on the transformed series and evaluated over an eight-quarter holdout period. This is a statistical forecasting exercise, not a structural macroeconomic model. It does not explain GDP through consumption, investment, exports, public spending or external demand. It asks whether the past behaviour of the series itself contains enough information for short-term projection.

Figure 4. GDP for North Macedonia — ARIMA model residuals analysis

Table 2 reports an ARIMA model with an autoregressive coefficient of about 0.417, a first seasonal autoregressive coefficient of about -0.282, a second seasonal autoregressive coefficient of about -0.215 and a positive constant of about 0.0216. The ordinary autoregressive coefficient is statistically significant, which confirms that recent past movements contain useful information about the next observations. The first seasonal autoregressive term is also statistically significant, while the second seasonal autoregressive term is close to conventional significance. This structure is consistent with the evidence from Part 1: persistence matters, but seasonal dynamics also matter.

Table 2. ARIMA model estimation and parameters accuracy

Modelarimaetsnaivesnaive
sigma20.0010.0010.0080.002
log_lik176.563100.314NANA
AIC-343.126-180.628NANA
AICc-342.436-178.070NANA
BIC-330.463-154.881NANA
MSENA0.001NANA
AMSENA0.001NANA
MAE.xNA0.026NANA
lb_stat3.8267.597207.44414.428
lb_pvalue0.5750.1800.0000.013
.typeTestTestTestTest
ME0.0140.0210.1220.049
RMSE0.0180.0270.1400.053
MAE.y0.0150.0220.1220.049
MPE0.2970.4462.5551.032
MAPE0.3060.4592.5551.032
ACF1-0.342-0.327-0.4340.510
estimate__ar10.417NANANA
std.error__ar10.104NANANA
statistic__ar14.004NANANA
p.value__ar10.000NANANA
estimate__sar1-0.282NANANA
std.error__sar10.114NANANA
statistic__sar1-2.484NANANA
p.value__sar10.015NANANA
estimate__sar2-0.215NANANA
std.error__sar20.110NANANA
statistic__sar2-1.954NANANA
p.value__sar20.054NANANA
estimate__constant0.022NANANA
std.error__constant0.004NANANA
statistic__constant5.686NANANA
p.value__constant0.000NANANA

The positive constant is highly significant and captures the underlying upward drift in the transformed series. Economically, the model says that North Macedonia’s GDP combines gradual growth with short-run persistence and seasonal adjustment. The autoregressive coefficient is not as high as in some smoother GDP series, which suggests that the model is not simply extrapolating a near-random-walk level. It allows for more short-run correction and seasonal structure.

The residual diagnostics are acceptable. The Ljung-Box p-value for the ARIMA model is about 0.575, so the residual autocorrelation test does not reject the adequacy of the model at conventional significance levels. Figure 4 supports this interpretation. Most residuals fluctuate around zero, although some large disturbances remain visible, especially around periods of major macroeconomic stress. The residual autocorrelation is negative at the first lag, but not large enough to undermine the model’s use as a short-term forecasting tool.

The model comparison in Table 2 is favourable to ARIMA. The ARIMA model has a holdout MAPE of about 0.306%, which is lower than the ETS model, the naive model and the seasonal naive model. It also has the lowest RMSE and MAE among the reported benchmark models. This is important because a forecasting model should not only fit the training sample; it should outperform simple alternatives. In this case, ARIMA provides a clearly better short-term statistical benchmark than using the previous observation or the same quarter from the previous year.

Figure 5 and Table 3 show the eight-quarter forecast from 2024Q2 to 2026Q1. The forecast preserves the seasonal profile of the GDP index, including higher fourth-quarter values and lower first-quarter values. This is important because the seasonal pattern is a meaningful feature of the series. All actual holdout observations fall inside both the 80% and 95% prediction intervals. This is a strong practical result. It means that the model’s uncertainty bands are sufficiently wide to contain the realised path, but still narrow enough to be useful.

Figure 5. GDP for North Macedonia — ARIMA model forecast, log transformation

The point forecasts are reasonably close to the actual values. In 2024Q2, the actual value is 112.122 and the forecast mean is 110.806. In 2024Q4, the actual value is 126.231 and the forecast mean is 123.523. In 2025Q1, the actual value is 105.491 and the forecast mean is 105.671. In 2026Q1, the actual value is 108.717 and the forecast mean is 108.367. The largest visible gap occurs in 2025Q4, where the actual value is 131.005 and the forecast mean is 126.439, but even this observation remains inside the 80% and 95% intervals. This suggests that the model slightly underestimates some of the stronger later observations, but not enough to invalidate the forecast.

Table 3. Forecast eight quarters ahead — ARIMA model

DateActualMeanLower 80%Upper 80%Lower 95%Upper 95%
2024 Q2112.1110.8105.7116.2103.1119.1
2024 Q3112.8112.1106.5118.0103.7121.2
2024 Q4126.2123.5117.3130.1114.1133.7
2025 Q1105.5105.7100.3111.397.6114.4
2025 Q2116.0113.9107.0121.3103.5125.4
2025 Q3117.1114.9107.7122.5104.1126.8
2025 Q4131.0126.4118.5134.9114.5139.6
2026 Q1108.7108.4101.6115.698.1119.7

The practical conclusion is that ARIMA is a credible short-term forecasting tool for North Macedonia’s GDP. It captures persistence, seasonal structure and the recent upward path well enough to outperform the reported alternatives. However, it remains a baseline statistical forecast. If a new shock appears, the model will only recognise it after it enters the data. For economic interpretation, ARIMA should therefore be combined with information about domestic demand, external conditions, prices, policy and regional developments.

Methodological appendix to Part 2

ARIMA stands for autoregressive integrated moving average. The autoregressive part uses past values, the integrated part uses differencing to handle non-stationarity, and the moving-average part uses past shocks or forecast errors. Seasonal ARIMA models extend this logic to recurring quarterly patterns. In this exercise, the series is split into a training sample and an eight-quarter holdout sample. The model is estimated on the training data and evaluated on observations not used in estimation. Forecast accuracy is assessed using RMSE, MAE and MAPE. RMSE penalises large errors more heavily, MAE measures average absolute error and MAPE expresses error as a percentage of the observed value. Residual diagnostics, especially the Ljung-Box test, check whether the model has left systematic autocorrelation unexplained. For North Macedonia, the ARIMA model performs well both diagnostically and in the holdout comparison.

Leave a Reply