statsample 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +11 -0
- data/Manifest.txt +7 -0
- data/README.txt +3 -3
- data/data/repeated_fields.csv +7 -0
- data/data/tetmat_matrix.txt +5 -0
- data/data/tetmat_test.txt +1001 -0
- data/demo/spss_matrix.rb +3 -0
- data/lib/spss.rb +1 -1
- data/lib/statistics2.rb +1 -1
- data/lib/statsample.rb +30 -1
- data/lib/statsample/anova.rb +62 -66
- data/lib/statsample/bivariate.rb +273 -281
- data/lib/statsample/bivariate/tetrachoric.rb +418 -0
- data/lib/statsample/codification.rb +15 -15
- data/lib/statsample/combination.rb +108 -106
- data/lib/statsample/converter/csv18.rb +52 -52
- data/lib/statsample/converter/csv19.rb +45 -48
- data/lib/statsample/converter/spss.rb +47 -0
- data/lib/statsample/converters.rb +74 -77
- data/lib/statsample/crosstab.rb +21 -17
- data/lib/statsample/dataset.rb +595 -543
- data/lib/statsample/dominanceanalysis.rb +7 -10
- data/lib/statsample/htmlreport.rb +23 -0
- data/lib/statsample/regression/multiple/baseengine.rb +59 -59
- data/lib/statsample/regression/multiple/gslengine.rb +1 -1
- data/lib/statsample/reliability.rb +165 -145
- data/lib/statsample/vector.rb +16 -2
- data/test/test_anova.rb +16 -16
- data/test/test_bivariate.rb +146 -0
- data/test/test_csv.rb +6 -0
- data/test/test_dataset.rb +49 -5
- data/test/test_statistics.rb +6 -90
- data/test/test_vector.rb +27 -10
- metadata +10 -4
- data/test/test_r.rb +0 -9
- data/test/test_stata.rb +0 -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.5.
|
4
|
+
version: 0.5.1
|
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: 2009-
|
12
|
+
date: 2009-11-22 00:00:00 -03:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -62,7 +62,10 @@ files:
|
|
62
62
|
- bin/statsample
|
63
63
|
- data/crime.txt
|
64
64
|
- data/locale/es/LC_MESSAGES/statsample.mo
|
65
|
+
- data/repeated_fields.csv
|
65
66
|
- data/test_binomial.csv
|
67
|
+
- data/tetmat_matrix.txt
|
68
|
+
- data/tetmat_test.txt
|
66
69
|
- demo/benchmark.rb
|
67
70
|
- demo/chi-square.rb
|
68
71
|
- demo/crosstab.rb
|
@@ -75,6 +78,7 @@ files:
|
|
75
78
|
- demo/proportion.rb
|
76
79
|
- demo/regression.rb
|
77
80
|
- demo/sample_test.csv
|
81
|
+
- demo/spss_matrix.rb
|
78
82
|
- demo/strata_proportion.rb
|
79
83
|
- demo/stratum.rb
|
80
84
|
- demo/t-student.rb
|
@@ -89,10 +93,12 @@ files:
|
|
89
93
|
- lib/statsample.rb
|
90
94
|
- lib/statsample/anova.rb
|
91
95
|
- lib/statsample/bivariate.rb
|
96
|
+
- lib/statsample/bivariate/tetrachoric.rb
|
92
97
|
- lib/statsample/codification.rb
|
93
98
|
- lib/statsample/combination.rb
|
94
99
|
- lib/statsample/converter/csv18.rb
|
95
100
|
- lib/statsample/converter/csv19.rb
|
101
|
+
- lib/statsample/converter/spss.rb
|
96
102
|
- lib/statsample/converters.rb
|
97
103
|
- lib/statsample/crosstab.rb
|
98
104
|
- lib/statsample/dataset.rb
|
@@ -128,6 +134,7 @@ files:
|
|
128
134
|
- po/statsample.pot
|
129
135
|
- setup.rb
|
130
136
|
- test/test_anova.rb
|
137
|
+
- test/test_bivariate.rb
|
131
138
|
- test/test_codification.rb
|
132
139
|
- test/test_combination.rb
|
133
140
|
- test/test_crosstab.rb
|
@@ -180,6 +187,7 @@ signing_key:
|
|
180
187
|
specification_version: 3
|
181
188
|
summary: A suite for your basic and advanced statistics needs
|
182
189
|
test_files:
|
190
|
+
- test/test_bivariate.rb
|
183
191
|
- test/test_anova.rb
|
184
192
|
- test/test_codification.rb
|
185
193
|
- test/test_crosstab.rb
|
@@ -193,13 +201,11 @@ test_files:
|
|
193
201
|
- test/test_stratified.rb
|
194
202
|
- test/test_vector.rb
|
195
203
|
- test/test_srs.rb
|
196
|
-
- test/test_stata.rb
|
197
204
|
- test/test_ggobi.rb
|
198
205
|
- test/test_xls.rb
|
199
206
|
- test/test_logit.rb
|
200
207
|
- test/test_statistics.rb
|
201
208
|
- test/test_reliability.rb
|
202
209
|
- test/test_dataset.rb
|
203
|
-
- test/test_r.rb
|
204
210
|
- test/test_regression.rb
|
205
211
|
- test/test_multiset.rb
|
data/test/test_r.rb
DELETED
data/test/test_stata.rb
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
$:.unshift(File.dirname(__FILE__)+'/../lib/')
|
2
|
-
#require 'stata'
|
3
|
-
require 'statsample'
|
4
|
-
require 'test/unit'
|
5
|
-
|
6
|
-
class StatsampleStataTestCase < Test::Unit::TestCase
|
7
|
-
def test_basic
|
8
|
-
#datafile=File.dirname(__FILE__)+"/../data/logit.dta"
|
9
|
-
#p Stata.open(datafile)
|
10
|
-
end
|
11
|
-
end
|