Issue #2322 has been updated by mrkn (Kenta Murata).

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
----------------------------------------
Feature #2322: [PATCH] Add standard deviation function to Math Module
https://bugs.ruby-lang.org/issues/2322#change-24946

Author: danielc192 (Daniel Cohen)
Status: Rejected
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: core
Target version: 2.0.0


=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



-- 
http://bugs.ruby-lang.org/