IQR Fence vs Outlier
Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.
IQR fence (1.5 IQR rule)
Describing data
An IQR fence is a boundary set 1.5 IQRs below the first quartile or above the third quartile, and values lying strictly beyond a fence count as outliers.
The fences are the two cutoffs the 1.5 IQR rule measures data against. The lower fence is and the upper fence is , with and both quartiles found by the median-excluded rule the TI-84 uses: when is odd, drop the overall median before taking the median of each half. A value is an outlier when it lies strictly beyond a fence.
Nine reaction times: 8, 15, 19, 21, 22, 22, 23, 27, 37. The median is 22, the fifth value. Leave it out and the lower half 8, 15, 19, 21 gives , while the upper half 22, 23, 27, 37 gives . So the IQR is 8, , and the fences sit at and .
The largest value is 37, landing exactly on the upper fence. "It reached the fence, so it is an outlier." The rule is more than 1.5 IQRs beyond the quartile, so a value sitting on a fence is inside it and this set has no outliers. The other frequent slip is multiplying the wrong quantity: the 1.5 multiplies the IQR, never the quartile. Here sits close enough to 37 to hide the error, and on other data it is nowhere near.
Fences do not have to fall inside the data. The lower fence of 5 sits below the minimum of 8, so no low value here can be flagged at all. A fence marks points that deserve a second look, not points that are wrong.
The fences are built from quartiles, which are resistant, so an extreme value has little pull on the criterion judging it. Add a tenth reaction time of 200 and the upper fence moves only from 37 to 39, while the cutoff for the other rule the Fall 2026 course lists, more than 2 standard deviations from the mean, jumps from 37.43 to 153.25.
Outlier
Describing data
An outlier is a data value sitting unusually far from the rest of the distribution, flagged by the 1.5 IQR rule or by a 2 standard deviation distance.
An outlier is a value that stands apart from the rest of the data, and the AP course gives two rules for deciding when apart counts. The first flags any value more than above the third quartile or below the first quartile . The second flags any value more than 2 standard deviations from the mean. Neither rule is the definition of an outlier. They are criteria, and they do not always agree.
Take 12, 13, 19, 19, 20, 23, 25, 27, 35, 40. The quartiles are and , so the IQR is 8 and the upper fence sits at . The value 40 clears it, so the IQR rule calls 40 an outlier. Now the other rule: the mean is 23.3 and , so two standard deviations reach , and 40 does not get there. Same data, two rules, opposite answers. Say which rule you used.
"There is an outlier, so it must be a mistake and I should drop it." An outlier is a statement about position inside this one data set and nothing more. A 40 from a broken sensor is an error; a 40 from an unusually productive week is the most informative point you have. Removing a flagged value is a decision about the study that needs a reason you can write down, not an arithmetic step.
The 2 standard deviation rule quietly fails on small samples. No observation among values can sit more than sample standard deviations from the mean, because the value doing the stretching also inflates . With that ceiling is 1.79, so the rule flags nothing at all however extreme one of the five values is. The 1.5 IQR rule has no such blind spot.
Outliers sit in topic 1.7 of the Fall 2026 course, which is where both rules are listed, and topic 1.6 names outliers, gaps, and clusters as the unusual features every description of a distribution has to mention in context.