Class: Num4HypothTestLib::RightSideTestLib
- Inherits:
-
Object
- Object
- Num4HypothTestLib::RightSideTestLib
- Defined in:
- lib/num4hypothtst.rb
Overview
片側(右側)検定
Instance Method Summary collapse
-
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定.
-
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定.
-
#initialize ⇒ RightSideTestLib
constructor
A new instance of RightSideTestLib.
-
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定.
-
#tDistTest(statistic, df, a) ⇒ boolean
T検定.
-
#wilcoxon(statistic, n, a) ⇒ boolean
ウィルコクソン符号順位検定.
Constructor Details
#initialize ⇒ RightSideTestLib
Returns a new instance of RightSideTestLib.
74 75 76 |
# File 'lib/num4hypothtst.rb', line 74 def initialize @hypothTest = RightSideTest.getInstance() end |
Instance Method Details
#chi2DistTest(statistic, df, a) ⇒ boolean
階2乗検定
94 95 96 |
# File 'lib/num4hypothtst.rb', line 94 def chi2DistTest(statistic, df, a) return @hypothTest.chi2DistTest(statistic, df, a) end |
#fDistTest(statistic, nf, df, a) ⇒ boolean
F検定
114 115 116 |
# File 'lib/num4hypothtst.rb', line 114 def fDistTest(statistic, nf, df, a) return @hypothTest.fDistTest(statistic, nf, df, a) end |
#normDistTest(statistic, a) ⇒ boolean
標準正規分布検定
103 104 105 |
# File 'lib/num4hypothtst.rb', line 103 def normDistTest(statistic, a) return @hypothTest.normDistTest(statistic, a) end |
#tDistTest(statistic, df, a) ⇒ boolean
T検定
84 85 86 |
# File 'lib/num4hypothtst.rb', line 84 def tDistTest(statistic, df, a) return @hypothTest.tDistTest(statistic, df, a) end |
#wilcoxon(statistic, n, a) ⇒ boolean
Note:
内部でN(0,1)に近似して検定
ウィルコクソン符号順位検定
126 127 128 |
# File 'lib/num4hypothtst.rb', line 126 def wilcoxon(statistic, n, a) return @hypothTest.wilcoxon(statistic, n, a) end |