lib/more_math/sequence.rb
# Returns the t value of the Student's t-test between this Sequence
# instance and the +other+.
Returns the t value of the Student's t-test between this Sequence
instance and the +other+.
Returns the t value of the Student ' s t - test between this Sequence instance and the + other + .
def t_student(other)
      signal = arithmetic_mean - other.arithmetic_mean
      noise = common_standard_deviation(other) *
        Math.sqrt(size ** -1 + size ** -1)
      signal / noise
    rescue Errno::EDOM
      0.0
    end
def t_student ( other ) signal = arithmetic_mean - other . arithmetic_mean noise = common_standard_deviation ( other ) * Math . sqrt ( size ** - 1 + size ** - 1 ) signal / noise rescue Errno :: EDOM 0.0 end
Returns the t value of the Student's t-test between this Sequence
instance and the +other+.
Returns the t value of the Student ' s t - test between this Sequence instance and the + other + .
other
<not_specific>