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
標準正規分布検定.
-
#tDistTest(statistic, df, a) ⇒ boolean
T検定.
-
#wilcoxon(statistic, n, a) ⇒ boolean
ウィルコクソン符号順位検定.
Constructor Details
#initialize ⇒ LeftSideTestLib
Returns a new instance of LeftSideTestLib.
132 133 134 |
# File 'lib/num4hypothtst.rb', line 132 def initialize @hypothTest = LeftSideTest.getInstance() end |
Instance Method Details
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定
152 153 154 |
# File 'lib/num4hypothtst.rb', line 152 def chi2DistTest(statistic, df, a) return @hypothTest.chi2DistTest(statistic, df, a) end |
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定
172 173 174 |
# File 'lib/num4hypothtst.rb', line 172 def fDistTest(statistic, nf, df, a) return @hypothTest.fDistTest(statistic, nf, df, a) end |
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定
161 162 163 |
# File 'lib/num4hypothtst.rb', line 161 def normDistTest(statistic, a) return @hypothTest.normDistTest(statistic, a) end |
#tDistTest(statistic, df, a) ⇒ boolean
T検定
142 143 144 |
# File 'lib/num4hypothtst.rb', line 142 def tDistTest(statistic, df, a) return @hypothTest.tDistTest(statistic, df, a) end |
#wilcoxon(statistic, n, a) ⇒ boolean
Note:
内部でN(0,1)に近似して検定
ウィルコクソン符号順位検定
184 185 186 |
# File 'lib/num4hypothtst.rb', line 184 def wilcoxon(statistic, n, a) return @hypothTest.wilcoxon(statistic, n, a) end |