num4tststatistic2 0.1.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/{corrtest.rb → num4corrtest.rb} +1 -1
- data/lib/num4tststatistic2.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7959285c4da926ed687eb9d7292df6e49fdbf6e6f478f747060d4313b6b75a86
|
4
|
+
data.tar.gz: 26f6275766687e48dbd58ef413efc57edc2d29fea9bf200b9d8d845987f87fba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b33ebc741f49d7ac1e4b5ca9b9811d67458a5a58d1cb06353eca28422ea329d9656e402703f41a6a7f3a44ed93a5c31790d1e1cc4fff4c1add6a127af69220
|
7
|
+
data.tar.gz: d08688f8e75d54eafdda166e7b7055a008719a823bb2a62a0dc4f4c00fbc12aa166ef76d68fb1f07397c65eae762fead655613f4101ecbb5623b2857ab7028e0
|
data/CHANGELOG.md
CHANGED
data/lib/num4tststatistic2.rb
CHANGED
@@ -69,7 +69,7 @@ module Num4TstStatistic2Lib
|
|
69
69
|
statistic = @paraTest.populationRatio(m, n, p0)
|
70
70
|
return @hypothTest3.normDistTest(statistic, a)
|
71
71
|
end
|
72
|
-
# 2つの母平均の差の検定
|
72
|
+
# 2つの母平均の差の検定(等分散性check有り)
|
73
73
|
#
|
74
74
|
# @overload diffPopulationVarMean(xi1, xi2, a)
|
75
75
|
# @param [Array] xi1 x1のデータ(double[])
|
@@ -152,6 +152,7 @@ module Num4TstStatistic2Lib
|
|
152
152
|
# => true
|
153
153
|
def diffPopulationMean(xi1, xi2, a)
|
154
154
|
raise TypeError unless @hypothTest3.kind_of?(HypothTest3IF)
|
155
|
+
raise RangeError unless xi1.size == xi2.size
|
155
156
|
|
156
157
|
n = xi1.size
|
157
158
|
df = n - 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: num4tststatistic2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- siranovel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: num4tststatistic
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- CHANGELOG.md
|
60
60
|
- Gemfile
|
61
61
|
- LICENSE
|
62
|
-
- lib/
|
62
|
+
- lib/num4corrtest.rb
|
63
63
|
- lib/num4tststatistic2.rb
|
64
64
|
homepage: https://github.com/siranovel/num4tststatistic2
|
65
65
|
licenses:
|