IDEAS home Printed from https://ideas.repec.org/p/zbw/esconf/343875.html

Feature Selection for CASCO Insurance Pricing in Bosnia and Herzegovina: A Machine Learning Approach with XGBoost

Author

Listed:
  • Filipović, Slađana
  • Kozarević, Safet
  • Mujić, Haris

Abstract

Digitalization has expanded insurers' databases, making machine learning (ML) a valuable tool for identifying key rsik factors in casco insurance pricing. While Generalized Linear Models (GLM) remain the standard, modelling claims frequency and severity separately is essential for accurately assessing the impact of each feature. Extreme gradient boosting (XGBoost), an ensemble ML method, can complement traditional GLM by improving predictive accuracy through feature selection. This study investigates a proposed hybrid XGBoost-GLM approach using a real-world dataset of 116.205 casco policies from a Bosnian insurer covering the period 2011-2023. The results show that XGBoost-based feature selection did not outperform the baseline GLM, which included all initial features without any selection. Deviance analysis confirmed that the baseline GLM with the full initial set of features achieved lower deviance and represented the optimal specification for the frequency-severity models. The modelling process was conducted in the R software environment (R Core Team, 2025).

Suggested Citation

  • Filipović, Slađana & Kozarević, Safet & Mujić, Haris, 2025. "Feature Selection for CASCO Insurance Pricing in Bosnia and Herzegovina: A Machine Learning Approach with XGBoost," EconStor Conference Papers 343875, ZBW - Leibniz Information Centre for Economics.
  • Handle: RePEc:zbw:esconf:343875
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/343875/1/ABS41-Corrected-Final.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Kuhn, Max, 2008. "Building Predictive Models in R Using the caret Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 28(i05).
    2. Banghee So, 2024. "Enhanced gradient boosting for zero-inflated insurance claims and comparative analysis of CatBoost, XGBoost, and LightGBM," Scandinavian Actuarial Journal, Taylor & Francis Journals, vol. 2024(10), pages 1013-1035, November.
    3. Mohamed Hanafy & Ruixing Ming, 2021. "Machine Learning Approaches for Auto Insurance Big Data," Risks, MDPI, vol. 9(2), pages 1-23, February.
    4. Carina Clemente & Gracinda R. Guerreiro & Jorge M. Bravo, 2023. "Modelling Motor Insurance Claim Frequency and Severity Using Gradient Boosting," Risks, MDPI, vol. 11(9), pages 1-20, September.
    5. Esmeralda Brati & Alma Braimllari & Ardit Gjeçi, 2025. "Machine Learning Applications for Predicting High-Cost Claims Using Insurance Data," Data, MDPI, vol. 10(6), pages 1-22, June.
    6. Jessica Pesantez-Narvaez & Montserrat Guillen & Manuela Alcañiz, 2019. "Predicting Motor Insurance Claims Using Telematics Data—XGBoost versus Logistic Regression," Risks, MDPI, vol. 7(2), pages 1-16, June.
    7. Roel Henckaerts & Marie-Pier Côté & Katrien Antonio & Roel Verbelen, 2021. "Boosting Insights in Insurance Tariff Plans with Tree-Based Machine Learning Methods," North American Actuarial Journal, Taylor & Francis Journals, vol. 25(2), pages 255-285, April.
    8. Xiaoshan Su & Manying Bai, 2020. "Stochastic gradient boosting frequency-severity model of insurance claims," PLOS ONE, Public Library of Science, vol. 15(8), pages 1-24, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Thomas Poufinas & Periklis Gogas & Theophilos Papadimitriou & Emmanouil Zaganidis, 2023. "Machine Learning in Forecasting Motor Insurance Claims," Risks, MDPI, vol. 11(9), pages 1-19, September.
    2. Zhiyu Quan & Changyue Hu & Panyi Dong & Emiliano A. Valdez, 2024. "Improving Business Insurance Loss Models by Leveraging InsurTech Innovation," Papers 2401.16723, arXiv.org.
    3. Jaiswal, Rachana & Gupta, Shashank & Tiwari, Aviral Kumar, 2024. "Big data and machine learning-based decision support system to reshape the vaticination of insurance claims," Technological Forecasting and Social Change, Elsevier, vol. 209(C).
    4. Gadir Alomair, 2024. "Predictive performance of count regression models versus machine learning techniques: A comparative analysis using an automobile insurance claims frequency dataset," PLOS ONE, Public Library of Science, vol. 19(12), pages 1-12, December.
    5. Esmeralda Brati & Alma Braimllari & Ardit Gjeçi, 2025. "Machine Learning Applications for Predicting High-Cost Claims Using Insurance Data," Data, MDPI, vol. 10(6), pages 1-22, June.
    6. Marian Reiff & Erik Šoltés & Silvia Komara & Tatiana Šoltésová & Silvia Zelinová, 2022. "Segmentation and estimation of claim severity in motor third-party liability insurance through contrast analysis," Equilibrium. Quarterly Journal of Economics and Economic Policy, Institute of Economic Research, vol. 17(3), pages 803-842, September.
    7. Codruţa Mare & Daniela Manaţe & Gabriela-Mihaela Mureşan & Simona Laura Dragoş & Cristian Mihai Dragoş & Alexandra-Anca Purcel, 2022. "Machine Learning Models for Predicting Romanian Farmers’ Purchase of Crop Insurance," Mathematics, MDPI, vol. 10(19), pages 1-13, October.
    8. Zuleyka Díaz Martínez & José Fernández Menéndez & Luis Javier García Villalba, 2023. "Tariff Analysis in Automobile Insurance: Is It Time to Switch from Generalized Linear Models to Generalized Additive Models?," Mathematics, MDPI, vol. 11(18), pages 1-16, September.
    9. Prabal Das & D. A. Sachindra & Kironmala Chanda, 2022. "Machine Learning-Based Rainfall Forecasting with Multiple Non-Linear Feature Selection Algorithms," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 36(15), pages 6043-6071, December.
    10. Jie Zhao & Ji Chen & Damien Beillouin & Hans Lambers & Yadong Yang & Pete Smith & Zhaohai Zeng & Jørgen E. Olesen & Huadong Zang, 2022. "Global systematic review with meta-analysis reveals yield advantage of legume-based rotations and its drivers," Nature Communications, Nature, vol. 13(1), pages 1-9, December.
    11. Piaopiao Chen & Agnès H. Michel & Jianzhi Zhang, 2022. "Transposon insertional mutagenesis of diverse yeast strains suggests coordinated gene essentiality polymorphisms," Nature Communications, Nature, vol. 13(1), pages 1-15, December.
    12. Paulo Infante & Gonçalo Jacinto & Anabela Afonso & Leonor Rego & Pedro Nogueira & Marcelo Silva & Vitor Nogueira & José Saias & Paulo Quaresma & Daniel Santos & Patrícia Góis & Paulo Rebelo Manuel, 2023. "Factors That Influence the Type of Road Traffic Accidents: A Case Study in a District of Portugal," Sustainability, MDPI, vol. 15(3), pages 1-16, January.
    13. Li, Li & Li, Han & Panagiotelis, Anastasios, 2025. "Boosting domain-specific models with shrinkage: An application in mortality forecasting," International Journal of Forecasting, Elsevier, vol. 41(1), pages 191-207.
    14. Apostolos Ampountolas & Titus Nyarko Nde & Paresh Date & Corina Constantinescu, 2021. "A Machine Learning Approach for Micro-Credit Scoring," Risks, MDPI, vol. 9(3), pages 1-20, March.
    15. Ephrem Habyarimana & Faheem S Baloch, 2021. "Machine learning models based on remote and proximal sensing as potential methods for in-season biomass yields prediction in commercial sorghum fields," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-23, March.
    16. Banks, Jonathan & Rabbani, Arif & Nadkarni, Kabir & Renaud, Evan, 2020. "Estimating parasitic loads related to brine production from a hot sedimentary aquifer geothermal project: A case study from the Clarke Lake gas field, British Columbia," Renewable Energy, Elsevier, vol. 153(C), pages 539-552.
    17. Crespo, Cristian, 2020. "Two become one: improving the targeting of conditional cash transfers with a predictive model of school dropout," LSE Research Online Documents on Economics 123139, London School of Economics and Political Science, LSE Library.
    18. María Adelaida Gómez & Ashton Trey Belew & Deninson Alejandro Vargas & Lina Giraldo-Parra & Neal Alexander & David E. Rebellón-Sánchez & Theresa A. Alexander & Najib M. El-Sayed, 2025. "Innate biosignature of treatment failure in human cutaneous leishmaniasis," Nature Communications, Nature, vol. 16(1), pages 1-14, December.
    19. Alexander Wettstein & Gabriel Jenni & Ida Schneider & Fabienne Kühne & Martin grosse Holtforth & Roberto La Marca, 2023. "Predictors of Psychological Strain and Allostatic Load in Teachers: Examining the Long-Term Effects of Biopsychosocial Risk and Protective Factors Using a LASSO Regression Approach," IJERPH, MDPI, vol. 20(10), pages 1-20, May.
    20. Tang, Kayu & Parsons, David J. & Jude, Simon, 2019. "Comparison of automatic and guided learning for Bayesian networks to analyse pipe failures in the water distribution system," Reliability Engineering and System Safety, Elsevier, vol. 186(C), pages 24-36.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:zbw:esconf:343875. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/zbwkide.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.