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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfd90c54dab3784be95fad71d373a338e24c17a41b0bb5ddde46e46d77a4e739
4
- data.tar.gz: 6fa678137d1a9b7fa3336a8f61bdc3fe03d89cb67c6ece3ff5ddb27c5216cfb3
3
+ metadata.gz: 7959285c4da926ed687eb9d7292df6e49fdbf6e6f478f747060d4313b6b75a86
4
+ data.tar.gz: 26f6275766687e48dbd58ef413efc57edc2d29fea9bf200b9d8d845987f87fba
5
5
  SHA512:
6
- metadata.gz: 20ec74c474a5d8524ab8c18eac95b33ac5c0bc96241a8aa8dea2aa3a2bb41d633c90aad4561611f25f421b68af754b5ebae32ac08a1ceb73b0ae672a1c9714ef
7
- data.tar.gz: 2520663599be76415a0fb3a6106d096f5697be92fdbf1371affff34ac4f9aa1b6da0f24e36c5ef7150e6cd2eec05d94207fd38be17a97552ab78326d3e583e6a
6
+ metadata.gz: 97b33ebc741f49d7ac1e4b5ca9b9811d67458a5a58d1cb06353eca28422ea329d9656e402703f41a6a7f3a44ed93a5c31790d1e1cc4fff4c1add6a127af69220
7
+ data.tar.gz: d08688f8e75d54eafdda166e7b7055a008719a823bb2a62a0dc4f4c00fbc12aa166ef76d68fb1f07397c65eae762fead655613f4101ecbb5623b2857ab7028e0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## [0.2.1] - 2024-05-15
6
+ ### change
7
+ - change module name to Num4CorrTestLib from CorrTestLib.
8
+
5
9
  ## [0.1.2] - 2024-05-08
6
10
 
7
11
  ### chg
@@ -2,7 +2,7 @@ require 'num4tststatistic'
2
2
  require 'hypothTest3'
3
3
 
4
4
  # 相関検定
5
- module CorrTestLib
5
+ module Num4CorrTestLib
6
6
  # 無相関の検定
7
7
  class DecorrTestLib
8
8
  def initialize
@@ -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.2
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-08 00:00:00.000000000 Z
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/corrtest.rb
62
+ - lib/num4corrtest.rb
63
63
  - lib/num4tststatistic2.rb
64
64
  homepage: https://github.com/siranovel/num4tststatistic2
65
65
  licenses: