Closed markjrussell closed 11 years ago
Thanks! However, this is a gem for descriptive statistics not inferential statistics. Thus, we provide the standard deviation of the data provided (i.e., the population). If you think this needs clarification in the docs, that would be welcome!
The variance & standard deviation methods return the population var/st. deviation, not the sample method which is usually what one would want and what users would be likely to expect.
variance.rb ought to read:
I've submitted a pull request for this change