Actions
Feature #2322
closed[PATCH] Add standard deviation function to Math Module
Description
=begin
This patch adds a Standard Deviation function to the Math Module. It takes an array and finds the standard deviation of all its elements, as long as they are numbers.
=end
Files
Updated by nahi (Hiroshi Nakamura) over 12 years ago
- Description updated (diff)
- Assignee set to mrkn (Kenta Murata)
Updated by shyouhei (Shyouhei Urabe) over 12 years ago
- Status changed from Open to Assigned
Updated by mrkn (Kenta Murata) over 12 years ago
- Status changed from Assigned to Rejected
Why do we need to specially treat the 2nd central moment, that is standard deviation, than the other nth moment, such as skewness (3rd) and kurtosis (4th)?
You can use NArray for that reason. See http://narray.rubyforge.org/index.html.en
Actions
Like0
Like0Like0Like0Like0