← Latest papers
📊 epidemiology

serocalculator, an R package for estimating seroincidence from cross-sectional serological data

The paper introduces **serocalculator**, an open-source R package that utilizes a likelihood-based framework to estimate seroincidence rates from cross-sectional serological data by integrating antibody decay models, biological variability, and measurement noise.

Original authors: Lai, K. W., Orwa, C., Seidman, J. C., Garrett, D. O., Saha, S. K., Tamrakar, D., Qamar, F. N., Charles, R., Andrews, J. R., Teunis, P., Aiemjoy, K., Morrison, D. E.

Published 2026-07-22
📖 5 min read🧠 Deep dive

Original authors: Lai, K. W., Orwa, C., Seidman, J. C., Garrett, D. O., Saha, S. K., Tamrakar, D., Qamar, F. N., Charles, R., Andrews, J. R., Teunis, P., Aiemjoy, K., Morrison, D. E.

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you are a detective trying to solve a mystery, but the crime scene is invisible. You can't see the thieves, and they don't leave footprints. All you have is a snapshot of the neighborhood taken at one single moment in time. In the world of public health, this "neighborhood" is a population of people, and the "thieves" are invisible germs like bacteria or viruses. Usually, doctors rely on sick people showing up at the hospital to count how many infections are happening. But what if the germs are sneaky? What if most people get infected but never feel sick enough to visit a doctor? In those cases, the hospital records are like a broken map—they miss the vast majority of the action.

To solve this, scientists use a tool called a "serosurvey." Instead of asking people if they are sick, they take a tiny drop of blood from many people and look for "wanted posters" inside their immune systems. These posters are called antibodies. When your body fights a germ, it creates these antibodies. They rise up quickly after an infection and then slowly fade away, like a campfire turning into embers and then ash. By measuring how much of these "wanted posters" are left in a person's blood, scientists can guess how recently they might have encountered the germ. The big challenge is figuring out the exact speed at which new infections are happening (the "seroincidence") just by looking at this single snapshot of fading campfires, especially since every person's immune system burns at a different rate and the measuring tools aren't perfect.

Enter serocalculator, a new digital toolbox created by a team of researchers to solve this exact puzzle. Think of it as a super-smart time machine for blood samples. The paper introduces this R package (a collection of computer code for statisticians) as a way to turn a static photo of a crowd's antibodies into a dynamic movie of how fast a disease is spreading.

Here is how the magic works. The tool needs three special ingredients to start its engine. First, it needs a "recipe" for how antibodies behave after an infection—how fast they rise and how fast they fade. This recipe comes from studying people who were definitely infected and watching their blood over time. Second, it needs to know about the "noise" in the system. This includes the natural differences between people's immune systems (biological noise) and the tiny errors that happen when a lab machine reads a blood sample (measurement noise). Third, it needs the actual data: a list of antibody levels from a cross-sectional survey, which is that single snapshot of the population mentioned earlier.

Once you feed these three ingredients into serocalculator, it uses a clever mathematical method called "maximum likelihood estimation." Imagine you are trying to guess how many new campfires started in a forest yesterday, but you can only see the smoke and embers today. The tool tests millions of different scenarios to find the one that makes the most sense of what it sees. It asks, "If the infection rate was X, would we see this exact pattern of antibodies?" It then picks the rate that fits the data best, while carefully accounting for the fact that some people's antibodies fade faster than others and that the lab machine might be slightly off.

The paper demonstrates this tool using real data from countries like Bangladesh, Nepal, and Pakistan, focusing on a disease called enteric fever. When they ran the numbers, the tool found some fascinating things. For example, in Pakistan, it estimated there were about 128 new infections per 1,000 person-years (with a range of 115 to 142). In Bangladesh, the numbers were even higher for a specific group: children aged 5 to 15 were experiencing a staggering 477 new infections per 1,000 person-years (with a range of 418 to 544). These numbers are much higher than what hospitals usually report, suggesting that the "invisible" infections are far more common than we thought.

The authors are careful to point out that this tool isn't a magic wand that solves everything. It works best when the infection rate is steady and when people aren't getting infected over and over again in a way that confuses the antibody patterns. If a place has so many infections that people are constantly getting "boosted" by new exposures, the tool's estimates might get a little wobbly. The researchers admit that in these high-burden situations, the numbers should be interpreted with caution, and they are already working on ways to make the tool even smarter to handle those complex scenarios.

What makes serocalculator special is that it doesn't just give a single number; it gives a range of confidence and allows scientists to slice the data up. You can ask, "How fast is the disease spreading in children versus adults?" or "How does it differ between two different cities?" It also comes with a friendly, point-and-click interface (called a Shiny app) so that people who aren't coding wizards can still use it.

In short, this paper doesn't just present a new way to count germs; it offers a clearer lens to see the invisible. By combining the science of how antibodies fade with the reality of lab errors and human differences, serocalculator helps public health officials see the true size of the problem. It suggests that for diseases like enteric fever, the real number of infections is likely much higher than what we see in hospitals, which is a crucial clue for deciding where to send vaccines and how to protect the most vulnerable people. The tool is now freely available for anyone to use, promising to turn more "snapshots" of blood into a clearer picture of our health.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →