Method: Rust::RBindings#t_test

Defined in:
lib/rust/stats/tests.rb

#t_test(d1, d2, **args) ⇒ Object



376
377
378
379
380
381
382
383
# File 'lib/rust/stats/tests.rb', line 376

def t_test(d1, d2, **args)
    paired = args[:paired] || false
    if paired
        return Rust::StatisticalTests::T.paired(d1, d2)
    else
        return Rust::StatisticalTests::T.unpaired(d1, d2)
    end
end