Class: Rust::EffectSize::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#confidence_intervalObject

Returns the value of attribute confidence_interval.



11
12
13
# File 'lib/rust-effsize.rb', line 11

def confidence_interval
  @confidence_interval
end

#confidence_levelObject

Returns the value of attribute confidence_level.



12
13
14
# File 'lib/rust-effsize.rb', line 12

def confidence_level
  @confidence_level
end

#estimateObject

Returns the value of attribute estimate.



10
11
12
# File 'lib/rust-effsize.rb', line 10

def estimate
  @estimate
end

#magnitudeObject

Returns the value of attribute magnitude.



13
14
15
# File 'lib/rust-effsize.rb', line 13

def magnitude
  @magnitude
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/rust-effsize.rb', line 9

def name
  @name
end

Instance Method Details

#to_sObject



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

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