Inconsistent behavior of exstimators for null samples
未关闭
design-shed
- 主要语言
- Haskell
- 星标
- 309
- 派生
- 76
- PR 合并指标
- 30 天内没有已合并 PR
描述
Functions for estimation of various statistics have inconsistent behavior for samples of insufficient size. For example for empty sample
- mean returns NaN
- welfordMean returns 0
- Quantile.weightedAvg throws exception.
It's not clear what is correct behavior. One possibility is to simply return Maybe when estimate is impossible but that will require constant unwrapping of Maybes so I'm not sure it's good thing
was brought up in #94
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。