ruby-statistics 1.0.0 → 1.0.2
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/lib/statistics.rb +2 -2
- data/lib/statistics/distribution.rb +1 -1
- data/lib/statistics/statistical_test.rb +11 -0
- data/lib/statistics/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e8b5d9c7b99a8d2bd81f0976ff883558053fbd1
|
4
|
+
data.tar.gz: 886fa6a14b3620dcb81be856da2ba7d5539d0d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 726ac86977b1354ddf1e82fd7d7794b1e14717f9132e2cc3544a28fcc130d76a8ac839f8a5e0280a98dc4e0a9620889f999a434c7349cfead7a8d5bf6c580f05
|
7
|
+
data.tar.gz: 605336ac006a155924d1fea0252577c5cab88d8375be119856dc80d64ed3cd4780af8136f496ec211a671af1d48d76de55e77f0a8ff2315e0421e2806284fe14
|
data/lib/statistics.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'descriptive_statistics'
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
require File.dirname(__FILE__) + '/math'
|
4
|
+
Dir[ File.dirname(__FILE__) + '/statistics/**/*.rb'].each {|file| require file }
|
5
5
|
|
6
6
|
module Statistics
|
7
7
|
# Your code goes here...
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Dir[File.dirname(__FILE__) + '/statistical_test/**/*.rb'].each {|file| require file }
|
2
|
+
|
3
|
+
module Statistics
|
4
|
+
module StatisticalTest
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
# If StatisticalTest is not defined, setup alias.
|
9
|
+
if defined?(Statistics) && !(defined?(StatisticalTest))
|
10
|
+
StatisticalTest = Statistics::StatisticalTest
|
11
|
+
end
|
data/lib/statistics/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-statistics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- esteban zapata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -129,6 +129,7 @@ files:
|
|
129
129
|
- lib/statistics/distribution/t_student.rb
|
130
130
|
- lib/statistics/distribution/uniform.rb
|
131
131
|
- lib/statistics/distribution/weibull.rb
|
132
|
+
- lib/statistics/statistical_test.rb
|
132
133
|
- lib/statistics/statistical_test/f_test.rb
|
133
134
|
- lib/statistics/statistical_test/t_test.rb
|
134
135
|
- lib/statistics/version.rb
|