diversity-0.6.0.0: Return the diversity at each position for all sequences in a fasta file

Safe HaskellSafe-Inferred
LanguageHaskell98

Math.Diversity.Statistics

Description

Collection of functions pertaining statistics needed in the library

Synopsis

Documentation

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