num4difftest 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/num4difftest.rb +8 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12ada45c41a0792a8250d2955a9406713aab14d616fcdf794b3409bc81a7a4e0
|
4
|
+
data.tar.gz: 15abeeab237e1e6d1bd023dd331a96493ab46686f78fd2a453bd643852fec3f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98c48bd6817950e2e340724fefbc05f9381e8b34a03564ddd2e18a5efee213319dda271dc488c8196e00e0c168bf4e239a02626f8c233ba54fb212b906cf08f1
|
7
|
+
data.tar.gz: 02657df2d01ca68650da1e4205ec62354c044aae2ab9dd8e5e6782654885a989d0f51bbf68b022292ea33e4110d27d3834360f9f2c74d3450b0ac789ee0ffce9
|
data/CHANGELOG.md
CHANGED
data/lib/num4difftest.rb
CHANGED
@@ -43,13 +43,13 @@ module Num4DiffTestLib
|
|
43
43
|
# @param [double] a 有意水準
|
44
44
|
# @return [boolean] 検定結果(true:棄却域内 false:棄却域外)
|
45
45
|
# @example
|
46
|
-
#
|
46
|
+
# xi = [
|
47
47
|
# [12.2, 18.8, 18.2],
|
48
48
|
# [22.2, 20.5, 14.6],
|
49
49
|
# [20.8, 19.5, 26.3],
|
50
50
|
# [26.4, 32.5, 31.3],
|
51
51
|
# [24.5, 21.2, 22.4],
|
52
|
-
#
|
52
|
+
# ]
|
53
53
|
# hypothTest2 = Num4HypothTestLib::TwoSideTestLib.new
|
54
54
|
# paraTest2 = Num4DiffTestLib::ParametrixTestLib.new(hypothTest2)
|
55
55
|
# paraTest2.mult_diff_test(xi, 0.05)
|
@@ -70,7 +70,7 @@ module Num4DiffTestLib
|
|
70
70
|
# @param [double] a 有意水準
|
71
71
|
# @return [Array] 検定結果(boolean[] true:棄却域内 false:棄却域外)
|
72
72
|
# @example
|
73
|
-
#
|
73
|
+
# xij = [
|
74
74
|
# [
|
75
75
|
# [13.2, 15.7, 11.9],
|
76
76
|
# [16.1, 15.7, 15.1],
|
@@ -96,7 +96,7 @@ module Num4DiffTestLib
|
|
96
96
|
# paraTest2 = Num4DiffTestLib::ParametrixTestLib.new(hypothTest2)
|
97
97
|
# paraTest2.mult2_diff_test(xij, 0.05)
|
98
98
|
# =>
|
99
|
-
#
|
99
|
+
# [true, true]
|
100
100
|
def mult2_diff_test(xi1, a)
|
101
101
|
raise TypeError unless @hypothTest3.kind_of?(HypothTest3IF)
|
102
102
|
|
@@ -210,11 +210,11 @@ module Num4DiffTestLib
|
|
210
210
|
# @param [double] a 有意水準
|
211
211
|
# @return [boolean] 検定結果(true:棄却域内 false:棄却域外)
|
212
212
|
# @example
|
213
|
-
#
|
213
|
+
# xi = [
|
214
214
|
# [12.2, 18.8, 18.2],
|
215
215
|
# [22.2, 20.5, 14.6, 20.8, 19.5, 26.3],
|
216
216
|
# [26.4, 32.5, 31.3, 24.5, 21.2, 22.4],
|
217
|
-
#
|
217
|
+
# ]
|
218
218
|
# hypothTest2 = Num4HypothTestLib::TwoSideTestLib.new
|
219
219
|
# nonParaTest = Num4DiffTestLib::NonParametrixTestLib.new(hypothTest2)
|
220
220
|
# nonParaTest.mult_diff_test(xi, 0.05)
|
@@ -231,12 +231,12 @@ module Num4DiffTestLib
|
|
231
231
|
# @param [double] a 有意水準
|
232
232
|
# @return [Array] 検定結果(boolean[] true:棄却域内 false:棄却域外)
|
233
233
|
# @example
|
234
|
-
#
|
234
|
+
# xij = [
|
235
235
|
# [13.6, 15.6, 9.2],
|
236
236
|
# [22.3, 23.3, 13.3],
|
237
237
|
# [26.7, 28.8, 15.0],
|
238
238
|
# [28.0, 31.2, 15.8],
|
239
|
-
#
|
239
|
+
# ]
|
240
240
|
# hypothTest2 = Num4HypothTestLib::TwoSideTestLib.new
|
241
241
|
# nonParaTest = Num4DiffTestLib::NonParametrixTestLib.new(hypothTest2)
|
242
242
|
# nonParaTest.mult2_diff_test(xij, a)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: num4difftest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- siranovel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|