Top Level Namespace

Defined Under Namespace

Modules: Statistica Classes: ActivateStatistica

Instance Method Summary collapse

Instance Method Details

#arith_mean_expectedObject



15
16
17
# File 'lib/fixtures.rb', line 15

def arith_mean_expected
  7.57
end

#coeff_var_expectedObject



47
48
49
# File 'lib/fixtures.rb', line 47

def coeff_var_expected
  0.42
end

#general_sample_arrayObject

Values to test the methods to ensure accurate calculations.



3
4
5
# File 'lib/fixtures.rb', line 3

def general_sample_array
  [9, 8, 13, 9, 5, 4, 5]
end

#geo_mean_expectedObject



19
20
21
# File 'lib/fixtures.rb', line 19

def geo_mean_expected
  7.02
end

#harm_mean_expectedObject



23
24
25
# File 'lib/fixtures.rb', line 23

def harm_mean_expected
  6.52
end

#interquartile_range_expectedObject



55
56
57
# File 'lib/fixtures.rb', line 55

def interquartile_range_expected
  4
end

#median_expectedObject



27
28
29
# File 'lib/fixtures.rb', line 27

def median_expected
  8
end

#mode_expectedObject



31
32
33
# File 'lib/fixtures.rb', line 31

def mode_expected
  5
end

#percentile_expectedObject



51
52
53
# File 'lib/fixtures.rb', line 51

def percentile_expected
  5
end

#product_expectedObject



11
12
13
# File 'lib/fixtures.rb', line 11

def product_expected
  842400
end

#range_expectedObject



35
36
37
# File 'lib/fixtures.rb', line 35

def range_expected
  9
end

#relative_variance_expectedObject



59
60
61
# File 'lib/fixtures.rb', line 59

def relative_variance_expected
  13.08
end

#stdev_expectedObject



43
44
45
# File 'lib/fixtures.rb', line 43

def stdev_expected
  3.15
end

#sum_expectedObject



7
8
9
# File 'lib/fixtures.rb', line 7

def sum_expected
  53
end

#variance_expectedObject



39
40
41
# File 'lib/fixtures.rb', line 39

def variance_expected
  9.95
end