Chapter 1
Descriptive Statistics
Section 5
Data Median
We have a collection of data. We would like to quickly identify the median of the dataset. - Define what is meant by "median." The median is the center value of the sorted dataset provided that there are an odd number of values. If there are an even number of values, then the median is the mean of the two center-most sorted values - We find the sort the values using "sortBy" and then determine whether we have an even number or odd number of values in the list. Then we determine the median - We drop that function into a module file and show how it can be called from IHaskell