Module: Hypergeometric

Defined in:
lib/rbbt/statistics/hypergeometric.rb

Class Method Summary collapse

Class Method Details

.hypergeometric(total, support, list, found) ⇒ Object



104
105
106
# File 'lib/rbbt/statistics/hypergeometric.rb', line 104

def self.hypergeometric(total, support, list, found)
  RSRuby.instance.phyper(found, support, total - support, list, false).to_f
end