Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 37 ยท Getting Started

What Is Statistics?

Learn what statistics is, why data matters, and how the cycle of asking, collecting, summarizing and concluding turns numbers into answers.

Every day, people make decisions from numbers: which route to school is quicker, whether a new medicine works, how many seats a theater should have. Statistics is the science of collecting, organizing, summarizing and interpreting data so that those decisions rest on evidence instead of guesses.

You do not need advanced math to start. You need curiosity, careful counting and a willingness to ask "How do we know?" In this track you will learn to display data, describe it with a few well-chosen numbers, measure chance, and judge how far a result from a small group can be trusted. Along the way you will run small Python programs. Python is just a fast, honest calculator here: it never gets tired of adding.

Data, and what it is for

Data are facts or measurements collected about something: heights of students, the number of goals in each match, the colors of cars passing a school gate. One single fact is a datum; a collection is data.

Raw data on their own are hard to read. Look at these ten quiz scores:

7, 9, 4, 8, 10, 6, 7, 9, 5, 8

You can almost feel the pattern, but you cannot say much. Statistics gives you tools to say: "The typical score is about 7.3, and most students scored between 5 and 9."

The two big branches

Statisticians usually split the subject into two parts.

Branch Question it answers Example
Descriptive statistics "What does this data set look like?" The mean score of a class was 7.3.
Inferential statistics "What can I say about a larger group from this data?" Based on 200 voters, about 55% of the town probably supports the plan.

This track starts with descriptive statistics (tables, charts, averages, spread) and probability. It then builds toward inference in the later chapters.

The statistics cycle

Real investigations follow a loop. You can remember it as four steps.

flowchart LR
  A["1. Ask a question"] --> B["2. Collect data"]
  B --> C["3. Summarize and display"]
  C --> D["4. Interpret and conclude"]
  D --> A

The statistics cycle: a conclusion usually raises a new question.

  1. Ask a clear question. "Do students who sleep more score higher on tests?" is better than "Is sleep good?"
  2. Collect data. Decide who or what to measure, and how. Bad data cannot be rescued later.
  3. Summarize and display. Tables, charts and numbers such as the mean.
  4. Interpret. Say what the data show, how sure you are, and what you still do not know.
Python Summarize ten quiz scores

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Change a score and run it again. Notice how one new value moves the mean. You will study that sensitivity in the chapter on averages.

Why data can mislead

Numbers look objective, but they can still deceive when they are collected or shown badly.

  • A tiny sample. Asking three friends tells you very little about a whole school.
  • A biased sample. Surveying only people at a gym about how often people exercise gives an unrealistic answer.
  • A stretched chart. A bar chart whose vertical axis starts at 90 instead of 0 makes a small difference look enormous.
  • Confusing "together" with "because". Ice cream sales and sunburn both rise in summer, but ice cream does not cause sunburn. Heat and sunshine drive both.

A statistic is only as trustworthy as the way the data were collected. Always ask: who was measured, how many, and how?

Python A misleading axis, in numbers

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The same data give a bar that looks 2.5 times taller or only slightly taller, depending on where the axis starts. The data did not change; the picture did.

Statistics in everyday life

  • Weather: a "70% chance of rain" comes from probability models built on past data.
  • Medicine: trials compare a treatment group with a control group.
  • Sport: averages and spread show which players are consistent.
  • Business: companies track sales and customer behavior.
  • Public policy: governments run censuses and surveys to plan schools and hospitals.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which statement is an example of inferential statistics?

    Inferential statistics uses a sample to say something about a larger population. The other two statements only describe the data actually collected.
  2. 2. What is the first step in the statistics cycle?

    You decide what you want to find out before collecting anything, otherwise you may gather the wrong data.
  3. 3. A bar chart's vertical axis starts at 90 instead of 0. What is the main risk?

    The numbers are unchanged, but the bars' heights exaggerate differences, which can mislead readers.
  4. 4. Ice cream sales and sunburn cases both rise in summer. What is the best conclusion?

    Two things changing together does not prove one causes the other. A shared cause is the most sensible explanation here.

Summary

  • Statistics is about collecting, organizing, summarizing and interpreting data.
  • Descriptive statistics describes the data you have; inferential statistics draws conclusions about a larger group.
  • The statistics cycle is: ask, collect, summarize, interpret, then ask again.
  • Small, biased or badly displayed data can mislead, so always ask how the data were gathered.

Next: Types of Data