Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added Sample Variance & SD #25
The existing methods calculate the 'population' variance and standard
P.S. Looks like there were some end-of-line spaces that got truncated automatically by my editor, I'll happily amend to remove these if the commit log noise is an issue.
Thanks for this awesome PR! As you correctly note, we calculate the variance of the values in the collection and do not try and estimate the variance of the population from which the values in the collection are derived. Only the former and not the later is within the scope of this gem's target functionality. I've updated the readme with a note to try and make this clearer to users of the gem.