statsample 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/History.txt +7 -0
  2. data/Manifest.txt +15 -9
  3. data/README.txt +6 -0
  4. data/Rakefile +8 -0
  5. data/{demo → examples}/correlation_matrix.rb +0 -0
  6. data/{demo/dominanceanalysis.rb → examples/dominance_analysis.rb} +0 -0
  7. data/{demo → examples}/dominance_analysis_bootstrap.rb +0 -0
  8. data/{demo → examples}/levene.rb +0 -0
  9. data/{demo → examples}/multiple_regression.rb +5 -3
  10. data/{demo → examples}/multivariate_correlation.rb +0 -0
  11. data/{demo → examples}/polychoric.rb +0 -0
  12. data/{demo → examples}/principal_axis.rb +0 -0
  13. data/examples/t_test.rb +11 -0
  14. data/{demo → examples}/tetrachoric.rb +0 -0
  15. data/lib/statistics2.rb +1 -1
  16. data/lib/statsample.rb +57 -6
  17. data/lib/statsample/bivariate/polychoric.rb +12 -25
  18. data/lib/statsample/bivariate/tetrachoric.rb +1 -3
  19. data/lib/statsample/converter/csv.rb +11 -12
  20. data/lib/statsample/dominanceanalysis/bootstrap.rb +2 -3
  21. data/lib/statsample/factor/principalaxis.rb +0 -2
  22. data/lib/statsample/factor/rotation.rb +6 -8
  23. data/lib/statsample/graph.rb +8 -0
  24. data/lib/statsample/graph/svggraph.rb +0 -4
  25. data/lib/statsample/regression/multiple/baseengine.rb +25 -28
  26. data/lib/statsample/regression/multiple/matrixengine.rb +30 -34
  27. data/lib/statsample/test.rb +36 -1
  28. data/lib/statsample/test/levene.rb +11 -7
  29. data/lib/statsample/test/t.rb +189 -0
  30. data/test/test_anova.rb +8 -10
  31. data/test/test_bivariate.rb +40 -37
  32. data/test/test_codification.rb +9 -13
  33. data/test/test_combination.rb +37 -39
  34. data/test/test_crosstab.rb +46 -48
  35. data/test/test_csv.rb +40 -45
  36. data/test/test_dataset.rb +150 -152
  37. data/test/test_distribution.rb +24 -21
  38. data/test/test_dominance_analysis.rb +10 -12
  39. data/test/test_factor.rb +95 -91
  40. data/test/test_ggobi.rb +30 -33
  41. data/test/test_gsl.rb +4 -4
  42. data/test/test_helpers.rb +26 -0
  43. data/test/test_histogram.rb +5 -6
  44. data/test/test_logit.rb +20 -21
  45. data/test/test_matrix.rb +47 -48
  46. data/test/test_mle.rb +130 -131
  47. data/test/test_multiset.rb +95 -96
  48. data/test/test_permutation.rb +35 -36
  49. data/test/test_promise_after.rb +39 -0
  50. data/test/test_regression.rb +49 -51
  51. data/test/test_reliability.rb +29 -30
  52. data/test/test_resample.rb +22 -23
  53. data/test/test_srs.rb +8 -9
  54. data/test/test_statistics.rb +12 -6
  55. data/test/test_stest.rb +18 -10
  56. data/test/test_stratified.rb +15 -16
  57. data/test/test_svg_graph.rb +11 -22
  58. data/test/test_test_t.rb +40 -0
  59. data/test/test_umannwhitney.rb +14 -15
  60. data/test/test_vector.rb +33 -37
  61. data/test/test_xls.rb +34 -41
  62. metadata +22 -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.7.0
4
+ version: 0.8.0
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-03-25 00:00:00 -03:00
12
+ date: 2010-03-29 00:00:00 -03:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -99,10 +99,12 @@ description: |-
99
99
  * Descriptive statistics: frequencies, median, mean, standard error, skew, kurtosis (and many others).
100
100
  * Imports and exports datasets from and to Excel, CSV and plain text files.
101
101
  * Correlations: Pearson's r, Spearman's rank correlation (rho), Tetrachoric, Polychoric
102
+ * Tests: T, Levene, U-Mannwhitney, One-Way Anova
102
103
  * Regression: Simple, Multiple, Probit and Logit
103
104
  * Factorial Analysis: Extraction (PCA and Principal Axis) and Rotation (Varimax and relatives)
104
105
  * Dominance Analysis, with multivariate dependent and bootstrap (Azen & Budescu)
105
106
  * Sample calculation related formulas
107
+ * Creates reports on text, html and rtf, using ReportBuilder
106
108
  email:
107
109
  - clbustos@gmail.com
108
110
  executables:
@@ -127,15 +129,16 @@ files:
127
129
  - data/test_binomial.csv
128
130
  - data/tetmat_matrix.txt
129
131
  - data/tetmat_test.txt
130
- - demo/correlation_matrix.rb
131
- - demo/dominance_analysis_bootstrap.rb
132
- - demo/dominanceanalysis.rb
133
- - demo/levene.rb
134
- - demo/multiple_regression.rb
135
- - demo/multivariate_correlation.rb
136
- - demo/polychoric.rb
137
- - demo/principal_axis.rb
138
- - demo/tetrachoric.rb
132
+ - examples/correlation_matrix.rb
133
+ - examples/dominance_analysis.rb
134
+ - examples/dominance_analysis_bootstrap.rb
135
+ - examples/levene.rb
136
+ - examples/multiple_regression.rb
137
+ - examples/multivariate_correlation.rb
138
+ - examples/polychoric.rb
139
+ - examples/principal_axis.rb
140
+ - examples/t_test.rb
141
+ - examples/tetrachoric.rb
139
142
  - lib/distribution.rb
140
143
  - lib/distribution/chisquare.rb
141
144
  - lib/distribution/f.rb
@@ -162,6 +165,7 @@ files:
162
165
  - lib/statsample/factor/pca.rb
163
166
  - lib/statsample/factor/principalaxis.rb
164
167
  - lib/statsample/factor/rotation.rb
168
+ - lib/statsample/graph.rb
165
169
  - lib/statsample/graph/gdchart.rb
166
170
  - lib/statsample/graph/svgboxplot.rb
167
171
  - lib/statsample/graph/svggraph.rb
@@ -191,6 +195,7 @@ files:
191
195
  - lib/statsample/srs.rb
192
196
  - lib/statsample/test.rb
193
197
  - lib/statsample/test/levene.rb
198
+ - lib/statsample/test/t.rb
194
199
  - lib/statsample/test/umannwhitney.rb
195
200
  - lib/statsample/vector.rb
196
201
  - po/es/statsample.mo
@@ -210,12 +215,14 @@ files:
210
215
  - test/test_factor.rb
211
216
  - test/test_ggobi.rb
212
217
  - test/test_gsl.rb
218
+ - test/test_helpers.rb
213
219
  - test/test_histogram.rb
214
220
  - test/test_logit.rb
215
221
  - test/test_matrix.rb
216
222
  - test/test_mle.rb
217
223
  - test/test_multiset.rb
218
224
  - test/test_permutation.rb
225
+ - test/test_promise_after.rb
219
226
  - test/test_regression.rb
220
227
  - test/test_reliability.rb
221
228
  - test/test_resample.rb
@@ -224,6 +231,7 @@ files:
224
231
  - test/test_stest.rb
225
232
  - test/test_stratified.rb
226
233
  - test/test_svg_graph.rb
234
+ - test/test_test_t.rb
227
235
  - test/test_umannwhitney.rb
228
236
  - test/test_vector.rb
229
237
  - test/test_xls.rb
@@ -265,6 +273,7 @@ test_files:
265
273
  - test/test_permutation.rb
266
274
  - test/test_codification.rb
267
275
  - test/test_umannwhitney.rb
276
+ - test/test_helpers.rb
268
277
  - test/test_crosstab.rb
269
278
  - test/test_distribution.rb
270
279
  - test/test_svg_graph.rb
@@ -275,6 +284,7 @@ test_files:
275
284
  - test/test_mle.rb
276
285
  - test/test_resample.rb
277
286
  - test/test_stratified.rb
287
+ - test/test_promise_after.rb
278
288
  - test/test_vector.rb
279
289
  - test/test_srs.rb
280
290
  - test/test_ggobi.rb
@@ -283,6 +293,7 @@ test_files:
283
293
  - test/test_stest.rb
284
294
  - test/test_statistics.rb
285
295
  - test/test_reliability.rb
296
+ - test/test_test_t.rb
286
297
  - test/test_histogram.rb
287
298
  - test/test_dataset.rb
288
299
  - test/test_regression.rb