Sub topic 1
Reading and Sorting a Data Set
This chapter assumes you can add, divide, and subtract decimals and negative numbers, and that you can read a simple list of numbers. Each statistic here is a single number that summarizes a whole list, called a data set.
Prerequisites
You should be comfortable with fractions and decimals, solving a one-step equation, and reading a list. No prior statistics knowledge is needed.
Reading and Sorting a Data Set
A data set is a list of values. Before you compute anything, sort the values from smallest to largest. Sorting makes the middle, the most common value, and the spread easy to see. On the GRE, the list may not be sorted, so sorting is the first step.
The Mean: Sum Divided by Count
The mean is the arithmetic average. Add all the values, then divide by how many values there are.
Mean = (sum of values) / (number of values)
The Median: The Middle Value
The median is the value in the middle of the sorted list. With an odd count, pick the middle value. With an even count, average the two middle values.
The Mode: The Most Frequent Value
The mode is the value that appears most often. A data set can have no mode, one mode, or more than one mode. Check the counts before you name a mode.
The Range: Largest Minus Smallest
The range is the largest value minus the smallest value. It measures how far apart the extremes are.
import statistics
data = [4, 9, 2, 7, 4, 10, 4]
ordered = sorted(data)
print(ordered) # [2, 4, 4, 4, 7, 9, 10]
print(statistics.mean(data)) # about 5.71
print(statistics.median(ordered)) # 4
print(statistics.mode(data)) # 4
print(max(data) - min(data)) # 8Exercise
For the data set [3, 8, 1, 8, 5], what are the median, the mode, and the range?
Show answer
Sorted, the list is [1, 3, 5, 8, 8]. The median is 5. The mode is 8. The range is 8 - 1 = 7.