Class: Num4HypothTestLib::GrubbsTestLib

Inherits:
Object
  • Object
show all
Defined in:
lib/num4hypothtst.rb

Overview

グラブス・スミルノフの外れ値の検定

Instance Method Summary collapse

Constructor Details

#initializeGrubbsTestLib



190
191
192
# File 'lib/num4hypothtst.rb', line 190

def initialize
    @hypothTest = GrubbsTest.getInstance()
end

Instance Method Details

#oneSideTest(statistic, n, a) ⇒ boolean

片側検定



210
211
212
# File 'lib/num4hypothtst.rb', line 210

def oneSideTest(statistic, n, a)
    return @hypothTest.oneSideTest(statistic, n, a)
end

#twoSideTest(statistic, n, a) ⇒ boolean

両側検定



200
201
202
# File 'lib/num4hypothtst.rb', line 200

def twoSideTest(statistic, n, a)
    return @hypothTest.twoSideTest(statistic, n, a)
end