Module: Diagnostics::Sample::Controls::StandardDeviation::Values
- Extended by:
- Values
- Included in:
- Result, Result::Digest, Values
- Defined in:
- lib/diagnostics/sample/controls/standard_deviation.rb
Overview
Source: en.wikipedia.org/wiki/Standard_deviation#Population_standard_deviation_of_grades_of_eight_students (Nathan Ladd, Wed 30 May 2018)
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.example ⇒ Object
9 10 11 |
# File 'lib/diagnostics/sample/controls/standard_deviation.rb', line 9 def self.example values end |
Instance Method Details
#count ⇒ Object
17 18 19 |
# File 'lib/diagnostics/sample/controls/standard_deviation.rb', line 17 def count values.count end |
#frequency ⇒ Object
29 30 31 |
# File 'lib/diagnostics/sample/controls/standard_deviation.rb', line 29 def frequency 200 end |
#mean ⇒ Object
25 26 27 |
# File 'lib/diagnostics/sample/controls/standard_deviation.rb', line 25 def mean 5 end |
#sum ⇒ Object
21 22 23 |
# File 'lib/diagnostics/sample/controls/standard_deviation.rb', line 21 def sum 40 end |
#values ⇒ Object
13 14 15 |
# File 'lib/diagnostics/sample/controls/standard_deviation.rb', line 13 def values [2, 4, 4, 4, 5, 5, 7, 9] end |