Class: Rust::EffectSize::Result
Overview
Effect size results.
Instance Attribute Summary collapse
-
#confidence_interval ⇒ Object
Returns the value of attribute confidence_interval.
-
#confidence_level ⇒ Object
Returns the value of attribute confidence_level.
-
#estimate ⇒ Object
Returns the value of attribute estimate.
-
#magnitude ⇒ Object
Returns the value of attribute magnitude.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#confidence_interval ⇒ Object
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_level ⇒ Object
Returns the value of attribute confidence_level.
17 18 19 |
# File 'lib/rust/stats/effsize.rb', line 17 def confidence_level @confidence_level end |
#estimate ⇒ Object
Returns the value of attribute estimate.
15 16 17 |
# File 'lib/rust/stats/effsize.rb', line 15 def estimate @estimate end |
#magnitude ⇒ Object
Returns the value of attribute magnitude.
18 19 20 |
# File 'lib/rust/stats/effsize.rb', line 18 def magnitude @magnitude end |
#name ⇒ Object
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_s ⇒ Object
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 |