hs-carbon-0.1.1.0: A Haskell framework for parallel monte carlo simulations

Safe HaskellSafe
LanguageHaskell98

Data.Summary.Bool

Synopsis

Documentation

data BoolSumm Source

A BoolSumm counts the number of True and all events observed.

class Summary s where Source

Many Monte Carlo simulations require statistical analysis of the results. Any Result instances which can be described statistically should be made instances of Summary.

Methods

sampleMean :: s -> Double Source

Compute the mean of the aggregated observations

sampleSE :: s -> Double Source

Compute the std. error of the aggregated observations

sampleVar :: s -> Double Source

Compute the variance of the aggregated observations

sampleSD :: s -> Double Source

Compute the standard deviation of the aggregated observations

sampleSize :: s -> Int Source

Return the number of observations aggregated