Chapter 1
Descriptive Statistics
Section 4
Data Mean and Standard Deviation
We have a collection of data. We would like to quickly identify the mean and standard deviation of the data. - Define what is meant by "mean" and "standard deviation." The mean is the sum of all values divided by the number of values. The standard deviation is the mean of the distance of each value from the original mean - We find the sum values in a dataset using "sum". We find the number of values in a dataset using "length". We write a quick function to return this value, as well as the standard deviation - We drop that function into a module file and show how it can be called from IHaskell.