Class: Num4HypothTestLib::GrubbsTestLib
- Inherits:
-
Object
- Object
- Num4HypothTestLib::GrubbsTestLib
- Defined in:
- lib/num4hypothtst.rb
Overview
グラブス・スミルノフの外れ値の検定
Instance Method Summary collapse
-
#initialize ⇒ GrubbsTestLib
constructor
A new instance of GrubbsTestLib.
-
#oneSideTest(statistic, n, a) ⇒ boolean
片側検定.
-
#twoSideTest(statistic, n, a) ⇒ boolean
両側検定.
Constructor Details
#initialize ⇒ GrubbsTestLib
Returns a new instance of GrubbsTestLib.
195 196 197 |
# File 'lib/num4hypothtst.rb', line 195 def initialize @hypothTest2 = GrubbsTest.getInstance() end |
Instance Method Details
#oneSideTest(statistic, n, a) ⇒ boolean
片側検定
215 216 217 |
# File 'lib/num4hypothtst.rb', line 215 def oneSideTest(statistic, n, a) return @hypothTest2.oneSideTest(statistic, n, a) end |
#twoSideTest(statistic, n, a) ⇒ boolean
両側検定
205 206 207 |
# File 'lib/num4hypothtst.rb', line 205 def twoSideTest(statistic, n, a) return @hypothTest2.twoSideTest(statistic, n, a) end |