Copyright | (c) 2009 Bryan O'Sullivan |
---|---|

License | BSD3 |

Maintainer | bos@serpentine.com |

Stability | experimental |

Portability | portable |

Safe Haskell | None |

Language | Haskell98 |

Types for working with statistics.

# Documentation

An estimator of a property of a sample, such as its `mean`

.

The use of an algebraic data type here allows functions such as
`jackknife`

and `bootstrapBCA`

to use more efficient algorithms
when possible.

type WeightedSample = Vector (Double, Double) Source

Sample with weights. First element of sample is data, second is weight