Dengue in Bangladesh: is the season really six months long?

A 2025 study fits a SARIMA model with a six-month season to 17 years of monthly dengue cases. We rebuild the series and test that choice with fibub's time series tool: the season measures 12 months, not 6.

Dengue is now a yearly emergency in Bangladesh, and forecasting it a few months ahead decides where hospital beds and mosquito control go. A 2025 paper in PLOS ONE took 17 years of monthly case counts, from January 2008 to November 2024, and fitted a seasonal ARIMA model to them. One choice in that paper stands out: the authors set the seasonal period to six months rather than the usual 12, saying they “prioritised the 6-month lag”. That is the kind of decision anyone can test in a browser, and this article does it with the time series. If you would rather let the data pick the period for you, or want the long-run climb on its own, the period finder and the trend analyser do those two jobs.

The paper in brief

The authors collected monthly dengue cases alongside monthly temperature, rainfall, humidity and wind speed. They describe a strong annual rhythm: cases are highest from July to November, and September is the most common peak month. They report an autocorrelation of about 0.8 at lag 1 and 0.5 at lag 2, with a second, more moderate hump around lags 10 to 12, and a partial autocorrelation spike above 0.5 at lag 1 with nothing significant past lag 2.

They then built 14 candidate seasonal ARIMA models and settled on SARIMA(2,1,2)(1,1,1) with a six-month season: one ordinary difference, one seasonal difference six months apart, two autoregressive and two moving-average terms, plus one seasonal term of each kind. The selected model gives RMSE 5203.34 and MAE 1649.56. Alongside the time-series work they cross-correlate cases against weather at lags 0 to 12 months and find positive associations for temperature at lags 1 to 5 months, humidity at lags 1 to 4 and wind speed at lags 1 to 6.

The weather lags are plausible: mosquitoes need warmth and standing water, and the delay from weather to a diagnosed case is weeks to months. The six-month season is the part worth checking, because the paper’s own ACF description, the July-to-November high season and a September peak all point to a cycle that repeats once a year.

Checked with the tools

The paper’s monthly counts are not published as a table, so we could not download them. Instead we simulated a 203-month series with exactly the features the paper describes in words: a July-to-November high season peaking in September, a slow upward drift, a step up for the 2023 outbreak, and a remainder that is itself correlated month to month. Everything about the shape of the season, the size of the step and the noise is our assumption. What we can then test is not the paper’s data but its method: if a series looks the way the paper says its series looks, does a six-month season fit it?

A simulated Bangladesh dengue series, 2008 to 2024A simulated Bangladesh dengue series, 2008 to 202401e+42e+4200820112014201720202023YearCases per monthfibub.com
Figure 1. Our simulated monthly series: 203 months with a July-to-November season peaking in September and a step up in 2023, the pattern the paper describes. These are not the paper's counts, which are not published as a table.

Step 1: measure the season instead of assuming it. The tool’s STL decomposition splits a series into trend, season and remainder, and reports a seasonal strength between 0 (no repeating pattern) and 1 (the pattern explains everything left after the trend). Run it once for every assumed season length from 2 to 18 months and the answer is not subtle: strength peaks at 0.864 at 12 months and is only 0.350 at six months.

Seasonal strength against the period you assumeSeasonal strength against the period you assume00.20.40.60.8124681012141618Assumed season length (months)Seasonal strength (0 to 1)612fibub.com
Figure 2. The Time series tool's STL decomposition run once for every assumed season length. Strength peaks at 12 months (0.86); at the paper's 6 months it is only 0.35. Six months scores middling because half of a 12-month cycle repeats too.

Six months is not zero, and that is worth understanding. Half of a 12-month cycle does repeat, in the weak sense that a six-month shift turns the high season into the low season and back again, so a six-month “season” catches some of the real rhythm with the sign flipped. But it is a poor description, and a model built on it inherits the error.

Step 2: the autocorrelation the paper describes is an annual signature. Our simulated counts give an ACF of 0.80 at lag 1 and 0.56 at lag 2, with the second hump at lag 12 reaching 0.58 — the paper’s own numbers, from a purely annual cycle. The partial autocorrelation is 0.80 at lag 1 and then falls away, with nothing past lag 2 outside the band, again as the paper reports. In other words, the diagnostics quoted in support of the fitted model are equally consistent with a 12-month season, and the hump sits at 12, not 6.

Autocorrelation of the monthly countsAutocorrelation of the monthly counts00.5116121824Lag (months)Autocorrelation95 % bandfibub.com
Figure 3. Autocorrelation of the simulated counts with the 95 % Bartlett band (±0.14). Lag 1 is 0.80 and lag 2 0.56, the values the paper reports, and the second hump sits at lag 12 months, not 6.

Step 3: difference at six months and see what is left. A seasonal ARIMA model removes the season by subtracting the value one season earlier. Difference our series once ordinarily and once at six months, and the Ljung–Box statistic over 24 lags is Q = 279.4; difference at 12 months instead and it falls to Q = 161.5. Fit the paper’s ARIMA(2,1,2) on top of each and the gap stays: the residual standard deviation is 2397 cases after six-month differencing against 1985 after 12-month differencing, and the residual autocorrelation at lag 6 is −0.34 in the six-month version — the tell-tale sign of a seasonal difference taken at the wrong spacing, because subtracting a low season from a high season doubles the swing instead of cancelling it.

Check Paper Our tool result (simulated series)
Autocorrelation at lag 1 about 0.8 0.80
Autocorrelation at lag 2 about 0.5 0.56
Second ACF hump lags 10 to 12 lag 12 (0.58)
PACF spike at lag 1 above 0.5 0.80, nothing past lag 2
Season length used 6 months strength 0.864 at 12 months, 0.350 at 6
Ljung–Box after one ordinary and one seasonal difference not reported Q = 161.5 at 12 months, 279.4 at 6
ARIMA(2,1,2) residual standard deviation not reported 1985 cases at 12 months, 2397 at 6

None of this makes the paper’s forecasts useless; a model with the wrong seasonal spacing can still track a series whose ordinary differences carry most of the information. It does explain the oscillation every six months that the paper’s own forecast figure shows out to 2027. That wave is the model’s seasonal term talking, not the mosquitoes.

How we made the graphs

Everything comes from scripts/blog-figures/dengue-sarima-six-month-seasonality-bangladesh.mjs in fibub’s public code. It calls stl, strength, acf, bartlett, pacf, difference, ljungBox and arima from src/lib/sci/timeseries.ts, the maths behind the time series — the same functions the tool page runs in your browser.

From the paper’s text we took the length of the record (203 months, January 2008 to November 2024), the July-to-November high season with a September peak, and the reported ACF and PACF values as the targets to compare against. Our assumptions are the monthly seasonal shape on a log scale, the slow trend, the size of the 2023 step, the AR(1) remainder and the random draws. The series is simulated: it is not the paper’s data, and the absolute case numbers are ours.

How we test the maths

On every change to fibub, tests/sci.mjs runs tests/sci-tools/time-series-analyser.mjs, which pins this tool against statsmodels 0.15.0:

  • Classical additive and multiplicative decomposition must match seasonal_decompose to 1e-12, and STL must match statsmodels’ STL to 1e-11, on the tool’s own example series.
  • The ACF with its Bartlett band must match acf(alpha=0.05) and the PACF must match pacf(method="ywm") to 1e-12; the Ljung–Box Q and p at lag 10 must match acorr_ljungbox.
  • Fitted ARIMA models must match statsmodels’ estimates to 1e-4, their standard errors to 2e-3, and their log-likelihood, AIC, AICc and BIC — including an ARIMA(0,2,1) case where the tool finds a higher maximum (−330.81983) than statsmodels’ optimiser does.
  • New with this article: on the 48-month extract below, STL must give a seasonal strength of 0.974 at a season length of 12 and 0.442 at 6, and after one ordinary and one seasonal difference the Ljung–Box statistic must be Q = 6.969 at 12 months and Q = 60.59 at 6.

Check it yourself

On the time series, in the Series card:

  1. Leave Example on My own data and paste the first four years of our simulated series into Values in time order, one per line or comma-separated: 159, 116, 116, 161, 304, 573, 882, 1423, 3252, 2167, 1243, 433, 82, 62, 128, 156, 416, 558, 1218, 1540, 2225, 1733, 1031, 420, 85, 131, 177, 219, 422, 542, 1856, 1717, 2106, 2045, 1032, 337, 95, 77, 158, 135, 194, 662, 1147, 2787, 2701, 1826, 678, 331.
  2. Set Season length (values per cycle) to 12. In Decomposition, with Method on STL (LOESS), it reads Strength of season 0.974.
  3. Change Season length to 6. Strength of season drops to 0.442, and the season panel now shows a pattern that flips sign every half year.
  4. Put Season length back to 12. In Autocorrelation and differencing, set Differences d to 1 and Seasonal differences D to 1. It reports Ljung–Box (lag 7) Q = 6.969, p = 0.43 and reads “No clear autocorrelation: it looks like white noise” — the season has been removed cleanly.
  5. Now set Season length to 6, keeping d = 1 and D = 1. Ljung–Box (lag 8) jumps to Q = 60.59 with p below 0.0001, and 3 of 18 lags sit outside the band. Differencing at the wrong season length leaves structure behind.

What researchers can use it for

  • Measure a season before you model it. Sweep the season length and read the STL seasonal strength, rather than inheriting a period from an earlier paper. The period finder does the same job from the frequency side.
  • Justify d and D with a test, not a picture. The Ljung–Box line under the ACF says in one number whether differencing has finished the job.
  • Sanity-check a published model. Rebuild a series from the features a paper describes, run the paper’s orders, and see whether its reported diagnostics follow.
  • Teach the difference between a lag and a period. Lag 6 autocorrelation in a yearly series is usually negative; the tool shows that in two clicks.
  • Forecast with honest intervals. The ARIMA card gives 80 % and 95 % bands by exact maximum likelihood, so a forecast comes with its uncertainty instead of a single line.

The fine print

  • Our series is simulated from the features the paper states in words. It is not the paper’s data, and our case numbers are invented.
  • The tool fits non-seasonal ARIMA(p, d, q). We reproduced the seasonal part by differencing at the season length first, which is what the (1,1,1) seasonal block mostly does, not by fitting seasonal AR and MA coefficients.
  • Our conclusion is about the season length, not about the rest of the paper. The weather lags, the cross-correlation work and the comparison with Poisson regression and XGBoost are untouched here.
  • The paper reports two different RMSE values for its best model (5203.34 in the results text and 5058.066 in the abstract) without explaining the difference. We did not try to reproduce either, because that needs the data.
  • Seasonal strength is defined on the STL remainder, so it depends a little on the smoothing windows. We used the tool’s defaults throughout.

Sources

  • Alam, K. E., Ahmed, M. J., Chalise, R., Rahman, M. A., Mathin, T. T., Bhuiyan, M. I. H., Bhandari, P. and Hossain, D. (2025), Time series analysis of dengue incidence and its association with meteorological risk factors in Bangladesh, PLOS ONE 20(8): e0323238, doi:10.1371/journal.pone.0323238. Licence CC BY 4.0, checked on the PLOS ONE article page, 2026-11-24. Values used here: monthly dengue cases and weather for Bangladesh from January 2008 to November 2024; the chosen model SARIMA(2,1,2)(1,1,1) with a six-month seasonal period, picked from 14 candidates; autocorrelation about 0.8 at lag 1 and 0.5 at lag 2, with moderate autocorrelation around lags 10 to 12; a partial autocorrelation spike above 0.5 at lag 1 and nothing significant beyond lag 2; the highest case counts from July to November, September the most frequent peak month; RMSE 5203.34 and MAE 1649.56 for the selected model.
  • Seasonal-trend decomposition by LOESS (STL): Cleveland, R. B., Cleveland, W. S., McRae, J. E. and Terpenning, I. (1990), Journal of Official Statistics 6: 3-73. Seasonal and trend strength as in Wang, Smith and Hyndman (2006), Data Mining and Knowledge Discovery 13: 335-364.

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next