Skip to content
Senghak Rou
All projects

Statistics & Econometrics · Apr – May 2026

Forecasting French oil production with ARIMA

Box–Jenkins analysis of a monthly French industrial production index (1990–2026): stationarity testing, ARMA order selection, residual diagnostics and a joint 95 % prediction region for the next two observations.

Status
Completed
Setting
Team project (2)ENSAE course assignment — Linear Time Series (Jean-David Fermanian), 2025–2026
My role
Co-author of the analysis, R code and report with Bunrong Ban; the split of work is not recorded in the repository.
Methods and tools
R · tseries · stats::arima

Overview

The series is INSEE's monthly index of crude-petroleum extraction in France, seasonally and working-day adjusted (base 100 in 2021), from January 1990 to February 2026 (T=434T = 434). It falls from above 400 in the early 1990s to between 60 and 100 in recent years, over the sample period.

French crude-oil extraction index, January 1990 – February 2026

Monthly index, seasonally and working-day adjusted, base 100 in 2021 (T = 434).

010020030040050019901995200020052010201520202025YearIndex (2021 = 100)2021 = 100Jan 1990: 504Feb 1990: 489.7Mar 1990: 498Apr 1990: 473.9May 1990: 462.9Jun 1990: 459.4Jul 1990: 390.7Aug 1990: 462.9Sep 1990: 465.6Oct 1990: 465.6Nov 1990: 462.5Dec 1990: 458.9Jan 1991: 452.2Feb 1991: 447.1Mar 1991: 448.5Apr 1991: 452.3May 1991: 456.7Jun 1991: 458.7Jul 1991: 451.5Aug 1991: 457Sep 1991: 458.7Oct 1991: 461Nov 1991: 455Dec 1991: 454.6Jan 1992: 450.1Feb 1992: 455.8Mar 1992: 455.9Apr 1992: 454.4May 1992: 449.6Jun 1992: 443.8Jul 1992: 449.7Aug 1992: 439.6Sep 1992: 430.8Oct 1992: 417.5Nov 1992: 419Dec 1992: 421.3Jan 1993: 422.3Feb 1993: 430.9Mar 1993: 418.2Apr 1993: 431May 1993: 420.2Jun 1993: 412.9Jul 1993: 414.8Aug 1993: 407.5Sep 1993: 412.5Oct 1993: 427.9Nov 1993: 441Dec 1993: 454.9Jan 1994: 447.3Feb 1994: 440.7Mar 1994: 439.7Apr 1994: 432.1May 1994: 430.9Jun 1994: 439.9Jul 1994: 424.4Aug 1994: 424Sep 1994: 425.6Oct 1994: 410Nov 1994: 408.5Dec 1994: 399.3Jan 1995: 390.8Feb 1995: 389.3Mar 1995: 396.5Apr 1995: 385.7May 1995: 388.4Jun 1995: 391.5Jul 1995: 378.2Aug 1995: 382.7Sep 1995: 376Oct 1995: 379.7Nov 1995: 407.1Dec 1995: 360.8Jan 1996: 363.3Feb 1996: 339.6Mar 1996: 343.3Apr 1996: 346.2May 1996: 338.5Jun 1996: 331.3Jul 1996: 326.5Aug 1996: 321.3Sep 1996: 306.9Oct 1996: 294.9Nov 1996: 293.7Dec 1996: 286.7Jan 1997: 280.4Feb 1997: 287.4Mar 1997: 276.5Apr 1997: 276.4May 1997: 271.3Jun 1997: 264.3Jul 1997: 273.7Aug 1997: 266.8Sep 1997: 272.6Oct 1997: 275.1Nov 1997: 270.8Dec 1997: 277.3Jan 1998: 272.4Feb 1998: 272.3Mar 1998: 270.2Apr 1998: 266.8May 1998: 262.7Jun 1998: 259.5Jul 1998: 263.4Aug 1998: 257.4Sep 1998: 258.4Oct 1998: 256.3Nov 1998: 267.7Dec 1998: 254.6Jan 1999: 251.2Feb 1999: 250.1Mar 1999: 246Apr 1999: 239.2May 1999: 212.5Jun 1999: 237.9Jul 1999: 240.4Aug 1999: 240.7Sep 1999: 237.8Oct 1999: 240.7Nov 1999: 238.8Dec 1999: 213.2Jan 2000: 219.5Feb 2000: 221.8Mar 2000: 222.9Apr 2000: 200.3May 2000: 210.9Jun 2000: 223.4Jul 2000: 217.6Aug 2000: 227.8Sep 2000: 221.2Oct 2000: 216.3Nov 2000: 212.8Dec 2000: 220.4Jan 2001: 217.2Feb 2001: 216.8Mar 2001: 213.9Apr 2001: 213.3May 2001: 214.1Jun 2001: 213.7Jul 2001: 212Aug 2001: 213.9Sep 2001: 214.1Oct 2001: 212.8Nov 2001: 209.3Dec 2001: 206.9Jan 2002: 211Feb 2002: 208.7Mar 2002: 214.8Apr 2002: 214.7May 2002: 202.2Jun 2002: 199.6Jul 2002: 198.7Aug 2002: 198.7Sep 2002: 199.6Oct 2002: 199.5Nov 2002: 198.2Dec 2002: 190.8Jan 2003: 186Feb 2003: 192.6Mar 2003: 193.7Apr 2003: 195.5May 2003: 194.4Jun 2003: 191.6Jul 2003: 187.3Aug 2003: 177.2Sep 2003: 179.5Oct 2003: 179.1Nov 2003: 178.9Dec 2003: 187.1Jan 2004: 181.7Feb 2004: 182.5Mar 2004: 180.7Apr 2004: 182.5May 2004: 185.8Jun 2004: 177.4Jul 2004: 176Aug 2004: 171Sep 2004: 168.5Oct 2004: 162.2Nov 2004: 169.3Dec 2004: 169.5Jan 2005: 173Feb 2005: 163.6Mar 2005: 165.5Apr 2005: 160May 2005: 161.1Jun 2005: 161.9Jul 2005: 165.5Aug 2005: 170.2Sep 2005: 169.8Oct 2005: 168.8Nov 2005: 167.4Dec 2005: 166Jan 2006: 166.5Feb 2006: 167.4Mar 2006: 160.1Apr 2006: 160.5May 2006: 160.1Jun 2006: 162Jul 2006: 160.2Aug 2006: 160.6Sep 2006: 165.9Oct 2006: 164.4Nov 2006: 165.1Dec 2006: 159.3Jan 2007: 143.5Feb 2007: 135.4Mar 2007: 149.6Apr 2007: 150.7May 2007: 154.2Jun 2007: 154.2Jul 2007: 154.1Aug 2007: 151.5Sep 2007: 150.7Oct 2007: 151.6Nov 2007: 151.8Dec 2007: 154.3Jan 2008: 154.8Feb 2008: 154.1Mar 2008: 153.2Apr 2008: 153.9May 2008: 149Jun 2008: 151.6Jul 2008: 156.3Aug 2008: 150.1Sep 2008: 145.1Oct 2008: 143.4Nov 2008: 139.8Dec 2008: 142.5Jan 2009: 134.9Feb 2009: 153.6Mar 2009: 141.1Apr 2009: 141May 2009: 140.1Jun 2009: 144.5Jul 2009: 138.1Aug 2009: 137.6Sep 2009: 135.9Oct 2009: 137.1Nov 2009: 136.9Dec 2009: 135Jan 2010: 133.5Feb 2010: 128.7Mar 2010: 132.6Apr 2010: 133.9May 2010: 127Jun 2010: 143.8Jul 2010: 143.9Aug 2010: 140.2Sep 2010: 142.9Oct 2010: 143.5Nov 2010: 143.2Dec 2010: 142.7Jan 2011: 144.6Feb 2011: 143.8Mar 2011: 141.3Apr 2011: 142May 2011: 141.6Jun 2011: 139Jul 2011: 135.9Aug 2011: 137.6Sep 2011: 138Oct 2011: 133.4Nov 2011: 133.2Dec 2011: 130Jan 2012: 124.3Feb 2012: 127Mar 2012: 128.5Apr 2012: 130.2May 2012: 127.4Jun 2012: 122.9Jul 2012: 122.5Aug 2012: 124Sep 2012: 120.2Oct 2012: 121.4Nov 2012: 122.5Dec 2012: 120.9Jan 2013: 116.5Feb 2013: 124.1Mar 2013: 121.1Apr 2013: 118.1May 2013: 119.8Jun 2013: 120.6Jul 2013: 124.3Aug 2013: 131.7Sep 2013: 124.4Oct 2013: 120.7Nov 2013: 118.8Dec 2013: 122.3Jan 2014: 121.3Feb 2014: 117.3Mar 2014: 116.3Apr 2014: 117May 2014: 116.1Jun 2014: 116.5Jul 2014: 118.8Aug 2014: 117.5Sep 2014: 119.4Oct 2014: 121.1Nov 2014: 118.3Dec 2014: 118.7Jan 2015: 121.2Feb 2015: 124.8Mar 2015: 127.4Apr 2015: 127.9May 2015: 133Jun 2015: 132.7Jul 2015: 131.3Aug 2015: 128.2Sep 2015: 125.5Oct 2015: 128.3Nov 2015: 133.3Dec 2015: 132.3Jan 2016: 131.2Feb 2016: 132.6Mar 2016: 130.6Apr 2016: 128.2May 2016: 125.2Jun 2016: 124.3Jul 2016: 124.3Aug 2016: 124.6Sep 2016: 120.9Oct 2016: 121Nov 2016: 119Dec 2016: 119.9Jan 2017: 118.6Feb 2017: 112.9Mar 2017: 115.7Apr 2017: 118.9May 2017: 119Jun 2017: 117.1Jul 2017: 114.6Aug 2017: 114.8Sep 2017: 116.5Oct 2017: 116.5Nov 2017: 120.8Dec 2017: 118.3Jan 2018: 116.7Feb 2018: 116.4Mar 2018: 121Apr 2018: 121.4May 2018: 119Jun 2018: 121.6Jul 2018: 121.8Aug 2018: 119.3Sep 2018: 118.4Oct 2018: 119.8Nov 2018: 118.4Dec 2018: 118.3Jan 2019: 119.7Feb 2019: 119.6Mar 2019: 117Apr 2019: 115May 2019: 91.6Jun 2019: 96.9Jul 2019: 105.9Aug 2019: 113.3Sep 2019: 115.5Oct 2019: 118.5Nov 2019: 115.8Dec 2019: 113Jan 2020: 112.2Feb 2020: 112.9Mar 2020: 109Apr 2020: 72.4May 2020: 62.1Jun 2020: 97.4Jul 2020: 105.1Aug 2020: 106.6Sep 2020: 107Oct 2020: 107Nov 2020: 105.1Dec 2020: 104Jan 2021: 105.6Feb 2021: 103.6Mar 2021: 102.3Apr 2021: 103.4May 2021: 104.1Jun 2021: 103.5Jul 2021: 101.9Aug 2021: 100.7Sep 2021: 100.1Oct 2021: 78.9Nov 2021: 97.4Dec 2021: 98.7Jan 2022: 98.1Feb 2022: 97.5Mar 2022: 99.3Apr 2022: 95.6May 2022: 93.8Jun 2022: 96.1Jul 2022: 88.6Aug 2022: 82.4Sep 2022: 84.5Oct 2022: 86.9Nov 2022: 89.2Dec 2022: 89Jan 2023: 91Feb 2023: 90.2Mar 2023: 85.6Apr 2023: 90.8May 2023: 94.6Jun 2023: 90.7Jul 2023: 90.9Aug 2023: 91.6Sep 2023: 89.1Oct 2023: 89Nov 2023: 89Dec 2023: 89Jan 2024: 87.6Feb 2024: 86Mar 2024: 87Apr 2024: 85.3May 2024: 86.5Jun 2024: 86.5Jul 2024: 84.4Aug 2024: 81.9Sep 2024: 83.6Oct 2024: 82.3Nov 2024: 80.9Dec 2024: 81Jan 2025: 75.7Feb 2025: 79.7Mar 2025: 78.5Apr 2025: 79May 2025: 78.2Jun 2025: 78.2Jul 2025: 79.9Aug 2025: 78.9Sep 2025: 78.1Oct 2025: 78.3Nov 2025: 78.4Dec 2025: 77.7Jan 2026: 77.1Feb 2026: 76.3
Data table
YearMonthsMean index
199012466.2
199112454.4
199212440.6
199312424.5
199412426.8
199512385.6
199612324.3
199712274.4
199812263.5
199912237.4
200012217.9
200112213.2
200212203
200312186.9
200412175.6
200512166.1
200612162.7
200712150.1
200812149.5
200912139.6
201012138
201112138.4
201212124.3
201312121.9
201412118.2
201512128.8
201612125.1
201712117
201812119.3
201912111.8
202012100.1
202112100
20221291.7
20231290.1
20241284.4
20251278.4
2026276.7
Figure 1 · DataA long decline as domestic fields deplete, with month-to-month noise. The level is not stationary, so the model is fitted to the monthly log change.Source: INSEE series 010767581, valeurs_mensuelles.csv in the project repository (commit 6018dc3).

Method

With ZtZ_t the index, we model the monthly log change Xt=Δlog⁡ZtX_t = \Delta \log Z_t (approximately the monthly growth rate). For log⁡Zt\log Z_t, the ADF and Phillips–Perron tests do not reject a unit root and KPSS rejects stationarity. For XtX_t all three tests agree on stationarity, so one difference suffices.

ARMA(p,q)(p, q) models with p,q≤3p, q \le 3 were compared by AIC, BIC, coefficient significance and Ljung–Box tests. ARMA(1,2) has the lowest AIC and BIC, all coefficients significant at 1 %, and no residual autocorrelation detected at lag 12 (p=0.125p = 0.125). On the centred series yty_t:

yt=0.324 yt−1+εt−0.530 εt−1−0.235 εt−2,σ^2=0.001935,y_t = 0.324\, y_{t-1} + \varepsilon_t - 0.530\, \varepsilon_{t-1} - 0.235\, \varepsilon_{t-2}, \qquad \hat\sigma^2 = 0.001935,

so log⁡Zt\log Z_t follows an ARIMA(1,1,2) with drift. The AR root (≈3.09\approx 3.09) and both MA roots (moduli 1.22 and 3.48) lie outside the unit circle: the model is causal and invertible.

Forecast region

From the MA(∞\infty) representation, with first coefficient c1=ϕ1+θ1≈−0.207c_1 = \phi_1 + \theta_1 \approx -0.207, the two-step forecast errors have covariance

ΣX=σ2(1c1c11+c12),\Sigma_X = \sigma^2 \begin{pmatrix} 1 & c_1 \\ c_1 & 1 + c_1^2 \end{pmatrix},

and under Gaussian innovations the joint 95 % region for (XT+1,XT+2)(X_{T+1}, X_{T+2}) is the ellipse (x−x^T)⊤ΣX−1(x−x^T)≤χ2, 0.952=5.991(x - \hat x_T)^{\top} \Sigma_X^{-1} (x - \hat x_T) \le \chi^2_{2,\,0.95} = 5.991. Back on the index scale, the point forecasts are about 76.0 and 75.8 for March and April 2026.

Limitations

Ljung–Box tests reject residual whiteness at several lags between 16 and 24 (p=0.020p = 0.020 at lag 24), and the residuals show a few large shocks (notably around 2020). The ellipse is therefore an approximate, model-based region, and it also ignores parameter-estimation uncertainty. The report states these caveats.

Contribution

Joint work with Bunrong Ban; the repository contains the R code, the data and the nine-page report.

Aug – Sep 2026Completed

Forecasting French regional electricity demand

Hourly demand forecasts for 12 French regions, 1 to 24 hours ahead, evaluated under a strict information rule and a test year opened only once.

Machine Learning & Forecasting · Individual · Python, pandas, statsmodels