Free for your classroom: you may copy, adapt and share worksheets, exercises, texts and graphics with your class without asking (terms (in German)).

Ad-free in class: How it works (in German)

Statistics

Statistics is about collecting, organizing and interpreting data. Learn to find the mean, median, mode and range, choose the right average, read frequency tables and charts, draw a box plot from quartiles and calculate a standard deviation step by step.

Also available in: Deutsch · Español · Português

Statistics is the part of math that collects, organizes and interprets data. Its most used tools are the three averages: the mean (add all values and divide by how many there are), the median (the middle value when the data are in order) and the mode (the most frequent value), together with the range (largest minus smallest value). For the data 3, 5, 5, 6, 8, 9, 13 the mean is 49 ÷ 7 = 7, the median is 6, the mode is 5 and the range is 13 − 3 = 10.

Below you learn each measure step by step, when to use which average, frequency tables and charts, quartiles and box plots, and the standard deviation, with practice problems and answers.

What is statistics? Data and variables

A statistical question is one that expects variation in the answers: “How tall are the students in my class?” is statistical, “How tall is Maya?” is not. The answers are the data. There are two main kinds:

  • Categorical data are labels or groups: favorite color, type of pet, yes or no.
  • Numerical data are numbers you can calculate with. They are discrete if they are counted (number of siblings) and continuous if they are measured (height, time).

The whole group you want to know about is the population; the part you actually ask or measure is a sample. Statistics has two sides: descriptive statistics summarizes data with numbers and charts (most of this page), and inferential statistics draws conclusions about a population from a sample, using probability.

Anzeige

Mean, median and mode

How to find the mean

  1. Add all the values.
  2. Divide the sum by the number of values.

How to find the median

  1. Put the values in order from least to greatest.
  2. With an odd number of values, the median is the middle one. With an even number, it is the mean of the two middle values.

For 3, 7, 9, 12, 15 the median is 9. For 4, 8, 10, 14 it is (8 + 10) ÷ 2 = 9. With n values in order, the median sits at position (n + 1) ÷ 2.

How to find the mode and the range

The mode is the value that appears most often. A data set can have one mode, two (bimodal), more, or none if every value appears equally often. The mode is the only average that also works for categorical data (“the most common pet is a dog”). The range is the largest value minus the smallest value; it is a simple measure of spread.

Which average should you use?

An outlier is a value far away from the rest. The mean uses every value, so a single outlier can pull it a long way. The median only depends on the middle, so it hardly moves.

  • Mean: best for numerical data without strong outliers, such as test scores in a class.
  • Median: best for skewed data or data with outliers, such as incomes and prices.
  • Mode: best for categorical data and for “most common” questions, such as shoe sizes in a store.

Frequency tables

When values repeat, a frequency table lists each value and how often it occurs. The relative frequency is the frequency divided by the total; the relative frequencies add up to 1 (or 100%).

Number of siblings of 20 students
Siblings xFrequency fx × fRelative frequency
0400.20
1880.40
25100.25
3260.10
4140.05
Total20281.00

For large data sets, values are grouped into intervals (for example heights of 150 to 159 cm, 160 to 169 cm, …). Each interval and its frequency then becomes one bar of a histogram.

Anzeige

Charts and graphs

  • Bar chart (bar graph): one bar per category; the height shows the frequency. Bars are separated by gaps.
  • Histogram: bars for intervals of numerical data, drawn without gaps because the intervals touch.
  • Pie chart (circle graph): shows parts of a whole. Each slice gets relative frequency × 360°: 25% is a 90° slice.
  • Line graph: shows how a value changes over time, such as temperature over a day.
  • Dot plot (line plot): one dot per data value above a number line; good for small data sets.
  • Stem-and-leaf plot: splits numbers into a stem (tens) and a leaf (ones), so 68 and 72 appear as 6 | 8 and 7 | 2. The data stay readable and are already sorted.

Read charts carefully: a vertical axis that does not start at 0 can make small differences look huge.

Quartiles and box plots

The quartiles split ordered data into four parts with about the same number of values. The median is the middle quartile, Q2. The lower quartile Q1 is the median of the lower half, and the upper quartile Q3 is the median of the upper half. The interquartile range IQR = Q3 − Q1 is the spread of the middle half of the data.

  1. Order the data and find the median.
  2. Q1 is the median of the values below the median; Q3 is the median of the values above it. (With an odd number of values, leave the median itself out of both halves, as most US textbooks do. Calculators and spreadsheets sometimes use slightly different rules.)
  3. Write the five-number summary: minimum, Q1, median, Q3, maximum.
  4. Check for outliers: values below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR.
  5. Draw the box plot: a box from Q1 to Q3 with a line at the median, and whiskers out to the smallest and largest values that are not outliers. Mark outliers as single points.
min Q1 median Q3 max outlier 0 5 10 15 20 25 30 35
Box plot of 2, 4, 5, 7, 8, 10, 12, 13, 15, 18, 34. The box holds the middle half of the data (5 to 15); the outlier 34 is drawn as a separate point.

A box plot (box-and-whisker plot) shows at a glance where the middle half of the data lies and whether the data are skewed. Here the right whisker plus the outlier stretch much farther than the left whisker: the data are skewed to the right.

Standard deviation (simply explained)

The range depends on just two values. The standard deviation uses all of them: it measures how far the values typically are from the mean. A small standard deviation means the data are bunched close to the mean; a large one means they are spread out. The data 6, 6, 6, 6, 6 have standard deviation 0.

  1. Find the mean.
  2. Subtract the mean from each value (the deviations).
  3. Square each deviation.
  4. Add the squares and divide by the number of values. This is the variance.
  5. Take the square root. This is the standard deviation σ.

When the data are a sample and you want to estimate the spread of the whole population, divide by n − 1 instead of n in step 4. That gives the sample standard deviation s: here 10 ÷ 4 = 2.5 and s = √2.5 ≈ 1.58. Calculators usually show both, labeled σ and s.

Many middle school classes first use the mean absolute deviation (MAD): the mean of the distances from the mean, without squaring. For 4, 8, 6, 5, 7 the distances are 2, 2, 0, 1, 1, so MAD = 6 ÷ 5 = 1.2.

Anzeige

Common mistakes

  • Finding the median without sorting the data first.
  • Forgetting the even case: with an even number of values, average the two middle ones.
  • Dividing by the number of different values in a frequency table instead of the total frequency.
  • Giving the count instead of the value as the mode: the mode is the value (1 sibling), not its frequency (8).
  • Using the mean for data with big outliers, such as incomes, where the median is more typical.
  • Forgetting the square root at the end: the variance is not the standard deviation.

Practice problems

Anzeige

Frequently asked questions

How do you find the mean, median and mode?

Mean: add all values and divide by how many there are. Median: sort the values and take the middle one (or the average of the two middle ones). Mode: the value that appears most often.

What is the difference between mean and median?

The mean uses every value and is pulled toward outliers. The median is the middle value and stays put. For 40, 42, 45, 48 and 250 (in thousands of dollars), the mean is 85 but the median is 45.

Can a data set have more than one mode or no mode?

Yes. 1, 2, 2, 3, 3 has two modes (2 and 3). 1, 2, 3, 4 has no mode, because no value appears more often than the others.

How do you find the range in math?

Subtract the smallest value from the largest. For 68, 72, 78, 85, 95 the range is 95 − 68 = 27.

What does standard deviation tell you?

How spread out the data are around the mean. A small standard deviation means most values are close to the mean; a large one means they vary a lot. See the step-by-step example.

Keep learning

Anzeige

Spotted a mistake or have a request? Send us a short message and we will take care of it.

Spotted a mistake or have a request?

Your message about the page “Statistics”. We send the page address along automatically.

Please do not include any other personal data. More in our privacy policy (in German).