tezvyn:

Selection Bias: When Your Sample Skews Your Results

AI-drafted, machine-checkedSource: Wikipedia: Selection biasbeginner

Selection bias occurs when your data sample isn't random, leading to flawed conclusions. This happens when surveying only volunteers or analyzing a non-representative group. The footgun is assuming your data reflects the whole population when it doesn't.

THE MENTAL MODEL: Selection bias means your data isn't a mini-version of the real world; it's a distorted picture created by how you collected it. The conclusions you draw from this distorted picture will be wrong when applied to the real world because your sample is not representative of the whole.

HOW IT WORKS: The bias is introduced when the method of selecting individuals, groups, or data for analysis is not random. This creates a sample where the relationship between two factors (like an exposure and an outcome) is different from how it is in the broader population. For example, if you only survey people who visit a specific website to understand "internet users," your results will be skewed by the demographics of that one site. The act of selection itself introduces a confounding variable that can create false associations.

WHEN TO USE IT: Be vigilant for selection bias in these common situations. First, Volunteer Bias: when you ask for volunteers, you get people who are more motivated or have stronger opinions than the general population. Second, Nonresponse Bias: when a significant portion of people chosen for a survey don't respond, the remaining respondents may differ in important ways from the non-respondents. Third, Loss-to-Follow-up: in long-term studies, participants who drop out might be systematically different from those who stay, skewing the results over time.

WHEN NOT TO USE IT: Selection bias is not a concern if your sample is truly randomly selected from the exact population you want to make claims about. It's also not an issue if you are only interested in making claims about the sample itself and do not intend to generalize. For example, analyzing the purchase history of all customers who bought a specific product to understand that group's behavior is fine, as long as you don't claim it represents all of your company's customers.

ONE CANONICAL EXAMPLE: A classic case is the "healthy-worker bias." Imagine a study trying to see if working in a chemical factory increases mortality rates. Researchers compare the factory workers' mortality rate to the general population's and find the workers' rate is lower. The flawed conclusion is that the factory is safe. The reality is that to be employed, a person must be healthy enough to work. The general population includes people too sick to work, who have a higher mortality rate. The selection criterion ("is an employee") biased the sample towards healthier people, masking the potential harm of the chemicals.

Read the original → en.wikipedia.org

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.