Statistics.Distribution

# Type classes

class Distribution d

class DiscreteDistr d

class ContDistr d

## Distribution statistics

class MaybeMean d

class Mean d

class MaybeVariance d

class Variance d

class MaybeEntropy d

class Entropy d

class FromSample d a

## Random number generation

class ContGen d

class DiscreteGen d

genContinuous

genContinous

# Helper functions

findRoot

sumProbabilities