Module

Statistics.Distribution

Package
purescript-stats
Repository
klangner/purescript-stats

Type classes for probability distributions

#Distribution Source

class Distribution d  where

Type class common to all distributions. Only c.d.f. could be defined for both discrete and continous distributions.

Members

#DiscreteDistr Source

class (Distribution d) <= DiscreteDistr d  where

Discrete probability distribution.

Members

#ContDistr Source

class (Distribution d) <= ContDistr d  where

Continuous probability distributuion. Minimal complete definition is 'quantile' and either 'density' or 'logDensity'.

Members