Class: Rust::EffectSize::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#confidence_intervalObject

Returns the value of attribute confidence_interval.



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

def confidence_interval
  @confidence_interval
end

#confidence_levelObject

Returns the value of attribute confidence_level.



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

def confidence_level
  @confidence_level
end

#estimateObject

Returns the value of attribute estimate.



8
9
10
# File 'lib/rust/stats/effsize.rb', line 8

def estimate
  @estimate
end

#magnitudeObject

Returns the value of attribute magnitude.



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

def magnitude
  @magnitude
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/rust/stats/effsize.rb', line 7

def name
  @name
end

Instance Method Details

#to_sObject



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

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