Class: Rust::StatisticalTests::PValueAdjustment::Hochberg

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

Overview

Hochberg p-value adjustment method.

Class Method Summary collapse

Class Method Details

.adjust(*p_values) ⇒ Object



320
321
322
323
324
325
# File 'lib/rust/stats/tests.rb', line 320

def self.adjust(*p_values)
    Rust.exclusive do
        Rust['adjustment.p'] = p_values
        return Rust._pull("p.adjust(adjustment.p, method=\"hochberg\")")
    end
end