statistics3 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.semver +5 -0
- data/.travis.yml +9 -0
- data/Gemfile +22 -0
- data/Gemfile.lock +127 -0
- data/History.rdoc +12 -0
- data/LICENSE.txt +20 -0
- data/README.org +38 -0
- data/Rakefile +73 -0
- data/examples/mklist.rb +18 -0
- data/examples/show.rb +12 -0
- data/ext/Makefile +260 -0
- data/ext/_statistics3.c +824 -0
- data/ext/_statistics3.o +0 -0
- data/ext/_statistics3.so +0 -0
- data/ext/extconf.rb +2 -0
- data/lib/statistics3/base.rb +525 -0
- data/lib/statistics3/no_ext.rb +6 -0
- data/lib/statistics3.rb +13 -0
- data/spec/spec_helper.rb +103 -0
- data/statistics3.gemspec +117 -0
- data/test/sample_tbl.rb +129 -0
- data/test/test_ext.rb +46 -0
- data/test/test_inv.rb +53 -0
- metadata +313 -0
data/statistics3.gemspec
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
# Generated by juwelier
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: statistics3 0.0.1 ruby lib
|
6
|
+
# stub: ext/extconf.rb
|
7
|
+
|
8
|
+
Gem::Specification.new do |s|
|
9
|
+
s.name = "statistics3".freeze
|
10
|
+
s.version = "0.0.1"
|
11
|
+
|
12
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
13
|
+
s.require_paths = ["lib".freeze]
|
14
|
+
s.authors = ["Fred Mitchell".freeze]
|
15
|
+
s.date = "2016-12-12"
|
16
|
+
s.description = "\n Statistics3 is a module that provides normal,\n Chi-square, t- and F- probability distributions\n for Ruby. It is a fork/continuation of Shin-ichiro Hara's original code.\n It provides a native, compiled extension and a pure Ruby implementation.\n ".freeze
|
17
|
+
s.email = "fred.mitchell@gmx.de".freeze
|
18
|
+
s.extensions = ["ext/extconf.rb".freeze]
|
19
|
+
s.extra_rdoc_files = [
|
20
|
+
"LICENSE.txt",
|
21
|
+
"README.org"
|
22
|
+
]
|
23
|
+
s.files = [
|
24
|
+
".document",
|
25
|
+
".rspec",
|
26
|
+
".ruby-version",
|
27
|
+
".semver",
|
28
|
+
".travis.yml",
|
29
|
+
"Gemfile",
|
30
|
+
"Gemfile.lock",
|
31
|
+
"History.rdoc",
|
32
|
+
"LICENSE.txt",
|
33
|
+
"README.org",
|
34
|
+
"Rakefile",
|
35
|
+
"examples/mklist.rb",
|
36
|
+
"examples/show.rb",
|
37
|
+
"ext/Makefile",
|
38
|
+
"ext/_statistics3.c",
|
39
|
+
"ext/_statistics3.o",
|
40
|
+
"ext/_statistics3.so",
|
41
|
+
"ext/extconf.rb",
|
42
|
+
"lib/statistics3.rb",
|
43
|
+
"lib/statistics3/base.rb",
|
44
|
+
"lib/statistics3/no_ext.rb",
|
45
|
+
"spec/spec_helper.rb",
|
46
|
+
"statistics3.gemspec",
|
47
|
+
"test/sample_tbl.rb",
|
48
|
+
"test/test_ext.rb",
|
49
|
+
"test/test_inv.rb"
|
50
|
+
]
|
51
|
+
s.homepage = "http://github.com/flajann2/statistics3".freeze
|
52
|
+
s.licenses = ["MIT".freeze]
|
53
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.2.2".freeze)
|
54
|
+
s.rubygems_version = "2.6.7".freeze
|
55
|
+
s.summary = "Statistics3 library".freeze
|
56
|
+
|
57
|
+
if s.respond_to? :specification_version then
|
58
|
+
s.specification_version = 4
|
59
|
+
|
60
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
61
|
+
s.add_runtime_dependency(%q<semver>.freeze, ["~> 1"])
|
62
|
+
s.add_runtime_dependency(%q<awesome_print>.freeze, ["~> 1"])
|
63
|
+
s.add_runtime_dependency(%q<colorize>.freeze, ["~> 0"])
|
64
|
+
s.add_runtime_dependency(%q<psych>.freeze, ["~> 2"])
|
65
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
66
|
+
s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])
|
67
|
+
s.add_development_dependency(%q<yard>.freeze, ["~> 0.7"])
|
68
|
+
s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
69
|
+
s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
70
|
+
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.1.0"])
|
71
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
72
|
+
s.add_development_dependency(%q<pry>.freeze, ["~> 0"])
|
73
|
+
s.add_development_dependency(%q<pry-byebug>.freeze, ["~> 3"])
|
74
|
+
s.add_development_dependency(%q<pry-doc>.freeze, ["~> 0"])
|
75
|
+
s.add_development_dependency(%q<pry-remote>.freeze, ["~> 0"])
|
76
|
+
s.add_development_dependency(%q<pry-rescue>.freeze, ["~> 1"])
|
77
|
+
s.add_development_dependency(%q<pry-stack_explorer>.freeze, ["~> 0"])
|
78
|
+
else
|
79
|
+
s.add_dependency(%q<semver>.freeze, ["~> 1"])
|
80
|
+
s.add_dependency(%q<awesome_print>.freeze, ["~> 1"])
|
81
|
+
s.add_dependency(%q<colorize>.freeze, ["~> 0"])
|
82
|
+
s.add_dependency(%q<psych>.freeze, ["~> 2"])
|
83
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
84
|
+
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
85
|
+
s.add_dependency(%q<yard>.freeze, ["~> 0.7"])
|
86
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
87
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
88
|
+
s.add_dependency(%q<juwelier>.freeze, ["~> 2.1.0"])
|
89
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
90
|
+
s.add_dependency(%q<pry>.freeze, ["~> 0"])
|
91
|
+
s.add_dependency(%q<pry-byebug>.freeze, ["~> 3"])
|
92
|
+
s.add_dependency(%q<pry-doc>.freeze, ["~> 0"])
|
93
|
+
s.add_dependency(%q<pry-remote>.freeze, ["~> 0"])
|
94
|
+
s.add_dependency(%q<pry-rescue>.freeze, ["~> 1"])
|
95
|
+
s.add_dependency(%q<pry-stack_explorer>.freeze, ["~> 0"])
|
96
|
+
end
|
97
|
+
else
|
98
|
+
s.add_dependency(%q<semver>.freeze, ["~> 1"])
|
99
|
+
s.add_dependency(%q<awesome_print>.freeze, ["~> 1"])
|
100
|
+
s.add_dependency(%q<colorize>.freeze, ["~> 0"])
|
101
|
+
s.add_dependency(%q<psych>.freeze, ["~> 2"])
|
102
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.5.0"])
|
103
|
+
s.add_dependency(%q<test-unit>.freeze, [">= 0"])
|
104
|
+
s.add_dependency(%q<yard>.freeze, ["~> 0.7"])
|
105
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
106
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
107
|
+
s.add_dependency(%q<juwelier>.freeze, ["~> 2.1.0"])
|
108
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
109
|
+
s.add_dependency(%q<pry>.freeze, ["~> 0"])
|
110
|
+
s.add_dependency(%q<pry-byebug>.freeze, ["~> 3"])
|
111
|
+
s.add_dependency(%q<pry-doc>.freeze, ["~> 0"])
|
112
|
+
s.add_dependency(%q<pry-remote>.freeze, ["~> 0"])
|
113
|
+
s.add_dependency(%q<pry-rescue>.freeze, ["~> 1"])
|
114
|
+
s.add_dependency(%q<pry-stack_explorer>.freeze, ["~> 0"])
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
data/test/sample_tbl.rb
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
$test ||= false
|
3
|
+
if $test
|
4
|
+
def nop(*a); ""; end
|
5
|
+
alias _sprintf nop
|
6
|
+
alias _printf nop
|
7
|
+
alias _puts nop
|
8
|
+
else
|
9
|
+
alias _sprintf sprintf
|
10
|
+
alias _printf printf
|
11
|
+
alias _puts puts
|
12
|
+
end
|
13
|
+
|
14
|
+
def norm_line(x, n)
|
15
|
+
s = sprintf("%1.1f|", x)
|
16
|
+
(0.00).step(0.09, 0.01) do |y|
|
17
|
+
s << _sprintf(" %1.#{n}f", yield(x + y))
|
18
|
+
end
|
19
|
+
s
|
20
|
+
end
|
21
|
+
|
22
|
+
def norm_tbl(s, e, ln = nil, tn = nil, &b)
|
23
|
+
n = 4
|
24
|
+
unless ln
|
25
|
+
_printf(" " + (" "*(n-1) + "%1.2f")*10 + "\n", * (0..9).map {|x| x*0.01})
|
26
|
+
end
|
27
|
+
i = 0
|
28
|
+
(s.to_f).step(e.to_f, 0.1) do |x|
|
29
|
+
next if ln && ln.to_i != i+1
|
30
|
+
_puts norm_line(x, n, &b)
|
31
|
+
i += 1
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def chi2_tbl(ln = nil, tn = nil)
|
36
|
+
pers = [0.995, 0.99, 0.975, 0.95, 0.05, 0.025, 0.01, 0.005]
|
37
|
+
arbi = (1..30).to_a + [40, 60, 80, 100]
|
38
|
+
form = " %7.5f"
|
39
|
+
unless ln
|
40
|
+
_printf(" "); pers.each do |a|; _printf(form, a); end; _puts
|
41
|
+
end
|
42
|
+
arbi.each_with_index do |n, i|
|
43
|
+
next if ln && ln.to_i != i+1
|
44
|
+
_printf("%4d|", n) unless tn
|
45
|
+
pers.each_with_index do |a, j|
|
46
|
+
next if tn && tn.to_i != j+1
|
47
|
+
form = case n
|
48
|
+
when 1; a >= 0.95 ? " %.4e" : " %6.3f"
|
49
|
+
when 2..5; a >= 0.95 ? " %7.5f" : " %7.3f"
|
50
|
+
when 6..24; " %7.3f"
|
51
|
+
else; " %7.2f" # 26..100
|
52
|
+
end
|
53
|
+
_printf(form, yield(n, a))
|
54
|
+
end
|
55
|
+
_puts
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def t_tbl(ln = nil, tn = nil)
|
60
|
+
pers = [0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.02, 0.01, 0.001]
|
61
|
+
arbi = (1..30).to_a + [40, 60, 120]#, 9999]
|
62
|
+
form = " %7.3f"
|
63
|
+
unless ln
|
64
|
+
_printf(" "); pers.each do |a|; _printf(form, a); end; _puts
|
65
|
+
end
|
66
|
+
arbi.each_with_index do |n, i|
|
67
|
+
next if ln && ln.to_i != i+1
|
68
|
+
_printf("%4d|", n) unless tn
|
69
|
+
pers.each_with_index do |a, j|
|
70
|
+
next if tn && tn.to_i != j+1
|
71
|
+
_printf(form, yield(n, a))
|
72
|
+
end
|
73
|
+
_puts
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
def f_tbl(a, k1 = nil, k2 = nil)
|
78
|
+
arbi1 = (1..10).to_a + [12, 15, 20, 24, 30, 40, 60, 120]#, 9999]
|
79
|
+
arbi2 = (1..30).to_a + [40, 60, 120]#, 9999]
|
80
|
+
unless k1
|
81
|
+
_printf(" "); arbi1.each do |n1|; _printf(" %4d", n1); end; _puts
|
82
|
+
end
|
83
|
+
arbi2.each do |n2|
|
84
|
+
form = n2 == 1 ? " %4d" : n2 == 2 ? " %4.1f" : " %4.2f"
|
85
|
+
next if k2 && k2.to_i != n2
|
86
|
+
_printf("%4d|", n2) unless k2
|
87
|
+
arbi1.each do |n1|
|
88
|
+
next if k1 && k1.to_i != n1
|
89
|
+
_printf(form, yield(n1, n2, a.to_f))
|
90
|
+
end
|
91
|
+
_puts
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
def show_tbl(mod, dist, *opts)
|
96
|
+
case dist
|
97
|
+
when nil, "norm"
|
98
|
+
norm_tbl(0.0, 3.1, *opts) do |x|
|
99
|
+
mod.normal___x(x)
|
100
|
+
end
|
101
|
+
when "chi", "chi2"
|
102
|
+
chi2_tbl(*opts) do |n, x|
|
103
|
+
mod.pchi2_x(n, x)
|
104
|
+
end
|
105
|
+
when "t"
|
106
|
+
t_tbl(*opts) do |n, x|
|
107
|
+
mod.ptx__x(n, x)
|
108
|
+
end
|
109
|
+
when "f"
|
110
|
+
f_tbl(*opts) do |n1, n2, a|
|
111
|
+
mod.pf_x(n1, n2, a)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
if $0 == __FILE__
|
117
|
+
if ARGV.empty?
|
118
|
+
puts "-- This script makes tables of distributions"
|
119
|
+
puts "Example:"
|
120
|
+
puts " #$0 norm"
|
121
|
+
puts " #$0 chi2"
|
122
|
+
puts " #$0 t"
|
123
|
+
puts " #$0 f 0.01"
|
124
|
+
exit
|
125
|
+
end
|
126
|
+
|
127
|
+
require 'statistics3'
|
128
|
+
show_tbl(Statistics3, *ARGV)
|
129
|
+
end
|
data/test/test_ext.rb
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
$test = true
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
require 'sample_tbl'
|
5
|
+
|
6
|
+
require 'statistics3'
|
7
|
+
|
8
|
+
class TestStatistics3 < Test::Unit::TestCase
|
9
|
+
module Base
|
10
|
+
extend Statistics3::Base
|
11
|
+
end
|
12
|
+
|
13
|
+
module Extension
|
14
|
+
extend Statistics3::Extension
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_normal
|
18
|
+
norm_tbl(0.0, 3.1) do |x|
|
19
|
+
a, b = Base.normal___x(x), Extension.normal___x(x)
|
20
|
+
assert_in_delta a, b, 0.000001
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_chi
|
25
|
+
chi2_tbl() do |n, x|
|
26
|
+
a, b = Base.pchi2_x(n, x), Extension.pchi2_x(n, x)
|
27
|
+
assert_in_delta a/b, 1.0, 0.01
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_t
|
32
|
+
t_tbl() do |n, x|
|
33
|
+
a, b = Base.ptx__x(n, x), Extension.ptx__x(n, x)
|
34
|
+
assert_in_delta a, b, 0.001
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_f
|
39
|
+
[0.01, 0.025, 0.05].each do |opt|
|
40
|
+
f_tbl(opt) do |n1, n2, y|
|
41
|
+
a, b = Base.pf_x(n1, n2, y), Extension.pf_x(n1, n2, y)
|
42
|
+
assert_in_delta a/b, 1.0, 0.01
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
data/test/test_inv.rb
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
$test = true
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
require 'sample_tbl'
|
5
|
+
require 'statistics3'
|
6
|
+
|
7
|
+
class TestStatistics3Inverted < Test::Unit::TestCase
|
8
|
+
$mod = Statistics3
|
9
|
+
|
10
|
+
def inv(s); "p" + s; end
|
11
|
+
|
12
|
+
def test_inv_normal
|
13
|
+
delta = 1.0e-6
|
14
|
+
meth = "normal___x"
|
15
|
+
norm_tbl(0.00001, 4.0) do |x|
|
16
|
+
pr = $mod.send(meth, x)
|
17
|
+
x0 = $mod.send(inv(meth), pr)
|
18
|
+
assert_in_delta x0/x, 1.0, delta
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_inv_chi
|
23
|
+
delta = 1.0e-4
|
24
|
+
meth = "chi2_x"
|
25
|
+
chi2_tbl() do |n, pr|
|
26
|
+
x = $mod.send(inv(meth), n, pr)
|
27
|
+
pr0 = $mod.send(meth, n, x)
|
28
|
+
assert_in_delta pr0/pr, 1.0, delta
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_inv_t
|
33
|
+
delta = 1.0e-3
|
34
|
+
meth = "tx__x"
|
35
|
+
t_tbl() do |n, pr|
|
36
|
+
x = $mod.send(inv(meth), n, pr)
|
37
|
+
pr0 = $mod.send(meth, n, x)
|
38
|
+
assert_in_delta pr0/pr, 1.0, delta
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_inv_f
|
43
|
+
delta = 1.0e-3
|
44
|
+
meth = "f_x"
|
45
|
+
[0.01, 0.025, 0.05].each do |opt|
|
46
|
+
f_tbl(opt) do |n1, n2, pr|
|
47
|
+
x = $mod.send(inv(meth), n1, n2, pr)
|
48
|
+
pr0 = $mod.send(meth, n1, n2, x)
|
49
|
+
assert_in_delta pr0/pr, 1.0, delta
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
metadata
ADDED
@@ -0,0 +1,313 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: statistics3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fred Mitchell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: semver
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: awesome_print
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: colorize
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: psych
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.5.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.5.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: test-unit
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: yard
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.7'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.7'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rdoc
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.12'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.12'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: bundler
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: juwelier
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 2.1.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 2.1.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pry-byebug
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '3'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '3'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: pry-doc
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: pry-remote
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: pry-rescue
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '1'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '1'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: pry-stack_explorer
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
description: "\n Statistics3 is a module that provides normal,\n Chi-square, t-
|
252
|
+
and F- probability distributions\n for Ruby. It is a fork/continuation of Shin-ichiro
|
253
|
+
Hara's original code.\n It provides a native, compiled extension and a pure Ruby
|
254
|
+
implementation.\n "
|
255
|
+
email: fred.mitchell@gmx.de
|
256
|
+
executables: []
|
257
|
+
extensions:
|
258
|
+
- ext/extconf.rb
|
259
|
+
extra_rdoc_files:
|
260
|
+
- LICENSE.txt
|
261
|
+
- README.org
|
262
|
+
files:
|
263
|
+
- ".document"
|
264
|
+
- ".rspec"
|
265
|
+
- ".ruby-version"
|
266
|
+
- ".semver"
|
267
|
+
- ".travis.yml"
|
268
|
+
- Gemfile
|
269
|
+
- Gemfile.lock
|
270
|
+
- History.rdoc
|
271
|
+
- LICENSE.txt
|
272
|
+
- README.org
|
273
|
+
- Rakefile
|
274
|
+
- examples/mklist.rb
|
275
|
+
- examples/show.rb
|
276
|
+
- ext/Makefile
|
277
|
+
- ext/_statistics3.c
|
278
|
+
- ext/_statistics3.o
|
279
|
+
- ext/_statistics3.so
|
280
|
+
- ext/extconf.rb
|
281
|
+
- lib/statistics3.rb
|
282
|
+
- lib/statistics3/base.rb
|
283
|
+
- lib/statistics3/no_ext.rb
|
284
|
+
- spec/spec_helper.rb
|
285
|
+
- statistics3.gemspec
|
286
|
+
- test/sample_tbl.rb
|
287
|
+
- test/test_ext.rb
|
288
|
+
- test/test_inv.rb
|
289
|
+
homepage: http://github.com/flajann2/statistics3
|
290
|
+
licenses:
|
291
|
+
- MIT
|
292
|
+
metadata: {}
|
293
|
+
post_install_message:
|
294
|
+
rdoc_options: []
|
295
|
+
require_paths:
|
296
|
+
- lib
|
297
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
298
|
+
requirements:
|
299
|
+
- - ">="
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: 2.2.2
|
302
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
requirements: []
|
308
|
+
rubyforge_project:
|
309
|
+
rubygems_version: 2.6.7
|
310
|
+
signing_key:
|
311
|
+
specification_version: 4
|
312
|
+
summary: Statistics3 library
|
313
|
+
test_files: []
|