Safe Haskell | Safe-Inferred |
---|
- class Summary s where
- sampleMean :: s -> Double
- sampleSE :: s -> Double
- sampleSize :: s -> Int
Documentation
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