Safe Haskell | Safe-Inferred |
---|
- data BoolSumm
- class Summary s where
- sampleMean :: s -> Double
- sampleSE :: s -> Double
- sampleSize :: s -> Int
Documentation
A BoolSumm
counts the number of True and all events observed.
Many Monte Carlo simulations require statistical analysis of the results.
Any Result
instances which can be described statistically should be made instances of Summary
.
sampleMean :: s -> DoubleSource
Compute the mean of the aggregated observations
Compute the std. error of the aggregated observations
sampleSize :: s -> IntSource
Return the number of observations aggregated