Opened 9 months ago

Closed 9 months 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 9 months ago by mkommend

r14011: Added methods for calculating the population stddev and variance of IEnumerable<double>.

comment:2 Changed 9 months 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 9 months ago by mkommend

  • Owner changed from mkommend to gkronber
  • Status changed from accepted to reviewing

comment:4 Changed 9 months ago by gkronber

  • Owner changed from gkronber to mkommend
  • Status changed from reviewing to readytorelease

r14011 is fine by me.

comment:5 Changed 9 months ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed

r14012: Merged r14011 into stable.

Note: See TracTickets for help on using tickets.