When COVID-19 lockdowns disrupted healthcare in 2020, insurance companies discarded their data; claims had dropped 15%, and patterns made no sense. A new paper in Insurance: Mathematics and Economics shows how to rescue that information by measuring the pandemic’s distortion precisely enough to subtract it.
So, insurers did what seemed reasonable; they threw the data away.
“What surprised me most was the solution insurance companies had found,” says David Moriña, a mathematician at the Universitat Autònoma de Barcelona and affiliated researcher at the Centre de Recerca Matemàtica. “They were discarding 2020 data completely. Just jumping from 2019 forward.”
The move wasn’t irrational. Premium calculations depend on predictable patterns of healthcare usage, and 2020 bore no resemblance to normal years. But it left companies navigating blind through 2021 and 2022, unsure whether post-pandemic behaviour had stabilised. Were the numbers from those years trustworthy, either? Where did the disruption begin and end?
In a paper published in Insurance: Mathematics and Economics, Moriña and his collaborators, Amanda Fernández-Fontelo, also at Universitat Autònoma de Barcelona, and Montserrat Guillén at Universitat de Barcelona, saw a different possibility. What if you could measure the pandemic’s distortion precisely enough to subtract it? The data wouldn’t need to be discarded. It could be corrected.
The work fits into a broader research line Moriña has been developing for some time: methodological proposals for evaluating interventions. “In this case, it’s in the context of health insurance,” he says, “but it’s more general than that.”
The Counterfactual Problem
The mathematical challenge was one of counterfactuals, estimating what would have happened if the pandemic had never occurred. This meant building a model that could predict healthcare usage patterns week by week, trained on pre-pandemic behaviour, then comparing those predictions against what happened.
The gap between prediction and reality quantifies the shock.
“What we expect from data is that it reflects reality in some way. Then, through our methodological proposal, we recover that reality a bit.”
The research team used Bayesian structural time series models, a framework that treats observed data as emerging from hidden states evolving. Think of it as separating signal from noise in a rigorous way. The model captures seasonal patterns, holiday effects, and underlying trends, then forecasts what the “normal” trajectory would have been.
For one of Spain’s largest private insurers, the numbers told a stark story. Median claims rates in 2020 sat 15% below 2019 levels. Then they rebounded: 11% above baseline in 2021, 8% higher in 2022. But those aggregate figures masked profound variation.
People over 60 showed the sharpest initial drop, down 22% in 2020. But unlike younger patients, their usage never recovered. By 2022, it remained 3% below pre-pandemic levels, though the effect wasn’t statistically significant. The data had photographed a grim reality: COVID-19 killed disproportionately among older adults with existing health conditions. Those who survived were, on average, healthier than the 2019 population of over-60 policyholders had been.
A mortality effect, captured as data.
One Model to Fit Many Stories
The methodology treats all healthcare services identically, applying the same mathematical framework to cardiology, oncology, general medicine, and osteopathy. Yet each speciality told a different story.
General medicine barely dipped in 2020, just 1.2% down, because COVID-19 testing ran through those clinics. By 2022, visits were 21% above baseline. Osteopathy, considered less urgent, collapsed by 26% before rebounding to 24% above pre-pandemic levels. Cardiology fell 13% and recovered to 12% above baseline. Oncology held steadier, reflecting that cancer treatments were delayed as little as possible despite hospital strain.
Geography mattered too. Madrid saw a 19% drop in 2020 but only modest increases afterwards: 2.5% above baseline in 2021, 3.2% in 2022. Barcelona and Valencia experienced smaller initial drops (both 12%) but stronger rebounds: Barcelona reached 18% above baseline in 2021, Valencia 21%.
“We propose going in a somewhat finer way, looking at specialities, different cities, different patient subgroups,” Moriña says. “But there’s also a more generic proposal for a general correction.” The choice depends on what data are available and whether the patterns vary enough to justify separate adjustments.
“You have values that allow you to correct this pandemic period in general, without looking at speciality or age or anything,” he explains. “But if you have this information available, then it’s also interesting to look at it because there can be nuances and different behaviours.”
The framework is flexible by design. One correction factor for the whole portfolio, or dozens tailored to age groups, locations, and medical services.
Making the Unusable, Usable
The practical application is straightforward. Insurance analysts typically model expected claims using a Poisson regression, where the number of claims depends on patient characteristics and exposure time (how long a policy was active during the year).
The paper’s correction works through that exposure term. If the pandemic reduced healthcare usage by 15% in 2020, you can think of policyholders as having been exposed to only 85% of a normal year’s worth of healthcare opportunities, even if their policy was active all twelve months. Adjust the exposure accordingly before running the regression, and the model estimates what claims frequency would have been absent the shock.
The team demonstrated this on cardiology data stratified by age and sex. Models fit to 2019 alone, 2020 alone, or all years without correction produced meaningfully different risk estimates. But a model incorporating the shock correction across 2019-2022 synthesised the full dataset into coherent parameters. Older adults showed 1.91 times higher cardiology claim rates than those aged 30-60, net of pandemic effects.
This matters for premium calculations. Using the corrected data, the model estimated what total cardiology costs would have been from 2019-2022 without COVID-19. Against actual costs of roughly €13 million, the counterfactual scenarios suggested the pandemic created between €150,000 and €400,000 in excess costs, depending on the correction’s granularity.
The methodology doesn’t just identify a problem. It provides a usable tool. “Usually what happens is that the methodological proposal we end up developing is applicable beyond the particular problem we wanted to address,” Moriña says. “But I think that’s not necessarily what we’re looking for. I like to start from a specific problem, find a methodology that solves that specific problem, and if it can be generalised, which usually happens, then fantastic.” In this case, generalisation was part of the goal: a method insurance companies could use to incorporate pandemic data into their calculations for risk assessment and premium pricing.
From Mental Health to Gender Violence Reporting
The work is detective work, essentially. You start with hypotheses, follow the clues in the data, and construct a narrative from what the model reveals about reality. “What we expect from data is that it reflects reality in some way,” Moriña says. “Then, through our methodological proposal, we recover that reality a bit.”
That approach defines Moriña’s research more broadly. It requires access to messy, real-world data and understanding what problems researchers are facing. “We work a lot in public health,” he explains, “so we’re interested in knowing what problems they’re finding difficult to approach with classical methodologies, whether because there’s an intervention, or an unexpected shock like the pandemic, and they need innovation or some new method to address these problems that matter to them.”
The collaboration works both ways. “What we bring to researchers, especially in the health field, is this perspective of being able to make a mathematically robust methodological proposal that adapts and allows a response to the question and the problem they’re already addressing,” he says. Researchers come with a problem they need to solve, unconvinced that traditional approaches will give them the answer they need.
“Sometimes we don’t even need to develop a new methodological proposal. With our expertise, we can suggest the best existing way to approach a problem. And when necessary, we develop something new. It’s really the engine that drives the work,” he says. “Starting from a specific problem, and from there finding the methodological proposal that allows us to address it.”
The pandemic shock method, for instance, isn’t limited to health insurance. Any time series disrupted by a sudden external event could, in principle, be corrected the same way. Different fields have different needs and interests, different questions requiring different approaches. But there’s a common thread. “For example, in the field of gender-based violence, it’s not the main focus, but there’s also an underlying line of analysing an intervention”, in that case, training for primary care professionals to help detect cases. The same thread runs through work on vaccine impact and training programs. A current project with Barcelona’s Public Health Agency evaluates the effect of training some primary care teams on paediatric vaccines, while others received no training.
“This line of evaluating interventions is ultimately where this article fits,” Moriña says. “It’s not an intervention, it’s the pandemic, but it’s something that happens and alters the behaviour of a dynamic system or a time series.” Beyond the particular case of insurance data, he sees this rigorous evaluation of interventions as essential. “I think it’s important to scrutinise public policies a bit, and the money invested in these policies, to try to ensure that the interventions being made are efficient and effective.”
Looking forward, his attention remains on public health questions with social translation. Gender-based violence, he notes, is heavily underreported, and primary care clinics could become a key detection point. Mathematical methods that account for hidden cases and assess interventions rigorously might help.
But the insurance paper, published late last year, already suggests one clear implication: that the pandemic’s effects on healthcare data haven’t fully faded. Which raises a question insurers likely haven’t stopped asking: when, exactly, does “normal” return?
about david moriña
David Moriña is associate professor (professor agregat) at the Department of Mathematics of the Universitat Autònoma de Barcelona and affiliated researcher at the Centre de Recerca Matemàtica. Previously he was lecturer at the Department of Statistics of the Universitat de Barcelona (until September 2024), and had postdoctoral stays at research centers as the Center for Research in Environmental Epidemiology and the Catalan Institute of Oncology. His research interests lie in mathematical modeling for epidemiology and public health, with particular focus on health economics. He has led research projects funded by Spanish Ministry of Science and Innovation, the Spanish Ministry of Health and private institutions.
reference
Moriña, D., Fernández-Fontelo, A., & Guillén, M. (2025). Back to normal? A method to test and correct a shock impact on healthcare usage frequency data. Insurance: Mathematics and Economics, 126, 103175. https://doi.org/10.1016/j.insmatheco.2025.103175
Subscribe for more CRM News
|
|
CRM CommPau Varela
|
Almost every automaton can be reset with a short word
Guillaume Chapuy (Université Paris Cité, CNRS) and Guillem Perarnau (UPC, CRM) have shown that a random finite automaton with n states can, with high probability, be reset by a word of length of order √n log n. The result, published in ACM Transactions on Algorithms, pins the exponent at 1/2, the lower end of a decade of numerical estimates, and addresses the random version of the synchronization problem behind a conjecture Ján Černý posed in 1964 and which still remains open.
Exposició ‘Les matemàtiques de Gaudí’
CRM quod erat demonstrandum | 48
ADA: Decoding Brain Signals Misaligned in Time
The study addresses a key limitation of current brain decoding techniques: the difficulty of interpreting internal mental processes whose temporal dynamics vary from trial to trial.Decoding what is happening in a person’s mind from their brain activity is one of the...
Rare curves, many points: Christophe Ritzenthaler and Rachel Pries on their research and the work around it
Christophe Ritzenthaler (Université de Rennes) and Rachel Pries (Colorado State University) both work on curves over finite fields: he hunts curves with as many points as possible, she hunts curves that almost never occur. In conversation with the CRM during their...
Call open for the 2027 Ferran Sunyer i Balaguer Prize
The Ferran Sunyer i Balaguer Foundation is accepting submissions for its 2027 prize, which awards 15,000 euros and publication in Birkhäuser's Progress in Mathematics series to an expository monograph on an active area of mathematical research. The deadline is 27...
Susanna Terracini delivers the CRM Colloquium 2026
Susanna Terracini (Università di Torino) delivered the CRM Colloquium 2026 on 14 July, presenting a rigidity result for Kepler billiards obtained with Stefano Baranzini, Vivina Barutello and Irene De Blasi. She was at the centre as a member of the CRM Scientific...
Ho Chi Minh City hosts the SEAMS School on applying mathematics to real-world problems
Students from across the region took courses and worked on group projects at a school co-organised by CRM researcher Tim Myers.CRM CommPau VarelaCRMComm@crm.catGet the latest CRM news and activities in your inbox.Recent newsletters →Between 4 and...
A single ball on a fixed table can compute: Eva Miranda and Isaac Ramos prove that two-dimensional billiards are Turing complete
Eva Miranda (UPC, CRM) and Isaac Ramos (ETH Zürich) show that a point particle bouncing inside a planar table with fixed walls can simulate a universal Turing machine, settling a question Cristopher Moore left open in 1990. The result grew out of a master’s project...
BMS-BGSMath Junior Meeting 2026: Barcelona and Berlin Strengthen Scientific Ties
From 2 to 4 September 2026, the Centre de Recerca Matemàtica (CRM) hosted the BMS-BGSMath Junior Meeting 2026, a three-day event jointly organised by the Berlin Mathematical School (BMS) and the Barcelona Graduate School of Mathematics (BGSMath), with the Centre de...
The CRM organises the 2026 Barcelona Summer School for Advanced Modeling of Behavior
The Centre de Recerca Matemàtica held the sixth edition of BAMB!, the Barcelona Summer School for Advanced Modeling of Behavior, from 12 to 23 July 2026 at the Parc de Recerca Biomèdica de Barcelona. Thirty early-career researchers from fourteen countries followed...
Mallorca’s 1820 plague did not behave like a classic bubonic outbreak, study finds
A study in PNAS by Pere Puig (UAB, CRM) and Joana Maria Pujadas-Mora (UOC, ICREA) reports what happens when the daily health records kept in Son Servera and Capdepera during the 1820 outbreak are analysed with a Bayesian epidemiological model: an unusually short...












