Abstract
This paper analyzes insurance claim count data using a Regime-Switching Integer-Valued Generalized Autoregressive Conditional Heteroscedasticity (RS-INGARCH) model. Weekly claim counts from a Ugandan insurance company, spanning 2020–2024 and covering Motor Private and Motor Commercial lines of business, are used. The study examines both the COVID-19 period (March 2020–January 2022) and the post-COVID-19 period, which saw major structural shifts in claims. The RS-INGARCH model outperforms benchmark models such as the Integer-Valued Autoregressive (INAR) and single-regime INGARCH models, based on Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), Mean Squared Error (MSE), and out-of-sample forecasting accuracy. Performance gains were especially notable when the COVID-19 period was included, suggesting the RS-INGARCH(1,1) model better captures abrupt changes in claim dynamics. The Autocorrelation Function (ACF) plots and Ljung–Box test confirms reduced residual autocorrelation under RS-INGARCH(1,1), and the INGARCH(1,1) specification performed best among alternative lag choices. A two-regime specification was preferred over three regimes, as the latter introduced instability and overfitting due to limited data in infrequent regimes. The study recommends RS-INGARCH(1,1) models for forecasting and risk evaluation during periods of structural change, especially in emerging insurance markets.
Funding source: Direktoratet for Utviklingssamarbeid
Award Identifier / Grant number: NORAD, project no 68105
Acknowledgments
We thank our sponsors, NORHED II, and the principal investigators of the MATH4SDG project, Prof. John Mango Magero, Prof. Eunice Mureithi and Prof. Guttorm Alendal. We appreciate the insurance company for providing data and thank Geir D. Berentsen for his feedback that enhanced the quality of this work. We further extend our sincere appreciation to the two anonymous reviewers and the editor for their constructive comments and guidance throughout the review process.
-
Research ethics: Not applicable.
-
Informed consent: Not applicable.
-
Author contributions: Zabibu Afazali conceptualized the study, conducted the primary analysis, and drafted the manuscript as part of her PhD work under the supervision and guidance of Bård Støve, Juma Kasozi, and Saint Kizito Omala, who provided critical feedback. Bård Støve provided methodological input and extensively engaged throughout the data analysis, interpretation, writing, and approval of the results for the study. All authors reviewed the results, approved the final manuscript, and consented to its submission.
-
Use of Large Language Models, AI and Machine Learning Tools: During the preparation of this work, the authors used Grammarly for grammar and language editing. After applying this tool, the authors carefully reviewed, edited, and took full responsibility for the publication’s content.
-
Conflict of interest: The authors declare no conflicts of interest.
-
Research funding: This work has been supported by the Mathematics for Sustainable Development (MATH4SDG) project, which is a research and development project running in the period 2021–2026 at Makerere University-Uganda, the University of Dar es Salaam-Tanzania, and the University of Bergen-Norway, funded through the NORHED II program under the Norwegian Agency for Development Cooperation (NORAD, project no 68105).
-
Data availability: Data are available upon request and subject to approval. The insurance claim data used in this study are confidential and cannot be publicly shared due to privacy agreements. The insurance company’s name is not disclosed per the provider’s request.
A Analysis Using Post-COVID-19 Data Only (January 2022–December 2024)
As shown in Figure 8, the two-regime RS-INGARCH model differentiates low and high claim periods, while the three-regime model adds an intermediate state for a more detailed view of claim dynamics. Both models track claim patterns effectively, with regime probabilities showing shifts over time. The three-regime model provides smoother transitions and better captures variability in claim intensity, especially for Motor Private claims from early 2023 onwards (Figure 8).

Two-regime three-regime RS-INGARCH model results for weekly motor commercial (ugMC) and motor private (ugMP) claim counts. Top panels show predictions (black), bottom panels display regime probabilities, highlighting claim shift dynamics. (a) 2-RS-INGARCH. (b) 3-RS-INGARCH.
The model comparison results based on AIC, BIC, and MSE indicate that the regime-switching INGARCH models outperform both the standard INGARCH(1,1) and INAR(1) models for both Motor Commercial (MC) and Motor Private (MP) claims. Specifically, the 2-RS-INGARCH(1,1) model achieves the lowest AIC and MSE values for MC claims, suggesting superior fit and predictive accuracy. For MP claims, the 2-RS-INGARCH(1,1) also attains the lowest AIC and MSE, although the 3-RS-INGARCH(1,1) exhibits comparable performance (Table 6). Overall, the findings highlight the importance of accounting for regime shifts in modeling claim count dynamics (Figure 8).
Model comparison based on AIC, BIC, and MSE for motor commercial (MC) and motor private (MP).
| Model | Motor commercial (MC) | Motor private (MP) | ||||
|---|---|---|---|---|---|---|
| AIC | BIC | MSE | AIC | BIC | MSE | |
| INAR(1) | 776.00 | 781.64 | 3.655 | 691.80 | 697.42 | 2.255 |
| INGARCH(1,1) | 730.46 | 738.93 | 3.665 | 604.92 | 613.36 | 1.719 |
| 2-RS-INGARCH(1,1) | 641.69 | 661.44 | 1.573 | 594.17 | 613.86 | 1.312 |
| 3-RS-INGARCH(1,1) | 648.80 | 688.29 | 1.510 | 606.92 | 646.29 | 1.349 |
Figure 9 shows the predictive performance of the INAR(1), INGARCH(1,1), 2-RS-INGARCH, and 3-RS-INGARCH models for Motor Private (MP) and Motor Commercial (MC) claim counts. While regime-switching models display reasonable regime identification in the in-sample period (as seen in Figure 8), they fail to capture volatility and regime changes in the out-of-sample period. Among the models, the 3-RS-INGARCH offers relatively better fit, but all models underestimate sharp fluctuations in MP and short-term bursts in MC, reflecting limited adaptability in the post-COVID-19 environment (Figure 9).

Observed weekly claim counts (colored lines) and model predictions (black lines) for motor private (MP) and motor commercial (MC) using INAR(1), INGARCH(1,1), two-regime RS-INGARCH, and three-regime RS-INGARCH models.
Figure 10 presents the MSFE and Logarithmic Score for Motor Private (MP) in panel (a) and Motor Commercial (MC) in panel (b). For MP, the INGARCH model achieves the lowest MSFE, while the 2-RS-INGARCH and 3-RS-INGARCH start with higher errors but gradually converges toward the INGARCH. In terms of Logarithmic Score, however, both RS models outperform INGARCH by assigning higher probabilities to the realized outcomes. For MC, the 3-RS-INGARCH performs poorly under MSFE, showing the highest errors across the horizon, but achieves the best Logarithmic Score, outperforming both INGARCH and 2-RS-INGARCH. These results highlight a trade-off: MSFE favors simpler models, while FS reveals that regime-switching models sometimes better capture the underlying predictive distribution. While RS models didn’t consistently outperform simpler ones, they may still capture relevant dynamics. Limited data complicates estimating switching points and transition probabilities, leading to unstable regime classifications. Although regime-switching models have theoretical advantages for structural changes, their empirical performance may be limited by data scarcity or stability environments.

Out-of-sample forecast accuracy with upper panels showing Mean Square Forecasting Error (MSFE) and lower panels showing Logarithmic Scores. (a) MP. (b) MC.
References
Agosto, A., G. Cavaliere, D. Kristensen, and A. Rahbek. 2016. “Modeling Corporate Defaults: Poisson Autoregressions with Exogenous Covariates (parx).” Journal of Empirical Finance 38: 640–63. https://doi.org/10.1016/j.jempfin.2016.02.007.Search in Google Scholar
Al-Osh, M. A., and A. A. Alzaid. 1987. “First-Order Integer-Valued Autoregressive (Inar (1)) Process.” Journal of Time Series Analysis 8 (3): 261–75. https://doi.org/10.1111/j.1467-9892.1987.tb00438.x.Search in Google Scholar
Avanzi, B., G. Taylor, B. Wong, and A. Xian. 2021. “Modelling and Understanding Count Processes through a Markov-Modulated Non-Homogeneous Poisson Process Framework.” European Journal of Operational Research 290 (1): 177–95. https://doi.org/10.1016/j.ejor.2020.07.022.Search in Google Scholar
Bacri, T., G. D. Berentsen, J. Bulla, and S. Hølleland. 2022. “A Gentle Tutorial on Accelerated Parameter and Confidence Interval Estimation for Hidden Markov Models Using Template Model Builder.” Biometrical Journal 64 (7): 1260–88. https://doi.org/10.1002/bimj.202100256.Search in Google Scholar
Berentsen, G. D., J. Bulla, A. Maruotti, and B. Støve. 2022. “Modelling Clusters of Corporate Defaults: Regime-Switching Models Significantly Reduce the Contagion Source.” Journal of the Royal Statistical Society – Series C: Applied Statistics 71 (3): 698–722. https://doi.org/10.1111/rssc.12551.Search in Google Scholar
Boucher, J.-P., and R. Inoussa. 2014. “A Posteriori Ratemaking with Panel Data.” ASTIN Bulletin: The Journal of the IAA 44 (3): 587–612. https://doi.org/10.1017/asb.2014.11.Search in Google Scholar
Boucher, J.-P., M. Denuit, and M. Guillén. 2008. “Models of Insurance Claim Counts with Time Dependence Based on Generalization of Poisson and Negative Binomial Distributions.” Variance 2 (1): 135–62.Search in Google Scholar
Chen, J., and R. Tsay. 2011. “Extended Hamilton-Gray Algorithm for Regime-Switching Models.” Statistical Modelling 11 (3): 257–74.Search in Google Scholar
Eggleton, S. 2024. “Post-Covid-19 Recovery and Sustainable Development: An Insurance Perspective.” In Law and Sustainable Development After COVID-19, 283–308. Routledge.10.4324/9781003453499-17Search in Google Scholar
Ferland, R., A. Latour, and D. Oraichi. 2006. “Integer-Valued Garch Process.” Journal of Time Series Analysis 27 (6): 923–42. https://doi.org/10.1111/j.1467-9892.2006.00496.x.Search in Google Scholar
Fokianos, K., A. Rahbek, and D. Tjøstheim. 2009. “Poisson Autoregression.” Journal of the American Statistical Association 104 (488): 1430–9. https://doi.org/10.1198/jasa.2009.tm08270.Search in Google Scholar
Hamilton, J. D. 1989. “A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle.” Econometrica 57 (2): 357–84. https://doi.org/10.2307/1912559.Search in Google Scholar
Harvey, A. C., and C. Fernandes. 1989. “Time Series Models for Count or Qualitative Observations.” Journal of Business & Economic Statistics 7 (4): 407–17. https://doi.org/10.1080/07350015.1989.10509750.Search in Google Scholar
Heinen, A. 2003. Modelling Time Series Count Data: An Autoregressive Conditional Poisson Model. https://ssrn.com/abstract=1117187.10.2139/ssrn.1117187Search in Google Scholar
Hsiao, C. 2022. Analysis of Panel Data. Number 64 in Econometric Society Monographs. Cambridge University Press.Search in Google Scholar
IRA. 2023. “Annual Insurance Market Report.” Technical Report. Kampala: Insurance Regulatory Authority.Search in Google Scholar
Kaggwa, R. 2021. “Motor Insurance in uganda: Market Trends and Challenges.” Journal of African Insurance Studies 5 (2): 45–60.Search in Google Scholar
Karlis, D., and L. Meligkotsidou. 2005. “Multivariate Poisson Regression with Covariance Structure.” Statistics and Computing 15: 255–65. https://doi.org/10.1007/s11222-005-4069-4.Search in Google Scholar
Kristensen, K., A. Nielsen, C. W. Berg, H. Skaug, and B. Bell. 2015. “Tmb: Automatic Differentiation and Laplace Approximation.” arXiv preprint arXiv:1509.00660.10.18637/jss.v070.i05Search in Google Scholar
Liboschik, T., K. Fokianos, and R. Fried. 2017. “Tscount: An R Package for Analysis of Count Time Series Following Generalized Linear Models.” Journal of Statistical Software 82: 1–51. https://doi.org/10.18637/jss.v082.i05.Search in Google Scholar
Liu, M., F. Zhu, J. Li, and C. Sun. 2023. “A Systematic Review of Ingarch Models for Integer-Valued Time Series.” Entropy 25 (6): 922. https://doi.org/10.3390/e25060922.Search in Google Scholar
Mugisha, J., and A. Tumwesigye. 2020. “Enhancing Motor Insurance Coverage in Uganda: Product Innovations and Customer Perceptions.” Uganda Insurance Review 12 (1): 78–92.Search in Google Scholar
Paroli, R., G. L. Redaelli, and L. Spezia. 2000. “Poisson Hidden Markov Models for Time Series of Overdispersed Insurance Counts.” In Proceedings of the XXXI ASTIN Colloquium, 461–74. ASTIN.Search in Google Scholar
Ratnayake, I. P., and V. Samaranayake. 2023. “An Integer Garch Model for a Poisson Process with Time-Varying Zero-Inflation.” PLoS One 18 (5): e0285769. https://doi.org/10.1371/journal.pone.0285769.Search in Google Scholar
Weiß, C. H. 2008. “Thinning Operations for Modeling Time Series of Counts – A Survey.” AStA Advances in Statistical Analysis 92: 319–41. https://doi.org/10.1007/s10182-008-0072-3.Search in Google Scholar
Weiß, C. H. 2009. “Modelling Time Series of Counts with Overdispersion.” Statistical Methods and Applications 18: 507–19. https://doi.org/10.1007/s10260-008-0108-6.Search in Google Scholar
Zhu, F. 2012. “Modeling Time Series of Counts with com-Poisson Ingarch Models.” Mathematical and Computer Modelling 56 (9–10): 191–203. https://doi.org/10.1016/j.mcm.2011.11.069.Search in Google Scholar
Supplementary Material
This article contains supplementary material (https://doi.org/10.1515/apjri-2025-0011).
© 2025 Walter de Gruyter GmbH, Berlin/Boston