The list 6 9 3 1 has left and right sublists 6 9 and 3 1, the list 6 9 3 1
4 has left and right sublists 6 9 and 1 4 .  The middle number, if there is
one, is not included in the left and right sublists.

You know the median of 6 9 3 1 is the median of 1 3 6 9 which is 4.5, and
the median of 6 9 3 1 4 is the median of 1 3 4 6 9 which is 4.

The "fourths" f1 and f4 of a list y are respectively the medians of the
left sublist and right sublist of /:~ y .

Write a verb to find John Tukey's "five number summary" minimum , f1 ,
median, f3 , maximum of a list y.

--Kip Murray


-- 
Sent from Gmail Mobile
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to