Skip to main content

    Thinking Dictionary

    Selection bias

    What it is

    Selection bias is a distortion caused by which people or cases end up in the data you analyse. It can come from who joins a study, who stays in it, or which cases get counted at the end.¹˒²˒³

    One research guide defines it as what happens "when individuals or groups in a study differ systematically from the population of interest leading to a systematic error in an association or outcome."¹ Systematic means the error pushes results in a particular direction, rather than bouncing around at random. An association is a link between two things, such as "people who do X tend to have Y."

    A psychology dictionary describes the closely related sampling bias as "systematic and directional error involved in the choice of units, cases, or participants from a larger group for study." It notes that this is also called selection bias.²

    Why it matters

    Selection bias isn't only about a sample that "doesn't look like everyone." It can also bend comparisons and links between things.¹˒³ Two groups can look different, or a habit can look helpful, because of who was let in or kept.¹˒³

    There are a few common routes.

    Who gets in. People who volunteer or opt in can differ systematically from people who don't. Names for this include self-selection bias and volunteer bias.²˒³

    Who stays. In studies that run over time, some people drop out. That loss is called attrition.⁴ Dropout can distort a comparison when who drops out depends both on which group people were in and on how things are going for them, meaning the outcome or something behind it.³ This can happen even in a randomized trial.³

    Who gets counted. Sometimes the distortion comes from a choice made during the analysis, such as keeping only the people who finished.³

    One idea behind many names

    Researchers have named many kinds of selection bias. One methods paper argues that many of them share a common structure.³ The paper uses a technical phrase, "conditioning on a common effect." For beginners, it means this: the data were filtered by something that was itself affected both by the factor you're studying and by the outcome, or by something behind the outcome. Filtering like that can produce a misleading link between them.³ It is one important route to selection bias, not the only one.

    Keeping only the people who stayed to the end of a study is one example of this kind of filtering.³ For example, in a habit study, whether someone stays might depend both on which habit they were given and on how well it is going for them.

    Survivorship bias fits inside this family. It happens when you only look at the people or things that remained visible, such as those still at work or still in the study.³ The Survivorship bias entry tells that story. Selection bias is the wider family.

    In everyday life

    • A voluntary survey. Imagine a forum about productivity that emails its subscribers to ask whether "focus hacks work." The people who opt in are already unusually interested in focus hacks. Their answers can't speak for everyone.
    • A study where people quit. Suppose a four-week desk-habit study starts with 30 volunteers, and 10 quit halfway. The 20 who stayed may be the ones the habit suited. Results based only on them can look better than the habit really is.
    • Your own log. If you only record your focus on days you remember to, and you forget on busy days, your records leave out a particular kind of day.
    • Planning your own test. When you plan a test with the Experiment Planner on /apply, plan to record every day, including the off days.

    The common trap

    The first trap is thinking selection bias only means "the sample isn't representative." It can also distort comparisons and links.¹˒³

    The second trap is assuming a bigger data set fixes it. The Sample size entry explains why a large sample can't fix one chosen in a biased way.

    The third trap is thinking randomized studies are immune. Dropout linked to both the group and the outcome can still distort the results.³

    The fourth trap is mixing it up with cherry-picking. Selection bias is about which cases end up in the data.¹˒² Cherry-picking is about which evidence someone chooses to show. The Cherry-picking entry covers that.

    Some ways out:

    • Ask: "Who is in this data, who isn't, and why?"
    • Check who dropped out, and whether dropping out was linked to both the group and how things were going.³
    • Be wary of results from people who opted in.²˒³

    Try it

    Think of a recommendation you saw recently, such as "most users love this budgeting app." Write down three questions. Who was asked? Who answered? Who might be missing, such as people who stopped using the app?

    Then look at your own habit tracker. Are there days you didn't record? Were they random, or a particular kind of day?

    Related concepts

    Survivorship bias · Sample size · Observational study · Cherry-picking · Randomized controlled trial · Confounding variable · Internal and external validity · Random vs systematic error · Simpson's paradox · Publication bias · Population vs sample · Anecdotal evidence · Attrition · Natural experiment · False consensus effect

    Sources

    1. Catalogue of Bias Collaboration, Nunan, D., Bankhead, C., & Aronson, J. K. (2017). Selection bias. Catalogue of Bias. Catalog of Bias: selection bias

    2. American Psychological Association. (2018, April 19). Sampling bias. In APA dictionary of psychology. APA Dictionary: sampling bias

    3. Hernán, M. A., Hernández-Díaz, S., & Robins, J. M. (2004). A structural approach to selection bias. Epidemiology, 15(5), 615–625. doi:10.1097/01.ede.0000135174.63482.43

    4. Spielman, R. M., Jenkins, W. J., & Lovett, M. D. (2020). Psychology 2e, Section 2.2 "Approaches to Research". OpenStax. OpenStax Psychology 2e §2.2