Feature #2322

[PATCH] Add standard deviation function to Math Module

Added by danielc192 (Daniel Cohen) over 2 years ago. Updated 2 months ago.

[ruby-core:26473]
Status:Rejected Start date:11/02/2009
Priority:Normal Due date:
Assignee:mrkn (Kenta Murata) % Done:

0%

Category:core
Target version:2.0.0

Description

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.

add_stdev.diff - Patch to add standard deviation feature (982 Bytes) danielc192 (Daniel Cohen), 11/02/2009 05:29 am


Related issues

related to ruby-trunk - Feature #2321: [PATCH] Array Module sum and mean features Rejected 11/01/2009

History

Updated by znz (Kazuhiro NISHIYAMA) about 2 years ago

  • Target version set to 2.0.0

Updated by nahi (Hiroshi Nakamura) 2 months ago

  • Description updated (diff)
  • Assignee set to mrkn (Kenta Murata)

Updated by shyouhei (Shyouhei Urabe) 2 months ago

  • Status changed from Open to Assigned

Updated by mrkn (Kenta Murata) 2 months 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

Also available in: Atom PDF