Class: Rust::EffectSize::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/rust/stats/effsize.rb

Overview

Effect size results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#confidence_intervalObject

Returns the value of attribute confidence_interval.



16
17
18
# File 'lib/rust/stats/effsize.rb', line 16

def confidence_interval
  @confidence_interval
end

#confidence_levelObject

Returns the value of attribute confidence_level.



17
18
19
# File 'lib/rust/stats/effsize.rb', line 17

def confidence_level
  @confidence_level
end

#estimateObject

Returns the value of attribute estimate.



15
16
17
# File 'lib/rust/stats/effsize.rb', line 15

def estimate
  @estimate
end

#magnitudeObject

Returns the value of attribute magnitude.



18
19
20
# File 'lib/rust/stats/effsize.rb', line 18

def magnitude
  @magnitude
end

#nameObject

Returns the value of attribute name.



14
15
16
# File 'lib/rust/stats/effsize.rb', line 14

def name
  @name
end

Instance Method Details

#to_sObject



20
21
22
# File 'lib/rust/stats/effsize.rb', line 20

def to_s
    return "#{name} = #{estimate} (#{magnitude}) [#{confidence_interval.min}, #{confidence_interval.max}]"
end