HLearn-distributions- Distributions for use with the HLearn library

Safe HaskellNone



The method of moments can be used to estimate a number of commonly used distributions. This module is still under construction as I work out the best way to handle morphisms from the Moments3 type to types of other distributions. For more information, see the wikipedia entry: https://en.wikipedia.org/wiki/Method_of_moments_(statistics)


newtype Normal prob dp Source


Normal (Moments3 prob) 


Eq prob => Eq (Normal prob dp) 
Ord prob => Ord (Normal prob dp) 
Read prob => Read (Normal prob dp) 
Show prob => Show (Normal prob dp) 
Num prob => Monoid (Normal prob dp) 
Num prob => NumDP (Normal prob dp) 
Num prob => HomTrainer (Normal prob prob) 
Num prob => HomTrainer (Normal prob (Normal prob dp)) 
Num prob => HasRing (Normal prob dp) 
Num prob => Module (Normal prob dp) 
Num prob => Abelian (Normal prob dp) 
Num prob => Group (Normal prob dp) 
NFData prob => NFData (Normal prob dp) 
Fractional prob => Variance (Normal prob prob) 
Fractional prob => Mean (Normal prob prob) 
Floating prob => PDF (Normal prob prob) 
(Floating prob, Erf prob) => CDF (Normal prob prob) 
Num prob => Probabilistic (Normal prob dp) 
(Floating prob, Enum prob, Show prob, Ord prob) => PlottableDistribution (Normal prob prob)