num4tststatistic2 0.1.2 → 0.2.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/Gemfile +2 -3
- data/lib/{corrtest.rb → num4corrtest.rb} +1 -1
- data/lib/num4tststatistic2.rb +2 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 689f7c4dc9e59e7a032b3eabdead3355c540e4f077017579efcb450bf7b16625
|
4
|
+
data.tar.gz: 839a662c546a13d8e58bfd14de16879f963043c1cb53a13adbf167a0e361797d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94c5439eaad916963aa4d26ec31f3f054b212d26ebaeae2207b09b7a6dd35055eaf2e3c48e0883b91ea9d6d6c0f506f16526bf98bf2f2c9cbac146b9a48cf081
|
7
|
+
data.tar.gz: f2fcbad7ca9704843d3286ffd8566a41ca37a59e2c5959f0fc69d17c328219bf3cd085da3c382c0674f1f11216ca4d12f97efefc78224d93f8c1cef58f5812ff
|
data/CHANGELOG.md
CHANGED
data/Gemfile
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.
|
4
|
+
version: 0.2.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-05-
|
11
|
+
date: 2024-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: num4tststatistic
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 0.2.2
|
23
|
-
type: :
|
23
|
+
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 0.1.1
|
43
|
-
type: :
|
43
|
+
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
@@ -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:
|