Class: Rust::EffectSize::Result
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.
11 12 13 |
# File 'lib/rust-effsize.rb', line 11 def confidence_interval @confidence_interval end |
#confidence_level ⇒ Object
Returns the value of attribute confidence_level.
12 13 14 |
# File 'lib/rust-effsize.rb', line 12 def confidence_level @confidence_level end |
#estimate ⇒ Object
Returns the value of attribute estimate.
10 11 12 |
# File 'lib/rust-effsize.rb', line 10 def estimate @estimate end |
#magnitude ⇒ Object
Returns the value of attribute magnitude.
13 14 15 |
# File 'lib/rust-effsize.rb', line 13 def magnitude @magnitude end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/rust-effsize.rb', line 9 def name @name end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/rust-effsize.rb', line 15 def to_s return "#{name} = #{estimate} (#{magnitude}) [#{confidence_interval.min}, #{confidence_interval.max}]" end |