Class: Num4HypothTestLib::LeftSideTestLib
- Inherits:
-
Object
- Object
- Num4HypothTestLib::LeftSideTestLib
- Defined in:
- lib/num4hypothtst.rb
Overview
片側(左側)検定
Instance Method Summary collapse
-
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定.
-
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定.
-
#initialize ⇒ LeftSideTestLib
constructor
A new instance of LeftSideTestLib.
-
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定.
-
#populationCorre(r, n, rth0, a) ⇒ boolean
母相関係数の検定量.
-
#tDistTest(statistic, df, a) ⇒ boolean
T検定.
Constructor Details
#initialize ⇒ LeftSideTestLib
Returns a new instance of LeftSideTestLib.
134 135 136 |
# File 'lib/num4hypothtst.rb', line 134 def initialize @hypothTest3 = LeftSideTest.getInstance() end |
Instance Method Details
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定
154 155 156 |
# File 'lib/num4hypothtst.rb', line 154 def chi2DistTest(statistic, df, a) return @hypothTest3.chi2DistTest(statistic, df, a) end |
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定
174 175 176 |
# File 'lib/num4hypothtst.rb', line 174 def fDistTest(statistic, nf, df, a) return @hypothTest3.fDistTest(statistic, nf, df, a) end |
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定
163 164 165 |
# File 'lib/num4hypothtst.rb', line 163 def normDistTest(statistic, a) return @hypothTest3.normDistTest(statistic, a) end |
#populationCorre(r, n, rth0, a) ⇒ boolean
Note:
標準正規分布 N(0,1*1)に従う(近似的)
母相関係数の検定量
187 188 189 |
# File 'lib/num4hypothtst.rb', line 187 def populationCorre(r, n, rth0, a) return @hypothTest3.populationCorre(r, n, rth0, a); end |
#tDistTest(statistic, df, a) ⇒ boolean
T検定
144 145 146 |
# File 'lib/num4hypothtst.rb', line 144 def tDistTest(statistic, df, a) return @hypothTest3.tDistTest(statistic, df, a) end |