u-mann-whitney 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 112da382ec63a2542f288a107c5146a085fddf07
4
+ data.tar.gz: fcd41bb66d898a600d7612a589adcf9327725f9b
5
+ SHA512:
6
+ metadata.gz: 68639f69f30c5a40beca736cb35525116efeda5dfa7d94f340eb22649e0c338b1e14d83b90eec764ffe85642ef4deb8fdb3c04574c6bd07cd3e07e146de9714c
7
+ data.tar.gz: 7de9b2175b79298bb2b2ea76471f79dccdb93d32e5eb8b7bf9dc9ced607117db736a49d96fe9c5871d00d0f450390a2dfed6c7e0ba5600bad180ea43d11eb975
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.15.3
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in u-mann-whitney.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Michael Nutt
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # UMannWhitney
2
+
3
+ This gem is extracted from [statsample](https://github.com/sciruby/statsample) to reduce the number of dependencies.
4
+
5
+ The U Mann-Whitney test is a non-parametric test for assessing whether two independent samples of observations come from the same distribution.
6
+
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'u-mann-whitney'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install u-mann-whitney
23
+
24
+ ## Usage
25
+
26
+ ```
27
+ leader_values = Daru::Vector.new([1,2,3,4,5,6])
28
+ challenger_values = Daru::Vector.new([7,8,9,10,11,12])
29
+ mann_whitney_test = UMannWhitney.new(leader_values, challenger_values)
30
+
31
+ mann_whitney_test.probability_z
32
+ => 0.0039477518569035475
33
+ mann_whitney_test.probability_exact
34
+ => (1/462)
35
+ ```
36
+
37
+ ## Development
38
+
39
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
40
+
41
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
42
+
43
+ ## Contributing
44
+
45
+ Bug reports and pull requests are welcome on GitHub at https://github.com/movableink/u-mann-whitney.
46
+
47
+ ## License
48
+
49
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/bundler ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'bundler' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("bundler", "bundler")
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "u/mann/whitney"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/distribution ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'distribution' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("distribution", "distribution")
data/bin/htmldiff ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'htmldiff' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("diff-lcs", "htmldiff")
data/bin/ldiff ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'ldiff' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("diff-lcs", "ldiff")
data/bin/rake ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rake' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("rake", "rake")
data/bin/rspec ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rspec' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require "pathname"
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require "rubygems"
15
+ require "bundler/setup"
16
+
17
+ load Gem.bin_path("rspec-core", "rspec")
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ class UMannWhitney
2
+ VERSION = "0.2.0"
3
+ end
@@ -0,0 +1,190 @@
1
+ require 'u_mann_whitney/version'
2
+ require 'distribution'
3
+ require 'daru'
4
+
5
+ #
6
+ # = U Mann-Whitney test
7
+ #
8
+ # Non-parametric test for assessing whether two independent samples
9
+ # of observations come from the same distribution.
10
+ #
11
+ # == Assumptions
12
+ #
13
+ # * The two samples under investigation in the test are independent of each other and the observations within each sample are independent.
14
+ # * The observations are comparable (i.e., for any two observations, one can assess whether they are equal or, if not, which one is greater).
15
+ # * The variances in the two groups are approximately equal.
16
+ #
17
+ # Higher differences of distributions correspond to
18
+ # to lower values of U.
19
+ #
20
+ class UMannWhitney
21
+ # Max for m*n allowed for exact calculation of probability
22
+ MAX_MN_EXACT=10000
23
+
24
+ def self.u_mannwhitney(v1, v2)
25
+ new(v1,v2)
26
+ end
27
+
28
+ # U sampling distribution, based on Dinneen & Blakesley (1973) algorithm.
29
+ # This is the algorithm used on SPSS.
30
+ #
31
+ # Parameters:
32
+ # * <tt>n1</tt>: group 1 size
33
+ # * <tt>n2</tt>: group 2 size
34
+ # == Reference:
35
+ # * Dinneen, L., & Blakesley, B. (1973). Algorithm AS 62: A Generator for the Sampling Distribution of the Mann- Whitney U Statistic. <em>Journal of the Royal Statistical Society, 22</em>(2), 269-273
36
+ #
37
+ def self.u_sampling_distribution_as62(n1,n2)
38
+
39
+ freq=[]
40
+ work=[]
41
+ mn1=n1*n2+1
42
+ max_u=n1*n2
43
+ minmn=n1<n2 ? n1 : n2
44
+ maxmn=n1>n2 ? n1 : n2
45
+ n1=maxmn+1
46
+ (1..n1).each{|i| freq[i]=1}
47
+ n1+=1
48
+ (n1..mn1).each{|i| freq[i]=0}
49
+ work[1]=0
50
+ xin=maxmn
51
+ (2..minmn).each do |i|
52
+ work[i]=0
53
+ xin=xin+maxmn
54
+ n1=xin+2
55
+ l=1+xin.quo(2)
56
+ k=i
57
+ (1..l).each do |j|
58
+ k=k+1
59
+ n1=n1-1
60
+ sum=freq[j]+work[j]
61
+ freq[j]=sum
62
+ work[k]=sum-freq[n1]
63
+ freq[n1]=sum
64
+ end
65
+ end
66
+
67
+ # Generate percentages for normal U
68
+ dist=(1+max_u/2).to_i
69
+ freq.shift
70
+ total=freq.inject(0) {|a,v| a+v }
71
+ (0...dist).collect {|i|
72
+ if i!=max_u-i
73
+ ues=freq[i]*2
74
+ else
75
+ ues=freq[i]
76
+ end
77
+ ues.quo(total)
78
+ }
79
+ end
80
+
81
+ # Sample 1 Rank sum
82
+ attr_reader :r1
83
+ # Sample 2 Rank sum
84
+ attr_reader :r2
85
+ # Sample 1 U (useful for demostration)
86
+ attr_reader :u1
87
+ # Sample 2 U (useful for demostration)
88
+ attr_reader :u2
89
+ # U Value
90
+ attr_reader :u
91
+ # Value of compensation for ties (useful for demostration)
92
+ attr_reader :t
93
+ # Name of test
94
+ attr_accessor :name
95
+ #
96
+ # Create a new U Mann-Whitney test
97
+ # Params: Two Daru::Vectors
98
+ #
99
+ def initialize(v1,v2, opts=Hash.new)
100
+ @v1 = v1
101
+ @v2 = v2
102
+ v1_valid = v1.reject_values(*Daru::MISSING_VALUES).reset_index!
103
+ v2_valid = v2.reject_values(*Daru::MISSING_VALUES).reset_index!
104
+ @n1 = v1_valid.size
105
+ @n2 = v2_valid.size
106
+ data = Daru::Vector.new(v1_valid.to_a + v2_valid.to_a)
107
+ groups = Daru::Vector.new(([0] * @n1) + ([1] * @n2))
108
+ ds = Daru::DataFrame.new({:g => groups, :data => data})
109
+ @t = nil
110
+ @ties = data.to_a.size != data.to_a.uniq.size
111
+ if @ties
112
+ adjust_for_ties(ds[:data])
113
+ end
114
+ ds[:ranked] = ds[:data].ranked
115
+ @n = ds.nrows
116
+
117
+ @r1 = ds.filter_rows { |r| r[:g] == 0}[:ranked].sum || 0
118
+ @r2 = ((ds.nrows * (ds.nrows + 1)).quo(2)) - r1
119
+ @u1 = r1 - ((@n1 * (@n1 + 1)).quo(2))
120
+ @u2 = r2 - ((@n2 * (@n2 + 1)).quo(2))
121
+ @u = (u1 < u2) ? u1 : u2
122
+ opts_default = { :name=>_("Mann-Whitney's U") }
123
+ @opts = opts_default.merge(opts)
124
+ opts_default.keys.each {|k|
125
+ send("#{k}=", @opts[k])
126
+ }
127
+ end
128
+ def report_building(generator) # :nodoc:
129
+ generator.section(:name=>@name) do |s|
130
+ s.table(:name=>_("%s results") % @name) do |t|
131
+ t.row([_("Sum of ranks %s") % @v1.name, "%0.3f" % @r1])
132
+ t.row([_("Sum of ranks %s") % @v2.name, "%0.3f" % @r2])
133
+ t.row([_("U Value"), "%0.3f" % @u])
134
+ t.row([_("Z"), "%0.3f (p: %0.3f)" % [z, probability_z]])
135
+ if @n1*@n2<MAX_MN_EXACT
136
+ t.row([_("Exact p (Dinneen & Blakesley, 1973):"), "%0.3f" % probability_exact])
137
+ end
138
+ end
139
+ end
140
+ end
141
+ # Shim for gettext
142
+ def _(t)
143
+ t
144
+ end
145
+ # Exact probability of finding values of U lower or equal to sample on U distribution. Use with caution with m*n>100000.
146
+ # Uses u_sampling_distribution_as62
147
+ def probability_exact
148
+ dist = UMannWhitney.u_sampling_distribution_as62(@n1,@n2)
149
+ sum = 0
150
+ (0..@u.to_i).each {|i|
151
+ sum+=dist[i]
152
+ }
153
+ sum
154
+ end
155
+ # Adjunt for ties.
156
+ #
157
+ # == Reference:
158
+ # * http://europe.isixsigma.com/library/content/c080806a.asp
159
+ def adjust_for_ties(data)
160
+ @t = data.frequencies.to_h.find_all { |k,v| v > 1 }.inject(0) { |a,v|
161
+ a + (v[1]**3 - v[1]).quo(12)
162
+ }
163
+ end
164
+
165
+ private :adjust_for_ties
166
+
167
+ # Z value for U, with adjust for ties.
168
+ # For large samples, U is approximately normally distributed.
169
+ # In that case, you can use z to obtain probabily for U.
170
+ # == Reference:
171
+ # * SPSS Manual
172
+ def z
173
+ mu=(@n1*@n2).quo(2)
174
+ if(!@ties)
175
+ ou=Math::sqrt(((@n1*@n2)*(@n1+@n2+1)).quo(12))
176
+ else
177
+ n=@n1+@n2
178
+ first=(@n1*@n2).quo(n*(n-1))
179
+ second=((n**3-n).quo(12))-@t
180
+ ou=Math::sqrt(first*second)
181
+ end
182
+ (@u-mu).quo(ou)
183
+ end
184
+ # Assuming H_0, the proportion of cdf with values of U lower
185
+ # than the sample, using normal approximation.
186
+ # Use with more than 30 cases per group.
187
+ def probability_z
188
+ (1-Distribution::Normal.cdf(z.abs()))*2
189
+ end
190
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "u_mann_whitney/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "u-mann-whitney"
8
+ spec.version = UMannWhitney::VERSION
9
+ spec.authors = ["Claudio Bustos", "Carlos Agarie", "Extracted by Michael Nutt"]
10
+ spec.email = ["michael@nuttnet.net"]
11
+
12
+ spec.summary = %q{Non-parametric test for assessing whether two independent samples of observations come from the same distribution. Extracted from StatSample (https://github.com/sciruby/statsample)}
13
+ spec.description = %q{Non-parametric test for assessing whether two independent samples of observations come from the same distribution. Extracted from StatSample (https://github.com/sciruby/statsample)}
14
+ spec.homepage = "https://github.com/movableink/u-mann-whitney"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_runtime_dependency "daru", "~> 0.1"
26
+ spec.add_runtime_dependency "distribution", "~> 0.7"
27
+
28
+ spec.add_development_dependency "bundler", "~> 1.15"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rspec", "~> 3.0"
31
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: u-mann-whitney
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Claudio Bustos
8
+ - Carlos Agarie
9
+ - Extracted by Michael Nutt
10
+ autorequire:
11
+ bindir: exe
12
+ cert_chain: []
13
+ date: 2018-01-08 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: daru
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.1'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '0.1'
29
+ - !ruby/object:Gem::Dependency
30
+ name: distribution
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '0.7'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '0.7'
43
+ - !ruby/object:Gem::Dependency
44
+ name: bundler
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.15'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '1.15'
57
+ - !ruby/object:Gem::Dependency
58
+ name: rake
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '10.0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '10.0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: rspec
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '3.0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '3.0'
85
+ description: Non-parametric test for assessing whether two independent samples of
86
+ observations come from the same distribution. Extracted from StatSample (https://github.com/sciruby/statsample)
87
+ email:
88
+ - michael@nuttnet.net
89
+ executables: []
90
+ extensions: []
91
+ extra_rdoc_files: []
92
+ files:
93
+ - ".gitignore"
94
+ - ".rspec"
95
+ - ".travis.yml"
96
+ - Gemfile
97
+ - LICENSE.txt
98
+ - README.md
99
+ - Rakefile
100
+ - bin/bundler
101
+ - bin/console
102
+ - bin/distribution
103
+ - bin/htmldiff
104
+ - bin/ldiff
105
+ - bin/rake
106
+ - bin/rspec
107
+ - bin/setup
108
+ - lib/u_mann_whitney.rb
109
+ - lib/u_mann_whitney/version.rb
110
+ - u-mann-whitney.gemspec
111
+ homepage: https://github.com/movableink/u-mann-whitney
112
+ licenses:
113
+ - MIT
114
+ metadata: {}
115
+ post_install_message:
116
+ rdoc_options: []
117
+ require_paths:
118
+ - lib
119
+ required_ruby_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements: []
130
+ rubyforge_project:
131
+ rubygems_version: 2.6.13
132
+ signing_key:
133
+ specification_version: 4
134
+ summary: Non-parametric test for assessing whether two independent samples of observations
135
+ come from the same distribution. Extracted from StatSample (https://github.com/sciruby/statsample)
136
+ test_files: []