New Tool Radar

AI Research & Fact-Checking

How to Find the Mode in a Small Set of Values

Count how many times each value appears before you trust a mode an AI named, because the mode is the most frequent value, not the middle one.

Schematic diagram: an AI answer says aI says the mode is 3, while the correct value is Correct mode is 5; the verdict is Wrong.

The mode is the value that occurs most often in a data set. Khan Academy defines it as the most frequently occurring data value. An AI answer often confuses the mode with the median and names the middle value instead.

Use the practice table

The table below is synthetic. It is about a fictional book club, and it was not produced by any AI tool. It is the only source for the exercise.

Practice table — books finished last month, seven fictional members:

  • Values as given: 3, 5, 5, 7, 5, 9, 3.

Practice AI answer: “The mode is 3 books.”

Check the answer

Expected result. We checked Khan Academy’s definition of the mode. We did not run an AI tool on the practice table. The checked list below is what to expect if the mode is correct; run the same check yourself on the table above.

What was checked AI answer says Correct value Verdict
Count of 3 not shown 2 Correct — 3 appears twice
Count of 5 not shown 3 Correct — 5 appears three times
Count of 7 not shown 1 Correct — 7 appears once
Count of 9 not shown 1 Correct — 9 appears once
Mode 3 5 Wrong — 5 occurs most often, three times

The middle value is the median, not the mode

The value 3 sits in the middle of the sorted list (3, 3, 5, 5, 5, 7, 9), so it is the median, not the mode. The mode is decided by counting, not by position: tally every value first, then name the one with the highest tally.

See also: check-ai-median-mean-outlier.

What to do with each verdict

  • Correct: keep the mode, and keep the tally with it so the next reader can recount.
  • Wrong: replace it with the value that occurs most often.
  • No value repeats: say there is no mode rather than naming the middle value.

Limits

  • A data set can have two modes if two values tie for the highest count. Say both, and give both counts.
  • The mode is the only average that works for words as well as numbers, such as the most common answer to a survey question.
  • No AI tool was run for this guide. The practice table and answer are synthetic.

Sources

See all