forked from SciRuby/statsample
-
Notifications
You must be signed in to change notification settings - Fork 1
/
statsample.gemspec
87 lines (73 loc) · 3.47 KB
/
statsample.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
$:.unshift File.expand_path("../lib/", __FILE__)
require 'statsample/version'
require 'date'
Statsample::DESCRIPTION = <<MSG
A suite for basic and advanced statistics on Ruby. Tested on CRuby 1.9.3, 2.0.0
and 2.1.1. See `.travis.yml` for more information.
Include:
- Descriptive statistics: frequencies, median, mean,
standard error, skew, kurtosis (and many others).
- Correlations: Pearson's r, Spearman's rank correlation (rho), point biserial,
tau a, tau b and gamma. Tetrachoric and Polychoric correlation provides by
statsample-bivariate-extension gem.
- Intra-class correlation
- Anova: generic and vector-based One-way ANOVA and Two-way ANOVA, with contrasts for
One-way ANOVA.
- Tests: F, T, Levene, U-Mannwhitney.
- Regression: Simple, Multiple (OLS), Probit and Logit
- Factorial Analysis: Extraction (PCA and Principal Axis), Rotation (Varimax,
Equimax, Quartimax) and Parallel Analysis and Velicer's MAP test, for
estimation of number of factors.
- Reliability analysis for simple scale and a DSL to easily analyze multiple
scales using factor analysis and correlations, if you want it.
- Dominance Analysis, with multivariate dependent and bootstrap (Azen & Budescu)
- Sample calculation related formulas
- Structural Equation Modeling (SEM), using R libraries +sem+ and +OpenMx+
- Creates reports on text, html and rtf, using ReportBuilder gem
- Graphics: Histogram, Boxplot and Scatterplot.
MSG
Statsample::POSTINSTALL = <<MSG
***************************************************
Thanks for installing statsample.
*****************************************************
MSG
Gem::Specification.new do |s|
s.name = "statsample"
s.version = Statsample::VERSION
s.date = Date.today.to_s
s.homepage = "https://github.com/sciruby/statsample"
s.authors = ["Claudio Bustos", "Carlos Agarie"]
s.email = ["[email protected]", "[email protected]"]
s.summary = "A suite for basic and advanced statistics on Ruby"
s.description = Statsample::DESCRIPTION
s.post_install_message = Statsample::POSTINSTALL
s.rdoc_options = ["--main", "README.md"]
s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "README.md", "references.txt"]
s.require_paths = ["lib"]
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.add_runtime_dependency 'daru', '~> 0.1.6'
s.add_runtime_dependency 'spreadsheet', '~> 1.1'
s.add_runtime_dependency 'reportbuilder', '~> 1.4'
s.add_runtime_dependency 'minimization', '~> 0.2'
s.add_runtime_dependency 'dirty-memoize', '~> 0.0.4'
s.add_runtime_dependency 'extendmatrix', '~> 0.4'
s.add_runtime_dependency 'rserve-client', '~> 0.3'
s.add_runtime_dependency 'rubyvis', '~> 0.6.1'
s.add_runtime_dependency 'distribution', '~> 0.7'
s.add_runtime_dependency 'awesome_print', '~> 1.6'
s.add_development_dependency 'bundler', '~> 1.10'
s.add_development_dependency 'rake', '~> 10.4'
s.add_development_dependency 'rdoc', '~> 4.2'
s.add_development_dependency 'shoulda', '~> 3.5'
s.add_development_dependency 'shoulda-matchers', '~> 2.2'
s.add_development_dependency 'minitest', '~> 5.7'
s.add_development_dependency 'gettext', '~> 3.1'
s.add_development_dependency 'mocha', '~> 1.1'
s.add_development_dependency 'nmatrix', '~> 0.2.1'
s.add_development_dependency 'gsl', '~> 2.1'
s.add_development_dependency 'pry'
s.add_development_dependency 'rubocop'
s.add_development_dependency 'activesupport', '~> 4.2'
end