Stability | experimental |
---|---|

Maintainer | Patrick Perry <patperry@gmail.com> |

Safe Haskell | None |

Summary statistics for `Bool`

s.

- data Summary
- size :: Summary -> Int
- sum :: Summary -> Int
- mean :: Summary -> Double
- meanSE :: Summary -> Double
- meanCI :: Double -> Summary -> (Double, Double)
- empty :: Summary
- singleton :: Bool -> Summary
- insert :: Bool -> Summary -> Summary
- insertWith :: (a -> Bool) -> a -> Summary -> Summary
- union :: Summary -> Summary -> Summary
- unions :: [Summary] -> Summary
- fromList :: [Bool] -> Summary
- fromListWith :: (a -> Bool) -> [a] -> Summary
- toStats :: Summary -> (Int, Int)
- fromStats :: Int -> Int -> Summary

# Summary type

# Properties

## Sum

## Mean

meanCI :: Double -> Summary -> (Double, Double)Source

Central Limit Theorem based confidence interval for the
population mean (proportion) at the specified coverage level. The
level must be in the range `(0,1)`

.

# Construction

# Insertion

insertWith :: (a -> Bool) -> a -> Summary -> SummarySource

Apply a function and update the summary with the result.

# Combination

# Conversion

## Lists

fromListWith :: (a -> Bool) -> [a] -> SummarySource

Map a function over a list of values and summarize the results.