statsample 0.6.5 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/History.txt +15 -0
  2. data/Manifest.txt +6 -0
  3. data/README.txt +30 -12
  4. data/Rakefile +91 -0
  5. data/demo/levene.rb +9 -0
  6. data/demo/multiple_regression.rb +1 -7
  7. data/demo/polychoric.rb +1 -0
  8. data/demo/principal_axis.rb +8 -0
  9. data/lib/distribution/f.rb +22 -22
  10. data/lib/spss.rb +99 -99
  11. data/lib/statsample/bivariate/polychoric.rb +32 -22
  12. data/lib/statsample/bivariate/tetrachoric.rb +212 -207
  13. data/lib/statsample/bivariate.rb +6 -6
  14. data/lib/statsample/codification.rb +65 -65
  15. data/lib/statsample/combination.rb +60 -59
  16. data/lib/statsample/converter/csv19.rb +12 -12
  17. data/lib/statsample/converters.rb +1 -1
  18. data/lib/statsample/dataset.rb +93 -36
  19. data/lib/statsample/dominanceanalysis/bootstrap.rb +66 -3
  20. data/lib/statsample/dominanceanalysis.rb +5 -6
  21. data/lib/statsample/factor/pca.rb +41 -11
  22. data/lib/statsample/factor/principalaxis.rb +105 -29
  23. data/lib/statsample/factor/rotation.rb +20 -3
  24. data/lib/statsample/factor.rb +1 -1
  25. data/lib/statsample/graph/gdchart.rb +13 -13
  26. data/lib/statsample/graph/svggraph.rb +166 -167
  27. data/lib/statsample/matrix.rb +22 -12
  28. data/lib/statsample/mle/logit.rb +3 -2
  29. data/lib/statsample/mle/probit.rb +7 -5
  30. data/lib/statsample/mle.rb +4 -2
  31. data/lib/statsample/multiset.rb +125 -124
  32. data/lib/statsample/permutation.rb +2 -1
  33. data/lib/statsample/regression/binomial/logit.rb +4 -3
  34. data/lib/statsample/regression/binomial/probit.rb +2 -1
  35. data/lib/statsample/regression/binomial.rb +62 -81
  36. data/lib/statsample/regression/multiple/baseengine.rb +1 -1
  37. data/lib/statsample/regression/multiple/gslengine.rb +1 -1
  38. data/lib/statsample/regression/multiple/matrixengine.rb +12 -6
  39. data/lib/statsample/regression/multiple.rb +15 -42
  40. data/lib/statsample/regression/simple.rb +93 -78
  41. data/lib/statsample/regression.rb +74 -2
  42. data/lib/statsample/reliability.rb +117 -120
  43. data/lib/statsample/srs.rb +156 -153
  44. data/lib/statsample/test/levene.rb +90 -0
  45. data/lib/statsample/test/umannwhitney.rb +25 -9
  46. data/lib/statsample/test.rb +2 -0
  47. data/lib/statsample/vector.rb +388 -413
  48. data/lib/statsample.rb +74 -30
  49. data/po/es/statsample.mo +0 -0
  50. data/test/test_bivariate.rb +5 -4
  51. data/test/test_combination.rb +1 -1
  52. data/test/test_dataset.rb +2 -2
  53. data/test/test_factor.rb +53 -6
  54. data/test/test_gsl.rb +1 -1
  55. data/test/test_mle.rb +1 -1
  56. data/test/test_regression.rb +18 -33
  57. data/test/test_statistics.rb +15 -33
  58. data/test/test_stest.rb +35 -0
  59. data/test/test_svg_graph.rb +2 -2
  60. data/test/test_vector.rb +331 -333
  61. metadata +38 -11
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsample
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Bustos
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-24 00:00:00 -03:00
12
+ date: 2010-03-23 00:00:00 -03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,9 +18,9 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - "="
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 0.6.4
23
+ version: 0.6.0
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: svg-graph
@@ -28,9 +28,9 @@ dependencies:
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.0
33
+ version: "1.0"
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: reportbuilder
@@ -38,7 +38,7 @@ dependencies:
38
38
  version_requirement:
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
43
  version: 0.2.0
44
44
  version:
@@ -48,10 +48,30 @@ dependencies:
48
48
  version_requirement:
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
53
  version: 0.1.0
54
54
  version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubyforge
57
+ type: :development
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 2.0.3
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: gemcutter
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 0.3.0
74
+ version:
55
75
  - !ruby/object:Gem::Dependency
56
76
  name: hoe
57
77
  type: :development
@@ -60,7 +80,7 @@ dependencies:
60
80
  requirements:
61
81
  - - ">="
62
82
  - !ruby/object:Gem::Version
63
- version: 2.4.0
83
+ version: 2.5.1
64
84
  version:
65
85
  description: |-
66
86
  A suite for basic and advanced statistics on Ruby. Tested on Ruby 1.8.7, Ruby 1.9 and JRuby 1.4 (Ruby 1.8.7 compatible)
@@ -68,8 +88,8 @@ description: |-
68
88
  Includes:
69
89
  * Descriptive statistics: frequencies, median, mean, standard error, skew, kurtosis (and many others).
70
90
  * Imports and exports datasets from and to Excel, CSV and plain text files.
71
- * Correlations: Pearson (r), Rho, Tetrachoric, Polychoric
72
- * Regression: Simple, Multiple, Probit and Logit
91
+ * Correlations: Pearson's r, Spearman's rank correlation (rho), Tetrachoric, Polychoric
92
+ * Regression: Simple, Multiple, Probit and Logit
73
93
  * Factorial Analysis: Extraction (PCA and Principal Axis) and Rotation (Varimax and relatives)
74
94
  * Dominance Analysis, with multivariate dependent and bootstrap (Azen & Budescu)
75
95
  * Sample calculation related formulas
@@ -89,6 +109,7 @@ files:
89
109
  - LICENSE.txt
90
110
  - Manifest.txt
91
111
  - README.txt
112
+ - Rakefile
92
113
  - bin/statsample
93
114
  - data/crime.txt
94
115
  - data/locale/es/LC_MESSAGES/statsample.mo
@@ -99,9 +120,11 @@ files:
99
120
  - demo/correlation_matrix.rb
100
121
  - demo/dominance_analysis_bootstrap.rb
101
122
  - demo/dominanceanalysis.rb
123
+ - demo/levene.rb
102
124
  - demo/multiple_regression.rb
103
125
  - demo/multivariate_correlation.rb
104
126
  - demo/polychoric.rb
127
+ - demo/principal_axis.rb
105
128
  - demo/tetrachoric.rb
106
129
  - lib/distribution.rb
107
130
  - lib/distribution/chisquare.rb
@@ -158,8 +181,10 @@ files:
158
181
  - lib/statsample/resample.rb
159
182
  - lib/statsample/srs.rb
160
183
  - lib/statsample/test.rb
184
+ - lib/statsample/test/levene.rb
161
185
  - lib/statsample/test/umannwhitney.rb
162
186
  - lib/statsample/vector.rb
187
+ - po/es/statsample.mo
163
188
  - po/es/statsample.po
164
189
  - po/statsample.pot
165
190
  - setup.rb
@@ -187,6 +212,7 @@ files:
187
212
  - test/test_resample.rb
188
213
  - test/test_srs.rb
189
214
  - test/test_statistics.rb
215
+ - test/test_stest.rb
190
216
  - test/test_stratified.rb
191
217
  - test/test_svg_graph.rb
192
218
  - test/test_umannwhitney.rb
@@ -245,6 +271,7 @@ test_files:
245
271
  - test/test_ggobi.rb
246
272
  - test/test_xls.rb
247
273
  - test/test_logit.rb
274
+ - test/test_stest.rb
248
275
  - test/test_statistics.rb
249
276
  - test/test_reliability.rb
250
277
  - test/test_histogram.rb