Opened 8 years ago
Closed 8 years ago
#2628 closed feature request (done)
Population variance should be available as enumerable extension
Reported by: | mkommend | Owned by: | mkommend |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.14 |
Component: | Common | Version: | 3.3.13 |
Keywords: | Cc: |
Description
Currently only the sample standard deviation and variance can be calculated with the enumerable extensions. The difference between those is the divisor n vs (n-1).
Change History (5)
comment:1 Changed 8 years ago by mkommend
comment:2 Changed 8 years ago by mkommend
- Status changed from new to accepted
r14011 slightly changes the existing behavior of the sample stddev and variance.
previously: variance(Enumerable<double>.Empty) == 0.0 now: variance(Enumerable<double>.Empty == double.NaN
comment:3 Changed 8 years ago by mkommend
- Owner changed from mkommend to gkronber
- Status changed from accepted to reviewing
comment:4 Changed 8 years ago by gkronber
- Owner changed from gkronber to mkommend
- Status changed from reviewing to readytorelease
r14011 is fine by me.
comment:5 Changed 8 years ago by mkommend
- Resolution set to done
- Status changed from readytorelease to closed
Note: See
TracTickets for help on using
tickets.
r14011: Added methods for calculating the population stddev and variance of IEnumerable<double>.