mode of no-repeats set

Chris F.A. Johnson cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Fri Dec 8 02:36:08 UTC 2006


On Thu, 7 Dec 2006, Chris Aitken wrote:

> This is off topic but as it is my first, I hope you'll indulge me. You are 
> the smartest people I know.
> ;-)
>
> How can you calcualte the mode of a set of numbers when all numbers are 
> unique (no repeats)? I've checked a math text and some websites and they are 
> all clear: mode is the most frequently occuring number.
>
> What if the set is 221, 204, 254, 194, 165 and 176?

    The mode is the entire set.

-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list