Understanding Variability and Range

Introduction

Welcome to Measuring Spread and Variability, the second course in this learning path! In the previous course, we explored how to summarize a dataset with measures of center like the mean, median, and mode. Those tools help us describe a "typical" value, but they only tell half the story. Two datasets can share the exact same mean yet look completely different. What's missing? A way to describe how much the values spread out. That is exactly what this course is about, and in this first lesson we will introduce the concept of variability and learn our first tool for measuring it: the range.

Why Center Alone Is Not Enough

Imagine two coffee shops that each sell an average of 200 cups per day. At Shop A the daily counts over a week are 195, 198, 200, 203, 204. At Shop B they are 50, 120, 200, 280, 350. The mean is 200 in both cases, but the day-to-day experience at each shop is very different. Shop A is remarkably steady, while Shop B swings wildly from slow days to extremely busy ones.

Side-by-side dot plots comparing daily cup sales for Shop A and Shop B, both with a mean of 200 but dramatically different spread

This difference is what we call variability (sometimes called spread). Variability tells us how much the individual data values differ from one another. High variability means the values are scattered over a wide area; low variability means they cluster tightly together. Recognizing variability is essential whenever we want to understand not just what is typical, but how consistent or unpredictable the data really are.

Measuring Spread With the Range

Finding the Range Step by Step

What the Range Does and Does Not Tell Us

Conclusion and Next Steps

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal