1Department of Econometrics, Statistics and Applied Econometrics, Riskcenter-IREA, Universitat de Barcelona (UB), Avinguda Diagonal 690, 08034 Barcelona, Spain
2Centre de Recerca Matemàtica, Universitat Autònoma de Barcelona (UAB), 08193 Cerdanyola del Vallès, Spain
3Departament de Matemàtiques, Universitat Autònoma de Barcelona (UAB), Edifci C, Campus de Bellaterra, 08193 Cerdanyola del Vall̀es, Spain
4Research group on Psychosocial risks, Organization of Work and Health (POWAH), Universitat Autònoma de Barcelona (UAB), Cerdanyola del Vallès, Spain
5Unitat de Bioestadística, Facultat de Medicina, Universitat Autònoma de Barcelona, Cerdanyola del Vallès, Spain
© The Author(s) 2022
Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.