This adds support for specifying degrees of freedom when calculating variance and standard deviation. I'm not sure if there are any corresponding changes to the docs that should be made.
Note: I believe it also fixes a bug in the unit tests: previously the variance()/stdev() functions in runstats were using a denominator of N-1 but the mean()/variance() functions in the unit tests were using a denominator of N.
This adds support for specifying degrees of freedom when calculating variance and standard deviation. I'm not sure if there are any corresponding changes to the docs that should be made.
Note: I believe it also fixes a bug in the unit tests: previously the
variance()
/stdev()
functions in runstats were using a denominator ofN-1
but themean()
/variance()
functions in the unit tests were using a denominator ofN
.