Worked example
Split an even list into equal halves
For the ordered data below, find the median, quartiles, range and IQR. Use the median-of-halves convention; with an even count, retain all observations in two equal halves.
Then explain what changes if the final observation is replaced by .
There are ten observations. The median is the average of the values at positions and :
The lower half is ; its middle value is . The upper half is ; its middle value is . Thus
Replacing only the final value by gives range . The median and both half-medians remain at the same unchanged records, so the IQR remains . This conclusion uses the unchanged order and count in this particular edit.