Understanding attrition bias in longitudinal data

Longitudinal data, or data collected multiple times from the same cases, is very exciting because it lets us see how people change in time. To collect it, we go back to the same respondents again and again. Unfortunately that also means that some of them will stop taking part. This is called attrition. In this guide, you will see how attrition bias appears, how survey methodologists measure it, how large it is in a real study and how the amount of attrition and the type of people who leave change our results.

Start with a population

Let’s imagine we want to know how healthy the people in a small town are. Each dot is one person with a physical health score between 0 and 100, where higher scores mean better health. The average for the whole town is 50, and this is the number we would like to estimate.

Hover or tap any dot to see that person’s score.

A town of 800 people
Each dot is one person, placed by their health score
A town of 800 people

Taking a random sample

We rarely have the time or the money to ask everyone. So, we draw a sample, where every person has the same chance of being selected. The average health of the sample is close to that of the town, but it is rarely identical. Another sample would give a slightly different number. This is sampling error. It goes in both directions, gets smaller as samples get bigger and is what determines the size of confidence intervals or our precision.

Press “Draw another sample” a few times. Each tick under the dots is the average of one sample, and they scatter around the true value.

Not everyone takes part

Selecting people is just the first step. We then have to find them and convince them to take part. Some will be away, some too busy and some will simply refuse. This is called unit non-response. When someone takes part but skips a question, we call it item non-response.

Here, 4 in 10 of the people we selected do not take part (the hollow circles). For now they are a random subset of the sample, so the average of those who did take part stays close to the average of everyone we selected. We just have fewer people and a less precise estimate.

Who does not take part matters

Unfortunately, non-response is rarely random. People in poorer health might find a long interview harder, or be in hospital when the interviewer calls. In the figure, the people in poorer health are now less likely to take part, and the hollow circles bunch up on the left. Those who took part are healthier than the sample as a whole, so their average is pulled to the right.

The gap between the average of those who took part and the average of everyone we selected is non-response bias. Unlike sampling error, it stays the same however big the sample is. A bigger sample would only give us a more precise estimate of the wrong value.

Inviting the same people again

In a longitudinal study we go back to the people who took part in the first wave and invite them again. Each column is now one wave, and each dot is one person. At every wave some people do not take part. This is attrition, and the losses add up. In Understanding Society, a large UK panel study, about a quarter of the people from the first wave did not give a full interview in the second, and only half gave a full interview at all in the first five waves. Here, 16% of those still in the study leave at each wave, so about half remain by wave 5.

Some people miss a wave and come back later, but not many. In Understanding Society, only about one in five of those missing at wave 2 gave a full interview again by wave 5, so here, once people leave, they do not come back. For now they leave at random, so the average of those still taking part (teal line) stays close to the average of everyone from the first wave (dashed line).

When leaving is linked to health

Now imagine that the people in poorer health are more likely to leave. The health of the group as a whole does not change (dashed line), but the average of those still taking part drifts up over the waves. The people who remain look healthier because the less healthy ones have left.

If we took this at face value, we might conclude that health improves in time. So, attrition bias can look exactly like change, and it builds up with every wave. To make this easy to see, the link between health and leaving is much stronger here than in most real studies. We will look at real numbers in a moment.

Measuring attrition bias

Survey methodologists describe this bias with a simple formula. If we use the average of the people who took part to estimate the average of everyone we selected, the bias is:

bias(yr) = m/n × (yr − ym)

Where:

  • m/n is the share of the sample that did not take part, with m non-respondents out of n people selected.
  • yr is the average of those who took part.
  • ym is the average of those who did not.

In the figure, the formula becomes a rectangle. The width is the share who did not take part, the height is how different they are from those who did, and the area is the bias. The starting values come from the non-response example above. Drag the corner of the rectangle, or use the sliders, to try other combinations.

The curved lines join the combinations that give the same bias. For example, 20% non-response with a difference of 10 points gives a bias of 2 points, exactly like 50% non-response with a difference of 4 points. So, the response rate on its own tells us little about bias. We also need to know how different the people who are missing are. A meta-analysis by Groves and Peytcheva found that response rates are poor predictors of non-response bias.

Attrition makes the rectangle wider

The same formula works at every wave of a longitudinal study. Now n is the number of people who took part in the first wave, m is how many of them have left, and the difference is between those who stay and those who left. Each dot in the figure is one wave from the example where people in poorer health were more likely to leave.

With every wave more people are missing, so the rectangle gets wider. The people who remain also become more and more different from those who left, so it usually gets taller too. So, attrition bias tends to grow over the life of a study. Pick a wave under the figure to see its rectangle.

Attrition bias in a real study

So far we have used simulated data, with a link between health and leaving that is stronger than usual. Let’s look at Understanding Society. In its general population sample, 41,046 people gave a full interview in the first wave. Of these, 76% gave one again in wave 2, 56% in wave 5 and 36% in wave 11. In a real study we do not know how healthy people are once they have left. We do know what everyone said in the first wave, so we can use the formula to calculate how much attrition biases the averages of those answers.

The figure shows this bias for five variables, in standard deviations so they can be compared. The people who stay are more educated and better off. By wave 11, 27% of those still taking part have a degree, against 21% of everyone from the first wave, and their monthly income is about £200 higher. Health and life satisfaction are biased less, although the gap only opens up from wave 4. Before that, all the lines are close to zero. The share who left is almost the same for every variable, so the differences between them come from how different the leavers are on each one. Pick a variable under the figure to see its numbers.

These biases look small, around a tenth of a standard deviation. That being said, for most variables they are still growing at wave 11. This is why panel studies such as Understanding Society provide weights.

Simulating your own study

Let’s put all of this together. Here you can choose how many people leave at each wave, how strongly leaving is linked to their health in the previous wave and how many people we follow. The teal line is the average of those still taking part, with its 95% confidence interval, and the dashed line is the true average of everyone we started with. The shaded area between them is the bias.

A few things to note. When people leave at random, even heavy attrition mostly costs us precision. The intervals get wider, but they stay around the true value. When leaving is linked to health, attrition bias grows with every wave. Try “Realistic, like income”, which gives a bias about as large as the one for income in Understanding Society by wave 5. With 1,000 people the bias is lost in the sampling error and the interval includes the true value. With 10,000 people the interval is much narrower while the bias stays about the same, so the interval no longer includes the true value.

WaveTaking partAverage, taking partTrue averageBias

Simulated data. Bias is the average of those taking part minus the average of everyone we started with.

What can we do about attrition bias?

Prevent it
Keeping people in the study is the most direct way to limit attrition. Panel studies keep in touch with participants between waves, trace those who move, offer incentives and try to keep the same interviewer.
Measure it
We know quite a lot about the people who leave, because we collected their data at the earlier waves. Comparing those who stay with those who leave on their first-wave answers tells us who is missing. The post on measuring attrition bias shows how to do this in R.
Correct for it
Weights give more importance to the people who resemble those who left, and studies such as Understanding Society provide longitudinal weights. Models that use all the available data also help, such as the multilevel model for change or a latent growth model estimated with full information maximum likelihood, and so does multiple imputation. These methods only work when leaving depends on things we observed, such as health in the previous wave.
Check how sensitive the results are
If leaving depends on things we did not observe, such as a sudden drop in health just before the interview, no method can fully remove the bias. Sensitivity analyses show how much the results would change under different assumptions about the people who left.

Want to go further?

These ideas are the foundation of every longitudinal method. To learn how to apply them to your own data, take a course or read the book.

Browse the courses Get the book