Class: Num4HypothTestLib::TwoSideTestLib
- Inherits:
-
HypothTest3IF
- Object
- HypothTest3IF
- Num4HypothTestLib::TwoSideTestLib
- Defined in:
- lib/num4hypothtst.rb
Overview
両側検定
Instance Method Summary collapse
-
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定.
-
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定.
-
#initialize ⇒ TwoSideTestLib
constructor
A new instance of TwoSideTestLib.
-
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定.
-
#populationCorre(r, n, rth0, a) ⇒ boolean
母相関係数の検定量.
-
#tDistTest(statistic, df, a) ⇒ boolean
T検定.
Constructor Details
#initialize ⇒ TwoSideTestLib
Returns a new instance of TwoSideTestLib.
17 18 19 |
# File 'lib/num4hypothtst.rb', line 17 def initialize @hypothTest3 = TwoSideTest.getInstance() end |
Instance Method Details
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定
37 38 39 |
# File 'lib/num4hypothtst.rb', line 37 def chi2DistTest(statistic, df, a) return @hypothTest3.chi2DistTest(statistic, df, a) end |
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定
57 58 59 |
# File 'lib/num4hypothtst.rb', line 57 def fDistTest(statistic, nf, df, a) return @hypothTest3.fDistTest(statistic, nf, df, a) end |
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定
46 47 48 |
# File 'lib/num4hypothtst.rb', line 46 def normDistTest(statistic, a) return @hypothTest3.normDistTest(statistic, a) end |
#populationCorre(r, n, rth0, a) ⇒ boolean
Note:
標準正規分布 N(0,1*1)に従う(近似的)
母相関係数の検定量
70 71 72 |
# File 'lib/num4hypothtst.rb', line 70 def populationCorre(r, n, rth0, a) return @hypothTest3.populationCorre(r, n, rth0, a); end |
#tDistTest(statistic, df, a) ⇒ boolean
T検定
27 28 29 |
# File 'lib/num4hypothtst.rb', line 27 def tDistTest(statistic, df, a) return @hypothTest3.tDistTest(statistic, df, a) end |