diversity-0.7.0.0: Return the diversity at each position for all sequences in a fasta file
Math.Diversity.Statistics
Description
Collection of functions pertaining statistics needed in the library
Synopsis
median :: [Double] -> Maybe Double Source
Get the median, adapted from http://rosettacode.org/wiki/Averages/Median#Haskell, but FIXED due to zero indexing
medmad :: [Double] -> (Double, Double) Source
Get the median and median absolute deviation (MAD) of a list of numbers