8.18. Exercise: median and standard deviation

Now compute the median and the standard deviation of the numbers given in the earlier example.
Median: 
   if there are odd number of values then - after sorting them - pick the one in the middle.
   if there are even number of values, took the 2 in the middle and compute their average

Standard deviation: 
     sum (for each i) (Xi-average) * (Xi-average)
     divide by n (the number of elements)
     take the square root of the result


If you are interested in on-site trainings by the author, please contact me directly.

Online courses:

Would you like to get
updated when I publish
the next article?

Follow me:

Google Plus Twitter RSS feed