DoAssignment.ca
1.10 · Use measures of position and box plots
Learn to use measures of position and box plots through clear examples and targeted practice.
Athabasca University MATH 215: Introduction to Statistics
Descriptive Statistics
Describing where values lie in a data set
A data value is easier to interpret when you know where it sits among the other values. A travel time of 20 minutes, for example, may be short in one group and long in another. Measures of position describe relative location, and a box plot gives a visual summary of location and spread. This lesson covers z-scores, quartiles, and box plots using introductory methods. For ordered-data calculations, first sort the values from smallest to largest. This is the same basic idea as arranging numbers in order before identifying a middle value.
What you will learn
- Explain how a measure of position describes a value relative to other values or to a distribution.
- Calculate and interpret a z-score when the mean and standard deviation are known.
- Find quartiles and the interquartile range using an explicit median-of-halves convention.
- Construct and interpret a box plot, including checking for potential outliers.
1. Measures of position: z-scores
A measure of position describes where a value lies in relation to other values or to a distribution. A z-score measures how many standard deviations a value is above or below the mean. The mean is the arithmetic average. The standard deviation describes the typical distance of values from the mean.
For a value , population mean , and population standard deviation , use the z-score formula. If you are describing a sample and have its sample mean and sample standard deviation , use those sample quantities. In either case, subtract the mean from the value and divide by the standard deviation. The units cancel, so a z-score has no units.
Before calculating, check that the value, mean, and standard deviation refer to the same variable and use the same units. The standard deviation must be positive. A positive z-score means the value is above the mean; a negative one means it is below. A z-score describes distance from the mean in standard-deviation units. It does not, by itself, tell you what percentage of observations are above or below the value.
- A z-score of zero means the value equals the mean.
- A z-score is a relative-position measure, not a percentile by itself.
- Keep the variable and units consistent when using the formula.
2. Quartiles and the interquartile range
Quartiles mark positions in an ordered data set. The first quartile, , marks the lower-quarter position; the second quartile, , is the median; and the third quartile, , marks the upper-quarter position. The median is the middle value after sorting. If there are an even number of values, find it by averaging the two middle values.
There is more than one convention for finding quartiles, particularly when the number of observations is odd. To make the calculations in this lesson consistent, use the median-of-halves rule. Find the overall median, then find the median of the lower half and the median of the upper half. If the number of values is odd, leave the overall median out of both halves. If it is even, divide the ordered values into two equal halves.
The interquartile range, abbreviated IQR, is the difference between the third and first quartiles. It describes the spread of the middle half of the observations and uses the same units as the data. The five-number summary consists of the minimum, first quartile, median, third quartile, and maximum. A summary should identify its units and the quartile convention when that convention matters.
- Sort the data before finding the median or quartiles.
- State the quartile convention when it could affect the results.
- The IQR describes the middle half, not the full range of observations.
3. Building and reading a box plot
A box plot, also called a box-and-whisker plot, displays a five-number summary on a number line. Draw the box from to and draw a line inside it at the median. The box's length represents the IQR. Whiskers show how far the data extend beyond the box under the plotting convention being used.
One common introductory convention uses the 1.5-IQR rule to flag potential outliers. First calculate the lower and upper fences using the formula. Observations below the lower fence or above the upper fence are flagged. The fences are boundaries for identifying potential outliers, not observations themselves. A whisker should not end at a fence unless a data value is actually there.
For a box plot using this convention, whiskers extend from the box to the smallest and largest observations that are not flagged. Plot flagged observations separately beyond the whiskers. Other box plots may use different whisker conventions, so read any accompanying description. A box plot helps compare centre and spread, but it does not display every observation or reveal every detail of the data.
- The median is the line inside the box; it is not necessarily the mean.
- A longer box indicates a larger IQR and more spread in the middle half.
- A potential-outlier flag is a signal to examine a value, not proof that it is an error.
4. Interpreting position in context
A population is the full group of interest. A sample is the subset of that group whose data are observed. A variable is the characteristic recorded for each person or item, such as travel time in minutes. A parameter is a numerical summary of a population; a statistic is a numerical summary calculated from a sample. These terms clarify which group a result describes.
When interpreting a box plot, name the variable and units, then describe the median and IQR in context. A higher median indicates a higher middle value. A larger IQR indicates more spread among the middle half of the observations. If the median is closer to one edge of the box, or one whisker is longer than the other, the data may be less balanced around the centre. Describe what the plot shows without claiming more than it supports.
A z-score and a box plot describe position in different ways. A z-score locates one value relative to a mean and standard deviation. A box plot summarizes ordered data using quartiles and the range. Use the reference group named in the problem, and include units when interpreting measurements.
- Identify the variable, reference group, and units when interpreting results.
- The range runs from the minimum to the maximum; the IQR runs from to .
- A display summarizes data; it does not explain why the values differ.
Worked example
Quartiles, fences, and a box plot
Nine students report their travel times to campus, in minutes: 8, 12, 14, 15, 16, 18, 20, 23, and 40. Find the five-number summary and IQR, check for potential outliers using the 1.5-IQR rule, and describe the box plot.
- Identify the data and conventionThe variable is travel time in minutes for these nine students. The observations are already ordered from smallest to largest. Use the median-of-halves rule, leaving the overall median out of both halves because the number of observations is odd.
- Find the median and quartilesThe fifth value is the overall median, . The lower half is 8, 12, 14, and 15; the upper half is 18, 20, 23, and 40. Each half has four values, so its median is the average of its two middle values.
- Calculate the IQRSubtract the first quartile from the third quartile. The result is in minutes and describes the spread of the middle half of these travel times.
- Calculate and check the fencesUse the IQR to find the lower and upper fences. Compare the observed minimum and maximum with the boundaries to check whether either is flagged as a potential outlier.
- Describe the box plotThe minimum, 8 minutes, is above the lower fence and is not flagged. The maximum, 40 minutes, is above the upper fence and is flagged. Draw the box from 13 to 21.5 minutes, with its median line at 16. The upper whisker reaches 23 minutes, the largest unflagged value; plot the 40-minute observation separately.
Answer: The five-number summary is: minimum 8 minutes, minutes, median 16 minutes, minutes, and maximum 40 minutes. The IQR is 8.5 minutes. The 40-minute travel time is a potential outlier under the 1.5-IQR rule. The box plot shows that the middle half of these travel times spans 8.5 minutes.
Check: The calculations use the stated median-of-halves convention. Since 40 minutes is greater than the upper fence of 34.25 minutes, it is correctly flagged.
Common mistakes and how to avoid them
Finding quartiles before sorting the observations.
Correction: Put the data in increasing order first. Quartiles depend on positions in the ordered list.
Including the overall median in both halves when using the median-of-halves rule for an odd number of observations.
Correction: For the convention used here, leave the overall median out of both halves when the number of values is odd.
Calling every flagged value an error or removing it automatically.
Correction: The fence rule identifies potential outliers. Check the context and data quality before deciding how to handle a value.
Saying that the IQR measures the full range of the data.
Correction: The IQR measures the distance from to ; the full range runs from the minimum to the maximum.
Lesson summary
- A z-score expresses a value's distance from the mean in standard-deviation units.
- Quartiles locate positions in ordered data; use and state a consistent convention for finding them.
- The IQR is and describes the spread of the middle half of the observations.
- A box plot displays the five-number summary. Under the 1.5-IQR convention, observations beyond the fences are flagged as potential outliers.
Check your understanding
Question 1
A value is 6 units above a mean, and the standard deviation is 3 units. What is its z-score?
- 2
- -2
- 0.5
- 9
Show answer and explanation
2
Subtract the mean from the value to get 6, then divide by the standard deviation: . The value is two standard deviations above the mean.
Question 2
For a data set, and . What is the IQR?
- 8
- 14
- 28
- 4
Show answer and explanation
8
The IQR is the third quartile minus the first quartile: .
Question 3
If the median line is close to the left edge of a box, what is the safest conclusion?
- The median lies close to the first quartile compared with the box width.
- The mean must equal the median.
- Every value is evenly spaced.
- The data contain no outliers.
Show answer and explanation
The median lies close to the first quartile compared with the box width.
The median line's position shows that the median is relatively close to within the middle half. The box plot alone does not establish the other claims.
Key terms
- Measure of position
- A numerical or visual description of where a value lies relative to other values or a distribution.
- Z-score
- The number of standard deviations a value lies above or below the mean.
- Quartile
- One of three values used to mark quarter positions in an ordered data set.
- Interquartile range
- The difference between the third and first quartiles, describing the spread of the middle half.
- Five-number summary
- The minimum, first quartile, median, third quartile, and maximum of a data set.
- Box plot
- A graph that displays quartiles, the median, and whiskers to summarize a distribution.
- Potential outlier
- An observation beyond a specified boundary, such as a fence from the 1.5-IQR rule, that may be unusual and merits attention.
Continue through MATH 215
- 1.1 · Use basic statistical terms and notation
- 1.2 · Classify variables and types of data
- 1.3 · Distinguish populations, samples, experiments, and summation notation
- 1.4 · Organize and graph qualitative data
- 1.5 · Organize and graph quantitative data
- 1.6 · Calculate and interpret measures of centre for ungrouped data
About this lesson
Published by DoAssignment. This AI-assisted lesson follows Athabasca University MATH 215: Introduction to Statistics, study topic 1.10. It is a study resource, not an official curriculum publication.