Statistics 📊 Describing Data

What Statistics Is (and Isn't)

From a pile of raw numbers to real understanding — the ideas the whole subject is built on.

Intro StatisticsAP Statistics levelNo prior stats needed
💡
The big idea: Statistics is the craft of turning data into understanding. It does two jobs: describing the data you already have, and inferring careful conclusions about a whole population from a small sample. Before either job, you learn to see data for what it is — variables of different types that, piled together, form a shape worth describing.
🎯 By the end, you'll be able to
  • Explain what statistics is: the science of learning from data
  • Tell descriptive statistics apart from inferential statistics
  • Distinguish a population from a sample, and a parameter from a statistic
  • Classify variables as categorical or numerical, and numerical data as discrete or continuous
  • Explain why we summarize data and what the shape of a histogram reveals
📎 You should already know
  • Comfort with basic arithmetic and averages

Statistics is how we make sense of data

Every day the world throws piles of numbers at us — test scores, prices, wait times, click counts, temperatures. On their own, a thousand numbers are just noise. Statistics is the set of tools for turning that pile into something a human can actually understand: a typical value, a sense of the spread, a shape, a fair comparison, a trustworthy conclusion.

Put simply, statistics is the science of learning from data. It has two big jobs, and knowing which one you are doing is the first step to using it honestly.

🔑 The two halves of statistics
Statistics splits into two tasks. Descriptive statistics summarizes the data you actually have — the average, the spread, the shape of a histogram. Inferential statistics uses a smaller sample to draw careful conclusions about a much larger population you could never measure in full. Describing is about the data in front of you; inferring is a reasoned leap beyond it.

Population vs sample

Almost every interesting question is really about a population — the entire group you care about: every voter in a country, every battery a factory will ever make, every customer of a shop. Populations are usually too big, too expensive, or even impossible to measure completely.

So instead we collect a sample — a smaller group we actually observe — and use it to reason about the whole. A number that describes the population (like the true average height of all adults) is called a parameter; the matching number computed from your sample is a statistic. Much of inferential statistics is the art of using a sample statistic to estimate an unknown population parameter, while staying honest about how far off it might be.

What kind of variable is it?

Before you can summarize data, you have to know what type of data it is. A variable is any characteristic you record, and variables come in two main families:

  • Categorical (also called qualitative) — labels or groups, like eye color, country, or a yes/no answer. You can count how many fall in each category, but adding or averaging the labels makes no sense.
  • Numerical (quantitative) — actual quantities you can do arithmetic on. These split again: discrete values come in separate, countable steps (number of children, goals scored), while continuous values can fall anywhere on a scale (height, temperature, time).

The type decides everything downstream: which summary to compute, which chart to draw, which method to use. Averaging blood types is nonsense; counting how many people have each type is exactly right.

Why we summarize

You cannot hold a thousand numbers in your head, but you can hold one. That is why the first move in statistics is almost always to summarize: replace the whole pile with a few well-chosen numbers that capture what matters. The most familiar summary is the mean — the ordinary average — which marks the balance point of the data:

\[ \bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i \]
The sample mean: add up all n values and divide by how many there are. One number standing in for the whole sample.

A pile of numbers has a shape

A single summary is powerful, but it hides something important: the shape of the data. Two datasets can share the exact same average yet look completely different — one tightly bunched, one wildly spread, one lopsided, one with two separate peaks. The classic way to reveal that shape is a histogram: slice the range into bins and stack up how many values land in each.

The tool below lets you build one from scratch. Pick a kind of data, add values, and watch a shapeless list of numbers organize itself into a picture worth describing.

🎮 Interactive: watch raw data take shape LIVE
Choose the kind of data, then add values a batch at a time. Each new number drops into a bin and the histogram grows, revealing whether the data is roughly symmetric, skewed to one side, or two-humped. The readouts track the mean and the spread — the very first things descriptive statistics reports.
✨ Same average, different story
A summary like the mean tells you where the data sits, but not how it is spread or what shape it takes. In the sim, a right-skewed pile and a symmetric pile can land on almost the same mean while telling very different stories. That is why good descriptive statistics always reports at least three things together — a center, a spread, and the overall shape — before anyone tries to draw a conclusion.
📝 Worked example: A university records four things for 500 students: their major (Biology, History, ...), the number of courses they are taking, their GPA, and whether they live on campus (yes/no). Classify each variable, and decide whether the statement 'the average GPA of these 500 students is 3.2' is descriptive or inferential.
  1. Major: a set of labels with no numeric meaning, so it is categorical.
  2. Number of courses: a count that comes in whole, separate steps, so it is numerical and discrete.
  3. GPA: a quantity that can fall anywhere within a range, so it is numerical and continuous.
  4. Lives on campus (yes/no): two labelled groups, so it is categorical.
  5. The GPA statement only summarizes the 500 students you actually measured, so it is descriptive. It would become inferential only if you used those 500 to estimate the GPA of all students at the university.
✓ Major and campus-residence are categorical; number of courses is discrete numerical; GPA is continuous numerical. Reporting the average of the 500 students you measured is descriptive — it describes the data in hand, not a larger population.

Check your understanding

1. You measure the heights of everyone on a basketball team and report their average height. This is an example of…
You are simply summarizing the data you fully measured (the whole team), which is exactly what descriptive statistics does. No leap beyond the data is being made.
2. A researcher surveys 1,000 voters to estimate how all 10 million voters in a country will vote. The 1,000 surveyed voters are the…
The 10 million voters are the population; the 1,000 actually observed are the sample used to reason about that whole population.
3. Which of these is a categorical variable?
Blood type is a set of labels or groups, not a quantity you can meaningfully average, so it is categorical. The other three are numerical.
4. 'The number of text messages you send in a day' is best described as a…
It is a count that comes in whole, separate steps (you cannot send 4.7 messages), which makes it discrete numerical rather than continuous.
✅ Key takeaways
  • Statistics is the science of learning from data — turning a pile of numbers into understanding.
  • Descriptive statistics summarizes the data you have; inferential statistics reasons from a sample to a larger population.
  • A population is the whole group; a sample is the part you observe. A parameter describes the population, a statistic describes the sample.
  • Variables are categorical (labels) or numerical; numerical data is either discrete (counts) or continuous (measured on a scale).
  • We summarize data with a center, a spread, and a shape — a single number can hide a histogram worth describing.