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