Quartiles: leave the median OUT
Sort first. Q1 = middle of the values BEFORE the median, Q3 = middle of the values AFTER it; when n is odd the median is in neither half.
- Sort the data (stat → 2:SortA().
- Median = middle value (average the two middles if n is even).
- n odd → drop the median; n even → split straight down the middle.
- Q1 = median of the lower half; Q3 = median of the upper half.
- Check against 1-Var Stats: it uses the same rule.
Traps
- Put the median into both halves.14.6, 15.5, 16.3 | 16.3, 18.2, 19.8 → Q1 = 15.5, Q3 = 18.2✓ halves 14.6, 15.5 and 18.2, 19.8 → Q1 = 15.05, Q3 = 19 (this is the key's error on HW 1.4 #6)
- Found the quartiles on the unsorted list.read the 2nd and 4th values as typed✓ SORT before anything
- Took the value next to the middle.sunflowers n = 23 → 13th value 28✓ median = 12th value = 27
- Used the wrong position inside a half.upper 11 values → 7th = 41✓ upper 11 → 6th = Q3 = 40
TI-84 Evo keys