statistica 0.1.2 → 0.1.3
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/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +85 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/fixtures.rb +61 -0
- data/lib/get_arith_mean.rb +6 -0
- data/lib/get_coeff_variation.rb +6 -0
- data/lib/get_geo_mean.rb +6 -0
- data/lib/get_harm_mean.rb +7 -0
- data/lib/get_interquartile_range.rb +5 -0
- data/lib/get_median.rb +15 -0
- data/lib/get_mode.rb +9 -0
- data/lib/get_percentile.rb +11 -0
- data/lib/get_product.rb +5 -0
- data/lib/get_range.rb +5 -0
- data/lib/get_relative_variance.rb +7 -0
- data/lib/get_stdev.rb +6 -0
- data/lib/get_sum.rb +5 -0
- data/lib/get_variance.rb +7 -0
- data/lib/statistica.rb +15 -15
- data/lib/statistica/version.rb +3 -0
- data/statistica-0.1.0.gem +0 -0
- data/statistica-0.1.1.gem +0 -0
- data/statistica-0.1.2.gem +0 -0
- data/statistica.gemspec +37 -0
- metadata +33 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56c095cfa60f020aa5c29d737ec9aba89eb45702
|
|
4
|
+
data.tar.gz: 129b22473e45e34666f6cc1f6361179ba8bd60b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98f11a215704c2d303f92d8d929e6ec361720273ba51401caf50583e672e1da2558e1e4a141bb81280e9e437b72e44ad524f8054691e76007edc2003c7644ed1
|
|
7
|
+
data.tar.gz: fe5359a567565f820855196f477f29038d0b1eda13f36ed1bf0a1dcf4c14a0a7e0682acf6c8f1abb45dafb7ad2258e2234e111a3e86777af1f89e0612656e4d0
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
|
10
|
+
orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at leston_1@HOTMAIL.COM. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
|
72
|
+
|
|
73
|
+
[homepage]: http://contributor-covenant.org
|
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017
|
|
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 all
|
|
13
|
+
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 THE
|
|
21
|
+
SOFTWARE.
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Tola A.
|
|
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,85 @@
|
|
|
1
|
+
# Statistica
|
|
2
|
+
|
|
3
|
+
This is Statistica, a lightweight gem that is built to help in analyzing an array of number values. It arose from needing to do some descriptive statistics in one of my personal projects as well as taking on the challenge of building a framework that could be reusable in future requirements. I also feel obligated to share this as someone who has been a beneficiary of many open-source libraries/plugins/gems. Hopefully you could find a good use for this gem!
|
|
4
|
+
|
|
5
|
+
##### And you are encouraged to contribute to it!
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
Add this line to your application's Gemfile:
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
gem 'statistica'
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
And then execute:
|
|
17
|
+
|
|
18
|
+
$ bundle
|
|
19
|
+
|
|
20
|
+
Or install it yourself as:
|
|
21
|
+
|
|
22
|
+
$ gem install statistica
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
This gem is for calculation of simple descriptive statistics of a given array of values as described above. After following the installation instructions above, then the gem is ready for use.
|
|
27
|
+
|
|
28
|
+
#### Methods
|
|
29
|
+
|
|
30
|
+
There are 14 methods available for an array of numbers. They are:
|
|
31
|
+
|
|
32
|
+
arithmetic mean - `get_arith_mean`.
|
|
33
|
+
|
|
34
|
+
geometric mean - `get_geo_mean`.
|
|
35
|
+
|
|
36
|
+
harmonic mean - `get_harm_mean`.
|
|
37
|
+
|
|
38
|
+
median - `get_median`.
|
|
39
|
+
|
|
40
|
+
range - `get_range`.
|
|
41
|
+
|
|
42
|
+
mode - `get_mode`.
|
|
43
|
+
|
|
44
|
+
product - `get_product`.
|
|
45
|
+
|
|
46
|
+
sum - `get_sum`.
|
|
47
|
+
|
|
48
|
+
variance - `get_variance`.
|
|
49
|
+
|
|
50
|
+
standard deviation - `get_stdev`.
|
|
51
|
+
|
|
52
|
+
percentile - `get_percentile(n)` (e.g. `n = 25` for 25 percentile).
|
|
53
|
+
|
|
54
|
+
interquartile range - `get_interquartile_range` (difference between 75 percentile and 25 percentile).
|
|
55
|
+
|
|
56
|
+
relative variance - `get_relative_variance`.
|
|
57
|
+
|
|
58
|
+
coefficient of variation - `get_coeff_variation`.
|
|
59
|
+
|
|
60
|
+
#### Example
|
|
61
|
+
|
|
62
|
+
Let `obj = [2, 3, 4]` be an array object. To calculate the arithmetic mean of the array object just do:
|
|
63
|
+
|
|
64
|
+
`obj.get_arith_mean`
|
|
65
|
+
|
|
66
|
+
Or alternatively,
|
|
67
|
+
|
|
68
|
+
`[2, 3, 4].get_arith_mean`.
|
|
69
|
+
|
|
70
|
+
Same pattern applies to every other method available in the gem (list given above). And that's it! It's not any more complex than that.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## Contributing
|
|
74
|
+
Please submit bug reports and make pull requests at https://github.com/tab300/statistica.
|
|
75
|
+
|
|
76
|
+
##### Your contributions to make this project better in any way that you think are always welcome and appreciated. You are highly encouraged to make suggestions, corrections, or extensions.
|
|
77
|
+
|
|
78
|
+
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
|
|
83
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
84
|
+
|
|
85
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "statistica"
|
|
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
|
data/bin/setup
ADDED
data/lib/fixtures.rb
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Values to test the methods to ensure accurate calculations.
|
|
2
|
+
|
|
3
|
+
def general_sample_array
|
|
4
|
+
[9, 8, 13, 9, 5, 4, 5]
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
def sum_expected
|
|
8
|
+
53
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def product_expected
|
|
12
|
+
842400
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def arith_mean_expected
|
|
16
|
+
7.57
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def geo_mean_expected
|
|
20
|
+
7.02
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def harm_mean_expected
|
|
24
|
+
6.52
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def median_expected
|
|
28
|
+
8
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def mode_expected
|
|
32
|
+
5
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def range_expected
|
|
36
|
+
9
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def variance_expected
|
|
40
|
+
9.95
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def stdev_expected
|
|
44
|
+
3.15
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def coeff_var_expected
|
|
48
|
+
0.42
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def percentile_expected
|
|
52
|
+
5
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def interquartile_range_expected
|
|
56
|
+
4
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
def relative_variance_expected
|
|
60
|
+
13.08
|
|
61
|
+
end
|
data/lib/get_geo_mean.rb
ADDED
data/lib/get_median.rb
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Statistica
|
|
2
|
+
def get_median
|
|
3
|
+
# Confirm odd number of elements
|
|
4
|
+
if self.sort!.length % 2 == 1
|
|
5
|
+
median_odd = self[(self.length / 2)]
|
|
6
|
+
median_odd
|
|
7
|
+
# Confirm even number of elements
|
|
8
|
+
elsif self.sort!.length % 2 == 0
|
|
9
|
+
f_middle_element = self[(self.length / 2 - 1)]
|
|
10
|
+
s_middle_element = self[(self.length / 2)]
|
|
11
|
+
median_even = (f_middle_element + s_middle_element) / 2.0
|
|
12
|
+
median_even
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/get_mode.rb
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
module Statistica
|
|
2
|
+
def get_mode
|
|
3
|
+
array_sort = self.sort!
|
|
4
|
+
elements = array_sort.uniq.map! { |actual_num| actual_num }
|
|
5
|
+
elements_frequency = array_sort.uniq.map! { |num| array_sort.count(num) }
|
|
6
|
+
highest_occuring_element_position = elements_frequency.index(elements_frequency.max)
|
|
7
|
+
elements.fetch(highest_occuring_element_position)
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
module Statistica
|
|
2
|
+
def get_percentile(n)
|
|
3
|
+
sorted_array = self.sort
|
|
4
|
+
percentile_index = n.to_f/100 * sorted_array.length
|
|
5
|
+
if percentile_index == percentile_index.round
|
|
6
|
+
result = (sorted_array[percentile_index.ceil - 1] + sorted_array[percentile_index.ceil])/2.to_f
|
|
7
|
+
else
|
|
8
|
+
sorted_array[percentile_index.ceil - 1]
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
data/lib/get_product.rb
ADDED
data/lib/get_range.rb
ADDED
data/lib/get_stdev.rb
ADDED
data/lib/get_sum.rb
ADDED
data/lib/get_variance.rb
ADDED
data/lib/statistica.rb
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# Running through the individual files first before prepending Array class with the parent module, Statistica
|
|
2
|
-
require "
|
|
3
|
-
require "
|
|
4
|
-
require "
|
|
5
|
-
require "
|
|
6
|
-
require "
|
|
7
|
-
require "
|
|
8
|
-
require "
|
|
9
|
-
require "
|
|
10
|
-
require "
|
|
11
|
-
require "
|
|
12
|
-
require "
|
|
13
|
-
require "
|
|
14
|
-
require "
|
|
15
|
-
require "
|
|
16
|
-
require "
|
|
2
|
+
require "statistica/version"
|
|
3
|
+
require "get_sum"
|
|
4
|
+
require "get_product"
|
|
5
|
+
require "get_arith_mean"
|
|
6
|
+
require "get_geo_mean"
|
|
7
|
+
require "get_harm_mean"
|
|
8
|
+
require "get_median"
|
|
9
|
+
require "get_mode"
|
|
10
|
+
require "get_range"
|
|
11
|
+
require "get_variance"
|
|
12
|
+
require "get_stdev"
|
|
13
|
+
require "get_coeff_variation"
|
|
14
|
+
require "get_percentile"
|
|
15
|
+
require "get_interquartile_range"
|
|
16
|
+
require "get_relative_variance"
|
|
17
17
|
|
|
18
18
|
# Prepending the Array class with the module, Statistica
|
|
19
19
|
class ActivateStatistica
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/statistica.gemspec
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'statistica/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "statistica"
|
|
8
|
+
spec.version = Statistica::VERSION
|
|
9
|
+
spec.authors = ["Tola Abiola"]
|
|
10
|
+
spec.email = "leston_1@HOTMAIL.COM"
|
|
11
|
+
spec.files = ["lib/statistica.rb"]
|
|
12
|
+
spec.summary = %q{A simple descriptive statistics gem.}
|
|
13
|
+
spec.description = %q{This is a simple, easy-to-use, lightweight gem for calculating everyday
|
|
14
|
+
descriptive statistics values.}
|
|
15
|
+
spec.homepage = "https://github.com/tab300/Statistica"
|
|
16
|
+
spec.licenses = ["MIT"]
|
|
17
|
+
|
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
20
|
+
# if spec.respond_to?(:metadata)
|
|
21
|
+
# spec.metadata['allowed_push_host'] = "TOD: Set to 'http://mygemserver.com'"
|
|
22
|
+
# else
|
|
23
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
|
24
|
+
# "public gem pushes."
|
|
25
|
+
# end
|
|
26
|
+
|
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
28
|
+
f.match(%r{^(test|spec|features)/})
|
|
29
|
+
end
|
|
30
|
+
spec.bindir = "exe"
|
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
32
|
+
spec.require_paths = ["lib"]
|
|
33
|
+
|
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
|
35
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
37
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: statistica
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tola Abiola
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -60,7 +60,38 @@ executables: []
|
|
|
60
60
|
extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
|
62
62
|
files:
|
|
63
|
+
- ".gitignore"
|
|
64
|
+
- ".rspec"
|
|
65
|
+
- ".travis.yml"
|
|
66
|
+
- CODE_OF_CONDUCT.md
|
|
67
|
+
- Gemfile
|
|
68
|
+
- LICENSE
|
|
69
|
+
- LICENSE.txt
|
|
70
|
+
- README.md
|
|
71
|
+
- Rakefile
|
|
72
|
+
- bin/console
|
|
73
|
+
- bin/setup
|
|
74
|
+
- lib/fixtures.rb
|
|
75
|
+
- lib/get_arith_mean.rb
|
|
76
|
+
- lib/get_coeff_variation.rb
|
|
77
|
+
- lib/get_geo_mean.rb
|
|
78
|
+
- lib/get_harm_mean.rb
|
|
79
|
+
- lib/get_interquartile_range.rb
|
|
80
|
+
- lib/get_median.rb
|
|
81
|
+
- lib/get_mode.rb
|
|
82
|
+
- lib/get_percentile.rb
|
|
83
|
+
- lib/get_product.rb
|
|
84
|
+
- lib/get_range.rb
|
|
85
|
+
- lib/get_relative_variance.rb
|
|
86
|
+
- lib/get_stdev.rb
|
|
87
|
+
- lib/get_sum.rb
|
|
88
|
+
- lib/get_variance.rb
|
|
63
89
|
- lib/statistica.rb
|
|
90
|
+
- lib/statistica/version.rb
|
|
91
|
+
- statistica-0.1.0.gem
|
|
92
|
+
- statistica-0.1.1.gem
|
|
93
|
+
- statistica-0.1.2.gem
|
|
94
|
+
- statistica.gemspec
|
|
64
95
|
homepage: https://github.com/tab300/Statistica
|
|
65
96
|
licenses:
|
|
66
97
|
- MIT
|