class Object

Public Instance Methods

arith_mean_expected() click to toggle source
# File lib/fixtures.rb, line 15
def arith_mean_expected
  7.57
end
coeff_var_expected() click to toggle source
# File lib/fixtures.rb, line 47
def coeff_var_expected
  0.42
end
general_sample_array() click to toggle source

Values to test the methods to ensure accurate calculations.

# File lib/fixtures.rb, line 3
def general_sample_array
  [9, 8, 13, 9, 5, 4, 5]
end
geo_mean_expected() click to toggle source
# File lib/fixtures.rb, line 19
def geo_mean_expected
  7.02
end
harm_mean_expected() click to toggle source
# File lib/fixtures.rb, line 23
def harm_mean_expected
  6.52
end
interquartile_range_expected() click to toggle source
# File lib/fixtures.rb, line 55
def interquartile_range_expected
  4
end
median_expected() click to toggle source
# File lib/fixtures.rb, line 27
def median_expected
  8
end
mode_expected() click to toggle source
# File lib/fixtures.rb, line 31
def mode_expected
  5
end
percentile_expected() click to toggle source
# File lib/fixtures.rb, line 51
def percentile_expected
  5
end
product_expected() click to toggle source
# File lib/fixtures.rb, line 11
def product_expected
  842400
end
range_expected() click to toggle source
# File lib/fixtures.rb, line 35
def range_expected
  9
end
relative_variance_expected() click to toggle source
# File lib/fixtures.rb, line 59
def relative_variance_expected
  13.08
end
stdev_expected() click to toggle source
# File lib/fixtures.rb, line 43
def stdev_expected
  3.15
end
sum_expected() click to toggle source
# File lib/fixtures.rb, line 7
def sum_expected
  53
end
variance_expected() click to toggle source
# File lib/fixtures.rb, line 39
def variance_expected
  9.95
end