statsample-ekatena 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -0
  3. data/.travis.yml +23 -0
  4. data/CONTRIBUTING.md +17 -0
  5. data/Gemfile +2 -0
  6. data/History.txt +457 -0
  7. data/LICENSE.txt +12 -0
  8. data/README.md +175 -0
  9. data/Rakefile +44 -0
  10. data/benchmarks/correlation_matrix_15_variables.rb +32 -0
  11. data/benchmarks/correlation_matrix_5_variables.rb +33 -0
  12. data/benchmarks/correlation_matrix_methods/correlation_matrix.ds +0 -0
  13. data/benchmarks/correlation_matrix_methods/correlation_matrix.html +93 -0
  14. data/benchmarks/correlation_matrix_methods/correlation_matrix.rb +71 -0
  15. data/benchmarks/correlation_matrix_methods/correlation_matrix.xls +0 -0
  16. data/benchmarks/correlation_matrix_methods/correlation_matrix_gsl_ruby.ods +0 -0
  17. data/benchmarks/correlation_matrix_methods/correlation_matrix_with_graphics.ods +0 -0
  18. data/benchmarks/correlation_matrix_methods/results.ds +0 -0
  19. data/benchmarks/factor_map.rb +37 -0
  20. data/benchmarks/helpers_benchmark.rb +5 -0
  21. data/data/locale/es/LC_MESSAGES/statsample.mo +0 -0
  22. data/doc_latex/manual/equations.tex +78 -0
  23. data/examples/boxplot.rb +28 -0
  24. data/examples/chisquare_test.rb +23 -0
  25. data/examples/correlation_matrix.rb +32 -0
  26. data/examples/dataset.rb +30 -0
  27. data/examples/dominance_analysis.rb +33 -0
  28. data/examples/dominance_analysis_bootstrap.rb +32 -0
  29. data/examples/histogram.rb +26 -0
  30. data/examples/icc.rb +24 -0
  31. data/examples/levene.rb +29 -0
  32. data/examples/multiple_regression.rb +20 -0
  33. data/examples/multivariate_correlation.rb +33 -0
  34. data/examples/parallel_analysis.rb +40 -0
  35. data/examples/polychoric.rb +40 -0
  36. data/examples/principal_axis.rb +26 -0
  37. data/examples/reliability.rb +31 -0
  38. data/examples/scatterplot.rb +25 -0
  39. data/examples/t_test.rb +27 -0
  40. data/examples/tetrachoric.rb +17 -0
  41. data/examples/u_test.rb +24 -0
  42. data/examples/vector.rb +20 -0
  43. data/examples/velicer_map_test.rb +46 -0
  44. data/grab_references.rb +29 -0
  45. data/lib/spss.rb +134 -0
  46. data/lib/statsample-ekatena/analysis.rb +100 -0
  47. data/lib/statsample-ekatena/analysis/suite.rb +89 -0
  48. data/lib/statsample-ekatena/analysis/suitereportbuilder.rb +44 -0
  49. data/lib/statsample-ekatena/anova.rb +24 -0
  50. data/lib/statsample-ekatena/anova/contrast.rb +79 -0
  51. data/lib/statsample-ekatena/anova/oneway.rb +187 -0
  52. data/lib/statsample-ekatena/anova/twoway.rb +207 -0
  53. data/lib/statsample-ekatena/bivariate.rb +406 -0
  54. data/lib/statsample-ekatena/bivariate/pearson.rb +54 -0
  55. data/lib/statsample-ekatena/codification.rb +182 -0
  56. data/lib/statsample-ekatena/converter/csv.rb +28 -0
  57. data/lib/statsample-ekatena/converter/spss.rb +48 -0
  58. data/lib/statsample-ekatena/converters.rb +211 -0
  59. data/lib/statsample-ekatena/crosstab.rb +188 -0
  60. data/lib/statsample-ekatena/daru.rb +115 -0
  61. data/lib/statsample-ekatena/dataset.rb +10 -0
  62. data/lib/statsample-ekatena/dominanceanalysis.rb +425 -0
  63. data/lib/statsample-ekatena/dominanceanalysis/bootstrap.rb +232 -0
  64. data/lib/statsample-ekatena/factor.rb +104 -0
  65. data/lib/statsample-ekatena/factor/map.rb +124 -0
  66. data/lib/statsample-ekatena/factor/parallelanalysis.rb +166 -0
  67. data/lib/statsample-ekatena/factor/pca.rb +242 -0
  68. data/lib/statsample-ekatena/factor/principalaxis.rb +243 -0
  69. data/lib/statsample-ekatena/factor/rotation.rb +198 -0
  70. data/lib/statsample-ekatena/formula/fit_model.rb +46 -0
  71. data/lib/statsample-ekatena/formula/formula.rb +306 -0
  72. data/lib/statsample-ekatena/graph.rb +11 -0
  73. data/lib/statsample-ekatena/graph/boxplot.rb +236 -0
  74. data/lib/statsample-ekatena/graph/histogram.rb +198 -0
  75. data/lib/statsample-ekatena/graph/scatterplot.rb +213 -0
  76. data/lib/statsample-ekatena/histogram.rb +180 -0
  77. data/lib/statsample-ekatena/matrix.rb +329 -0
  78. data/lib/statsample-ekatena/multiset.rb +310 -0
  79. data/lib/statsample-ekatena/regression.rb +65 -0
  80. data/lib/statsample-ekatena/regression/multiple.rb +89 -0
  81. data/lib/statsample-ekatena/regression/multiple/alglibengine.rb +128 -0
  82. data/lib/statsample-ekatena/regression/multiple/baseengine.rb +251 -0
  83. data/lib/statsample-ekatena/regression/multiple/gslengine.rb +129 -0
  84. data/lib/statsample-ekatena/regression/multiple/matrixengine.rb +205 -0
  85. data/lib/statsample-ekatena/regression/multiple/rubyengine.rb +86 -0
  86. data/lib/statsample-ekatena/regression/simple.rb +121 -0
  87. data/lib/statsample-ekatena/reliability.rb +150 -0
  88. data/lib/statsample-ekatena/reliability/icc.rb +415 -0
  89. data/lib/statsample-ekatena/reliability/multiscaleanalysis.rb +181 -0
  90. data/lib/statsample-ekatena/reliability/scaleanalysis.rb +233 -0
  91. data/lib/statsample-ekatena/reliability/skillscaleanalysis.rb +114 -0
  92. data/lib/statsample-ekatena/resample.rb +15 -0
  93. data/lib/statsample-ekatena/shorthand.rb +125 -0
  94. data/lib/statsample-ekatena/srs.rb +169 -0
  95. data/lib/statsample-ekatena/test.rb +82 -0
  96. data/lib/statsample-ekatena/test/bartlettsphericity.rb +45 -0
  97. data/lib/statsample-ekatena/test/chisquare.rb +73 -0
  98. data/lib/statsample-ekatena/test/f.rb +52 -0
  99. data/lib/statsample-ekatena/test/kolmogorovsmirnov.rb +63 -0
  100. data/lib/statsample-ekatena/test/levene.rb +88 -0
  101. data/lib/statsample-ekatena/test/t.rb +309 -0
  102. data/lib/statsample-ekatena/test/umannwhitney.rb +208 -0
  103. data/lib/statsample-ekatena/test/wilcoxonsignedrank.rb +90 -0
  104. data/lib/statsample-ekatena/vector.rb +19 -0
  105. data/lib/statsample-ekatena/version.rb +3 -0
  106. data/lib/statsample.rb +282 -0
  107. data/po/es/statsample.mo +0 -0
  108. data/po/es/statsample.po +959 -0
  109. data/po/statsample.pot +947 -0
  110. data/references.txt +24 -0
  111. data/statsample-ekatena.gemspec +49 -0
  112. data/test/fixtures/bank2.dat +200 -0
  113. data/test/fixtures/correlation_matrix.rb +17 -0
  114. data/test/fixtures/df.csv +15 -0
  115. data/test/fixtures/hartman_23.matrix +9 -0
  116. data/test/fixtures/stock_data.csv +500 -0
  117. data/test/fixtures/tetmat_matrix.txt +5 -0
  118. data/test/fixtures/tetmat_test.txt +1001 -0
  119. data/test/helpers_tests.rb +83 -0
  120. data/test/test_analysis.rb +176 -0
  121. data/test/test_anova_contrast.rb +36 -0
  122. data/test/test_anovaoneway.rb +26 -0
  123. data/test/test_anovatwoway.rb +37 -0
  124. data/test/test_anovatwowaywithdataset.rb +47 -0
  125. data/test/test_anovawithvectors.rb +102 -0
  126. data/test/test_awesome_print_bug.rb +16 -0
  127. data/test/test_bartlettsphericity.rb +25 -0
  128. data/test/test_bivariate.rb +164 -0
  129. data/test/test_codification.rb +78 -0
  130. data/test/test_crosstab.rb +67 -0
  131. data/test/test_dominance_analysis.rb +39 -0
  132. data/test/test_factor.rb +228 -0
  133. data/test/test_factor_map.rb +38 -0
  134. data/test/test_factor_pa.rb +56 -0
  135. data/test/test_fit_model.rb +88 -0
  136. data/test/test_ggobi.rb +35 -0
  137. data/test/test_gsl.rb +15 -0
  138. data/test/test_histogram.rb +109 -0
  139. data/test/test_matrix.rb +48 -0
  140. data/test/test_multiset.rb +176 -0
  141. data/test/test_regression.rb +231 -0
  142. data/test/test_reliability.rb +223 -0
  143. data/test/test_reliability_icc.rb +198 -0
  144. data/test/test_reliability_skillscale.rb +57 -0
  145. data/test/test_resample.rb +24 -0
  146. data/test/test_srs.rb +9 -0
  147. data/test/test_statistics.rb +69 -0
  148. data/test/test_stest.rb +69 -0
  149. data/test/test_stratified.rb +17 -0
  150. data/test/test_test_f.rb +33 -0
  151. data/test/test_test_kolmogorovsmirnov.rb +34 -0
  152. data/test/test_test_t.rb +62 -0
  153. data/test/test_umannwhitney.rb +27 -0
  154. data/test/test_vector.rb +12 -0
  155. data/test/test_wilcoxonsignedrank.rb +64 -0
  156. metadata +570 -0
@@ -0,0 +1,90 @@
1
+ module Statsample
2
+ module Test
3
+ # From Wikipedia:
4
+ # The Wilcoxon signed-rank test is a non-parametric statistical hypothesis test used when comparing two related samples, matched samples, or repeated measurements on a single sample to assess whether their population mean ranks differ (i.e. it is a paired difference test). It can be used as an alternative to the paired Student's t-test, t-test for matched pairs, or the t-test for dependent samples when the population cannot be assumed to be normally distributed.
5
+ class WilcoxonSignedRank
6
+ include Statsample::Test
7
+ include Summarizable
8
+
9
+ # Name of F analysis
10
+ attr_accessor :name
11
+ attr_reader :w
12
+ attr_reader :nr
13
+ attr_writer :tails
14
+ # Parameters:
15
+ def initialize(v1,v2, opts=Hash.new)
16
+ @v1 = v1
17
+ @v2 = v2
18
+ opts_default={:name=>_("Wilcoxon Signed Rank Test"),:tails=>:both}
19
+ @opts=opts_default.merge(opts)
20
+ opts_default.keys.each {|k|
21
+ send("#{k}=", @opts[k])
22
+ }
23
+ calculate
24
+ end
25
+
26
+ def calculate
27
+ df = Daru::DataFrame.new({:v1 => @v1,:v2 => @v2})
28
+ # df[:abs]=df.collect(:row) { |row| (row[:v2] - row[:v1]).abs }
29
+ df[:abs] = (df[:v2] - df[:v1]).abs
30
+ df[:sgn] = df.collect(:row) { |row|
31
+ r = row[:v2] - row[:v1]
32
+ r == 0 ? 0 : r/r.abs
33
+ }
34
+ df = df.filter_rows { |row| row[:sgn] != 0}
35
+ df[:rank] = df[:abs].ranked
36
+ @nr = df.nrows
37
+
38
+ @w = df.collect(:row) { |row|
39
+ row[:sgn] * row[:rank]
40
+ }.sum
41
+ end
42
+
43
+ def report_building(generator) # :nodoc:
44
+ generator.section(:name=>@name) do |s|
45
+ s.table(:name=>_("%s results") % @name) do |t|
46
+ t.row([_("W Value"), "%0.3f" % @w])
47
+ t.row([_("Z"), "%0.3f (p: %0.3f)" % [z, probability_z]])
48
+ if(nr<=10)
49
+ t.row([_("Exact probability"), "p-exact: %0.3f" % [probability_exact]])
50
+ end
51
+ end
52
+ end
53
+ end
54
+ def z
55
+ sigma=Math.sqrt((nr*(nr+1)*(2*nr+1))/6)
56
+ (w-0.5)/sigma
57
+ end
58
+ # Assuming normal distribution of W, this calculate
59
+ # the probability of samples with Z equal or higher than
60
+ # obtained on sample
61
+ def probability_z
62
+ (1-Distribution::Normal.cdf(z))*(@tails==:both ? 2:1)
63
+ end
64
+ # Calculate exact probability.
65
+ # Don't calculate for large Nr, please!
66
+ def probability_exact
67
+ str_format="%0#{nr}b"
68
+ combinations=2**nr
69
+ #p str_format
70
+ total_w=combinations.times.map do |i|
71
+ comb=sprintf(str_format,i)
72
+ w_local=comb.length.times.inject(0) do |ac,j|
73
+ sgn=comb[j]=="0" ? -1 : 1
74
+ ac+(j+1)*sgn
75
+ end
76
+ end.sort
77
+
78
+ total_w.find_all do |v|
79
+ if @tails==:both
80
+ v<=-w.abs or v>=w.abs
81
+ elsif @tails==:left
82
+ v<=w
83
+ elsif @tails==:right
84
+ v>=w
85
+ end
86
+ end.count/(combinations.to_f)
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,19 @@
1
+ module Statsample::VectorShorthands
2
+ # Creates a new Statsample::Vector object
3
+ # Argument should be equal to Vector.new
4
+ def to_vector(*args)
5
+ Daru::Vector.new(self)
6
+ end
7
+ end
8
+
9
+ class Array
10
+ include Statsample::VectorShorthands
11
+ end
12
+
13
+ if Statsample.has_gsl?
14
+ module GSL
15
+ class Vector
16
+ include Statsample::VectorShorthands
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,3 @@
1
+ module Statsample
2
+ VERSION = '2.0.2'
3
+ end
@@ -0,0 +1,282 @@
1
+ # = statsample.rb -
2
+ # Statsample - Statistic package for Ruby
3
+ # Copyright (C) 2008-2014 Claudio Bustos
4
+ #
5
+ # This program is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU General Public License
7
+ # as published by the Free Software Foundation; either version 2
8
+ # of the License, or (at your option) any later version.
9
+ #
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU General Public License
16
+ # along with this program; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
+ #
19
+
20
+ require 'matrix'
21
+ require 'extendmatrix'
22
+ require 'distribution'
23
+ require 'dirty-memoize'
24
+ require 'reportbuilder'
25
+ require 'daru'
26
+ require 'statsample/daru'
27
+
28
+ class Numeric
29
+ def square
30
+ self * self
31
+ end
32
+ end
33
+
34
+ class String
35
+ def is_number?
36
+ if self =~ /^-?\d+[,.]?\d*(e-?\d+)?$/
37
+ true
38
+ else
39
+ false
40
+ end
41
+ end
42
+ end
43
+
44
+ class Module
45
+ def include_aliasing(m, suffix = 'ruby')
46
+ m.instance_methods.each do |f|
47
+ if instance_methods.include? f
48
+ alias_method("#{f}_#{suffix}", f)
49
+ remove_method f
50
+ end
51
+ end
52
+ include m
53
+ end
54
+ end
55
+
56
+ class Array
57
+ def mean
58
+ sum.fdiv(size)
59
+ end
60
+
61
+ # Calcualte sum of squares
62
+ def sum_of_squares(m=nil)
63
+ m ||= mean
64
+ inject(0) {|a,x| a + (x-m).square }
65
+ end
66
+
67
+ # Calculate sample variance
68
+ def variance_sample(m=nil)
69
+ m ||= mean
70
+ sum_of_squares(m).quo(size - 1)
71
+ end
72
+
73
+ # Calculate sample standard deviation
74
+ def sd
75
+ m ||= mean
76
+ Math::sqrt(variance_sample(m))
77
+ end
78
+ end
79
+
80
+ def create_test(*args, &_proc)
81
+ description = args.shift
82
+ fields = args
83
+ [description, fields, Proc.new]
84
+ end
85
+
86
+ #--
87
+ # Test extensions
88
+ begin
89
+ require 'gettext'
90
+ rescue LoadError
91
+ def bindtextdomain(d) #:nodoc:
92
+ d
93
+ end
94
+
95
+ # Bored module
96
+ module GetText #:nodoc:
97
+ def _(t)
98
+ t
99
+ end
100
+ end
101
+ end
102
+
103
+ # Library for statistical analysis on Ruby
104
+ #
105
+ # * Classes for manipulation and storage of data:
106
+ # * Module Statsample::Bivariate provides covariance and pearson, spearman, point biserial, tau a, tau b, gamma, tetrachoric (see Bivariate::Tetrachoric) and polychoric (see Bivariate::Polychoric) correlations. Include methods to create correlation and covariance matrices
107
+ # * Multiple types of regression on Statsample::Regression
108
+ # * Factorial Analysis algorithms on Statsample::Factor module.
109
+ # * Dominance Analysis. Based on Budescu and Azen papers.link[http://psycnet.apa.org/journals/met/8/2/129/].
110
+ # * Module Statsample::Codification, to help to codify open questions
111
+ # * Converters to import and export data from databases, csv and excel files.
112
+ # * Module Statsample::Crosstab provides function to create crosstab for categorical data
113
+ # * Reliability analysis provides functions to analyze scales.
114
+ # * Module Statsample::SRS (Simple Random Sampling) provides a lot of functions to estimate standard error for several type of samples
115
+ # * Interfaces to gdchart, gnuplot and SVG::Graph
116
+ #
117
+ module Statsample
118
+ def self.create_has_library(library)
119
+ define_singleton_method("has_#{library}?") do
120
+ cv = "@@#{library}"
121
+ unless class_variable_defined? cv
122
+ begin
123
+ gem library.to_s # activate gem
124
+ require library.to_s
125
+ class_variable_set(cv, true)
126
+ rescue LoadError
127
+ class_variable_set(cv, false)
128
+ end
129
+ end
130
+ class_variable_get(cv)
131
+ end
132
+ end
133
+
134
+ create_has_library :gsl
135
+
136
+ SPLIT_TOKEN = ','
137
+ autoload(:Analysis, 'statsample/analysis')
138
+ autoload(:Database, 'statsample/converters')
139
+ autoload(:Anova, 'statsample/anova')
140
+ autoload(:CSV, 'statsample/converters')
141
+ autoload(:PlainText, 'statsample/converters')
142
+ autoload(:Excel, 'statsample/converters')
143
+ autoload(:GGobi, 'statsample/converters')
144
+ autoload(:SPSS, 'statsample/converter/spss')
145
+ autoload(:Histogram, 'statsample/histogram')
146
+ autoload(:DominanceAnalysis, 'statsample/dominanceanalysis')
147
+ autoload(:HtmlReport, 'statsample/htmlreport')
148
+ autoload(:Mx, 'statsample/converters')
149
+ autoload(:Resample, 'statsample/resample')
150
+ autoload(:SRS, 'statsample/srs')
151
+ autoload(:Codification, 'statsample/codification')
152
+ autoload(:Reliability, 'statsample/reliability')
153
+ autoload(:Bivariate, 'statsample/bivariate')
154
+ autoload(:Multivariate, 'statsample/multivariate')
155
+ autoload(:Multiset, 'statsample/multiset')
156
+ autoload(:StratifiedSample, 'statsample/multiset')
157
+ autoload(:MLE, 'statsample/mle')
158
+ autoload(:Regression, 'statsample/regression')
159
+ autoload(:FitModel, 'statsample/formula/fit_model')
160
+ autoload(:Test, 'statsample/test')
161
+ autoload(:Factor, 'statsample/factor')
162
+ autoload(:Graph, 'statsample/graph')
163
+
164
+ class << self
165
+ # Load a object saved on a file.
166
+ def load(filename)
167
+ if File.exist? filename
168
+ o = false
169
+ File.open(filename, 'r') { |fp| o = Marshal.load(fp) }
170
+ o
171
+ else
172
+ false
173
+ end
174
+ end
175
+
176
+ # Create a matrix using vectors as columns.
177
+ # Use:
178
+ #
179
+ # matrix=Statsample.vector_cols_matrix(v1,v2)
180
+ def vector_cols_matrix(*vs)
181
+ # test
182
+ size = vs[0].size
183
+
184
+ vs.each do |v|
185
+ fail ArgumentError, 'Arguments should be Vector' unless v.instance_of? Daru::Vector
186
+ fail ArgumentError, 'Vectors size should be the same' if v.size != size
187
+ end
188
+
189
+ Matrix.rows((0...size).to_a.collect { |i| vs.collect { |v| v[i] } })
190
+ end
191
+
192
+ # Returns a duplicate of the input vectors, without missing data
193
+ # for any of the vectors.
194
+ #
195
+ # a = Daru::Vector.new([1,2,3,6,7,nil,3,5])
196
+ # b = Daru::Vector.new([nil,nil,5,6,4,5,10,2])
197
+ # c = Daru::Vector.new([2,4,6,7,4,5,6,7])
198
+ # a2,b2,c2=Statsample.only_valid(a,b,c)
199
+ # => [#<Daru::Vector:0xb748c8c8 @data=[3, 6, 7, 3, 5]>,
200
+ # #<Daru::Vector:0xb748c814 @data=[5, 6, 4, 10, 2]>,
201
+ # #<Daru::Vector:0xb748c760 @data=[6, 7, 4, 6, 7]>]
202
+ #
203
+ def only_valid(*vs)
204
+ i = 1
205
+ h = vs.inject({}) { |acc, v| acc["v#{i}".to_sym] = v; i += 1; acc }
206
+ df = Daru::DataFrame.new(h).reject_values(*Daru::MISSING_VALUES)
207
+ df.map { |v| v }
208
+ end
209
+
210
+ # Cheap version of #only_valid.
211
+ # If any vectors have missing_values, return only valid.
212
+ # If not, return the vectors itself
213
+ def only_valid_clone(*vs)
214
+ if vs.any? { |v| v.include_values?(*Daru::MISSING_VALUES) }
215
+ only_valid(*vs)
216
+ else
217
+ vs
218
+ end
219
+ end
220
+ end
221
+
222
+ module Util
223
+ # Reference: http://www.itl.nist.gov/div898/handbook/eda/section3/normprpl.htm
224
+ def normal_order_statistic_medians(i, n)
225
+ if i == 1
226
+ u = 1.0 - normal_order_statistic_medians(n, n)
227
+ elsif i == n
228
+ u = 0.5**(1 / n.to_f)
229
+ else
230
+ u = (i - 0.3175) / (n + 0.365)
231
+ end
232
+ u
233
+ end
234
+
235
+ def self.nice(s, e) # :nodoc:
236
+ reverse = e < s
237
+ min = reverse ? e : s
238
+ max = reverse ? s : e
239
+ span = max - min
240
+ return [s, e] if span == 0 || (span.respond_to?(:infinite?) && span.infinite?)
241
+
242
+ step = 10**((Math.log(span).quo(Math.log(10))).round - 1).to_f
243
+ out = [(min.quo(step)).floor * step, (max.quo(step)).ceil * step]
244
+ out.reverse! if reverse
245
+ out
246
+ end
247
+ end
248
+
249
+ module Writable
250
+ def save(filename)
251
+ fp = File.open(filename, 'w')
252
+ Marshal.dump(self, fp)
253
+ fp.close
254
+ end
255
+ end
256
+ # Provides method summary to generate summaries and include GetText
257
+ module Summarizable
258
+ include GetText
259
+ bindtextdomain('statsample')
260
+ def summary(method = :to_text)
261
+ ReportBuilder.new(no_title: true).add(self).send(method)
262
+ end
263
+ end
264
+ module STATSAMPLE__ #:nodoc:
265
+ end
266
+ end
267
+
268
+ #--
269
+ begin
270
+ require 'statsamplert'
271
+ rescue LoadError
272
+ module Statsample
273
+ OPTIMIZED = false
274
+ end
275
+ end
276
+
277
+ require 'statsample/vector'
278
+ require 'statsample/dataset'
279
+ require 'statsample/crosstab'
280
+ require 'statsample/matrix'
281
+ require 'statsample/shorthand'
282
+ require 'statsample/version'
Binary file
@@ -0,0 +1,959 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: statsample 1.0.1\n"
4
+ "POT-Creation-Date: 2011-03-03 12:03-0300\n"
5
+ "PO-Revision-Date: 2011-03-03 12:05-0300\n"
6
+ "Last-Translator: Claudio Bustos <clbustos@gmail.com>\n"
7
+ "Language-Team: Desarrollador\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Poedit-Language: Spanish\n"
12
+ "X-Poedit-SourceCharset: utf-8\n"
13
+
14
+ #: lib/statsample/test/f.rb:26
15
+ msgid "F Test"
16
+ msgstr "Prueba F"
17
+
18
+ #: lib/statsample/test/t.rb:82
19
+ msgid "T Test"
20
+ msgstr "Prueba T"
21
+
22
+ #: lib/statsample/test/t.rb:83
23
+ msgid "Estimate"
24
+ msgstr "Estimado"
25
+
26
+ #: lib/statsample/test/t.rb:84
27
+ msgid "Std.Err.of Estimate"
28
+ msgstr "Err.Est. del Estimado"
29
+
30
+ #: lib/statsample/test/t.rb:114
31
+ msgid "%s: %0.4f | %s: %0.4f"
32
+ msgstr "%s: %0.4f | %s: %0.4f"
33
+
34
+ #: lib/statsample/test/t.rb:120
35
+ msgid "t(%d) = %0.4f, p=%0.4f (%s tails)"
36
+ msgstr "t(%d) = %0.4f, p=%0.4f (%s colas)"
37
+
38
+ #: lib/statsample/test/t.rb:121
39
+ msgid "CI(%d%%): %0.4f - %0.4f"
40
+ msgstr "IC(%d%%): %0.4f - %0.4f"
41
+
42
+ #: lib/statsample/test/t.rb:190
43
+ msgid "Sample mean: %0.4f | Sample sd: %0.4f | se : %0.4f"
44
+ msgstr "Media de la muestra: %0.4f | DE de la muestra: %0.4f | EE : %0.4f"
45
+
46
+ #: lib/statsample/test/t.rb:191
47
+ msgid "Population mean: %0.4f"
48
+ msgstr "Promedio población: %0.4f"
49
+
50
+ #: lib/statsample/test/t.rb:292
51
+ msgid "Mean and standard deviation"
52
+ msgstr "Promedio y desviación estándar"
53
+
54
+ #: lib/statsample/test/t.rb:292
55
+ #: lib/statsample/regression/simple.rb:109
56
+ #: lib/statsample/factor/pca.rb:216
57
+ #: lib/statsample/factor/principalaxis.rb:202
58
+ msgid "Variable"
59
+ msgstr "Variable"
60
+
61
+ #: lib/statsample/test/t.rb:292
62
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
63
+ msgid "mean"
64
+ msgstr "promedio"
65
+
66
+ #: lib/statsample/test/t.rb:292
67
+ msgid "sd"
68
+ msgstr "de"
69
+
70
+ #: lib/statsample/test/t.rb:292
71
+ #: lib/statsample/factor/parallelanalysis.rb:103
72
+ #: lib/statsample/factor/parallelanalysis.rb:111
73
+ msgid "n"
74
+ msgstr "n"
75
+
76
+ #: lib/statsample/test/t.rb:296
77
+ msgid "Levene test for equality of variances"
78
+ msgstr "Test de Levene para igualdad de variancas"
79
+
80
+ #: lib/statsample/test/t.rb:298
81
+ msgid "T statistics"
82
+ msgstr "Estadístico T"
83
+
84
+ #: lib/statsample/test/t.rb:299
85
+ msgid "Equal variance"
86
+ msgstr "Varianza Igual"
87
+
88
+ #: lib/statsample/test/t.rb:300
89
+ msgid "Non equal variance"
90
+ msgstr "Varianza Desigual"
91
+
92
+ #: lib/statsample/test/t.rb:302
93
+ msgid "Effect size"
94
+ msgstr "Tamaño del efecto"
95
+
96
+ #: lib/statsample/test/umannwhitney.rb:140
97
+ msgid "Mann-Whitney's U"
98
+ msgstr "U de Mann-Whitney"
99
+
100
+ #: lib/statsample/test/umannwhitney.rb:149
101
+ msgid "%s results"
102
+ msgstr "resultados de %s"
103
+
104
+ #: lib/statsample/test/umannwhitney.rb:150
105
+ #: lib/statsample/test/umannwhitney.rb:151
106
+ msgid "Sum of ranks %s"
107
+ msgstr "Suma de rangos %s"
108
+
109
+ #: lib/statsample/test/umannwhitney.rb:152
110
+ msgid "U Value"
111
+ msgstr "Valor de U"
112
+
113
+ #: lib/statsample/test/umannwhitney.rb:153
114
+ msgid "Z"
115
+ msgstr "Z"
116
+
117
+ #: lib/statsample/test/umannwhitney.rb:155
118
+ msgid "Exact p (Dinneen & Blakesley, 1973):"
119
+ msgstr "p exacto (Dinneen & Blakesley, 1973):"
120
+
121
+ #: lib/statsample/test/levene.rb:37
122
+ msgid "Levene Test"
123
+ msgstr "Test de Levene"
124
+
125
+ #: lib/statsample/test/bartlettsphericity.rb:25
126
+ msgid "Bartlett's test of sphericity"
127
+ msgstr "Test de esfericidad de Bartlett"
128
+
129
+ #: lib/statsample/regression/multiple/baseengine.rb:27
130
+ msgid "Multiple Regression: %s over %s"
131
+ msgstr "Regresión Múltiple: %s sobre %s"
132
+
133
+ #: lib/statsample/regression/multiple/baseengine.rb:40
134
+ msgid "Regression"
135
+ msgstr "Regresión"
136
+
137
+ #: lib/statsample/regression/multiple/baseengine.rb:40
138
+ msgid "Error"
139
+ msgstr "Error"
140
+
141
+ #: lib/statsample/regression/multiple/baseengine.rb:184
142
+ msgid "Engine: %s"
143
+ msgstr "Motor: %s"
144
+
145
+ #: lib/statsample/regression/multiple/baseengine.rb:185
146
+ msgid "Cases(listwise)=%d(%d)"
147
+ msgstr "Casos (sólo válidos)=%d(%d)"
148
+
149
+ #: lib/statsample/regression/multiple/baseengine.rb:186
150
+ msgid "R="
151
+ msgstr "R="
152
+
153
+ #: lib/statsample/regression/multiple/baseengine.rb:187
154
+ msgid "R^2="
155
+ msgstr "R^2="
156
+
157
+ #: lib/statsample/regression/multiple/baseengine.rb:188
158
+ msgid "R^2 Adj="
159
+ msgstr "R^2 Adj="
160
+
161
+ #: lib/statsample/regression/multiple/baseengine.rb:189
162
+ msgid "Std.Error R="
163
+ msgstr "Error estándar R="
164
+
165
+ #: lib/statsample/regression/multiple/baseengine.rb:191
166
+ msgid "Equation"
167
+ msgstr "Ecuación"
168
+
169
+ #: lib/statsample/regression/multiple/baseengine.rb:197
170
+ msgid "Beta coefficients"
171
+ msgstr "Coeficientes beta"
172
+
173
+ #: lib/statsample/regression/multiple/baseengine.rb:198
174
+ msgid "Constant"
175
+ msgstr "Constante"
176
+
177
+ #: lib/statsample/regression/multiple/matrixengine.rb:78
178
+ msgid "Multiple reggresion of %s on %s"
179
+ msgstr "Regresión Múltiple de %s en %s"
180
+
181
+ #: lib/statsample/regression/simple.rb:88
182
+ msgid "Regression of %s over %s"
183
+ msgstr "Regresión de %s sobre %s"
184
+
185
+ #: lib/statsample/regression/simple.rb:109
186
+ #: lib/statsample/factor/map.rb:105
187
+ #: lib/statsample/reliability/skillscaleanalysis.rb:92
188
+ msgid "Value"
189
+ msgstr "Valor"
190
+
191
+ #: lib/statsample/regression/simple.rb:110
192
+ msgid "r"
193
+ msgstr "r"
194
+
195
+ #: lib/statsample/regression/simple.rb:111
196
+ msgid "r^2"
197
+ msgstr "r^2"
198
+
199
+ #: lib/statsample/regression/simple.rb:112
200
+ msgid "a"
201
+ msgstr "a"
202
+
203
+ #: lib/statsample/regression/simple.rb:113
204
+ msgid "b"
205
+ msgstr "b"
206
+
207
+ #: lib/statsample/regression/simple.rb:114
208
+ msgid "s.e"
209
+ msgstr "e.e."
210
+
211
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:115
212
+ msgid "Bootstrap dominance Analysis: %s over %s"
213
+ msgstr "Resultados del Análisis de Dominancia Bootstrap: %s en %s"
214
+
215
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:138
216
+ msgid "Bootstrap %d of %d"
217
+ msgstr "Bootstrap: %d de %d"
218
+
219
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:177
220
+ msgid "Sample size: %d\n"
221
+ msgstr "Tamaño de muestra: %d\n"
222
+
223
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:179
224
+ msgid "Linear Regression Engine: %s"
225
+ msgstr "Motor de Regresión Linear: %s"
226
+
227
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:181
228
+ msgid "pairs"
229
+ msgstr "pares"
230
+
231
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:181
232
+ msgid "SE(Dij)"
233
+ msgstr "EE(Dij)"
234
+
235
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:181
236
+ msgid "Reproducibility"
237
+ msgstr "Reproducibilidad"
238
+
239
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:182
240
+ msgid "Complete dominance"
241
+ msgstr "Dominancia Completa"
242
+
243
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:190
244
+ msgid "Conditional dominance"
245
+ msgstr "Dominancia Condicional"
246
+
247
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:199
248
+ msgid "General Dominance"
249
+ msgstr "Dominancia General"
250
+
251
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
252
+ msgid "General averages"
253
+ msgstr "Promedios generales"
254
+
255
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
256
+ msgid "var"
257
+ msgstr "var"
258
+
259
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
260
+ msgid "se"
261
+ msgstr "de"
262
+
263
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
264
+ msgid "p.5"
265
+ msgstr "p.5"
266
+
267
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
268
+ msgid "p.95"
269
+ msgstr "p.95"
270
+
271
+ #: lib/statsample/anova/twoway.rb:59
272
+ msgid "ANOVA Two-Way"
273
+ msgstr "Anova de dos vías"
274
+
275
+ #: lib/statsample/anova/twoway.rb:60
276
+ msgid "A"
277
+ msgstr "A"
278
+
279
+ #: lib/statsample/anova/twoway.rb:61
280
+ msgid "B"
281
+ msgstr "B"
282
+
283
+ #: lib/statsample/anova/twoway.rb:62
284
+ msgid "Within"
285
+ msgstr "Dentro"
286
+
287
+ #: lib/statsample/anova/twoway.rb:98
288
+ #: lib/statsample/anova/oneway.rb:57
289
+ msgid "%s Table"
290
+ msgstr "Tabla %s"
291
+
292
+ #: lib/statsample/anova/twoway.rb:103
293
+ #: lib/statsample/anova/oneway.rb:60
294
+ #: lib/statsample/crosstab.rb:101
295
+ #: lib/statsample/crosstab.rb:116
296
+ #: lib/statsample/crosstab.rb:151
297
+ #: lib/statsample/crosstab.rb:173
298
+ #: lib/statsample/dominanceanalysis.rb:354
299
+ msgid "Total"
300
+ msgstr "Total"
301
+
302
+ #: lib/statsample/anova/twoway.rb:172
303
+ msgid "Anova Two-Way on %s"
304
+ msgstr "Anova de dos vías en %s"
305
+
306
+ #: lib/statsample/anova/twoway.rb:184
307
+ #: lib/statsample/anova/oneway.rb:127
308
+ msgid "Test of Homogeneity of variances (Levene)"
309
+ msgstr "Test de homogeneidad de varianza (Levene)"
310
+
311
+ #: lib/statsample/anova/twoway.rb:189
312
+ #: lib/statsample/anova/twoway.rb:193
313
+ msgid "%s Mean"
314
+ msgstr "Promedio %s"
315
+
316
+ #: lib/statsample/anova/oneway.rb:35
317
+ msgid "Explained variance"
318
+ msgstr "Varianza explicada"
319
+
320
+ #: lib/statsample/anova/oneway.rb:36
321
+ msgid "Unexplained variance"
322
+ msgstr "Varianza sin explicar"
323
+
324
+ #: lib/statsample/anova/oneway.rb:97
325
+ msgid "Anova One-Way"
326
+ msgstr "Anova de una vía"
327
+
328
+ #: lib/statsample/anova/oneway.rb:98
329
+ msgid "Between Groups"
330
+ msgstr "Entre grupos"
331
+
332
+ #: lib/statsample/anova/oneway.rb:99
333
+ msgid "Within Groups"
334
+ msgstr "Dentro de grupos"
335
+
336
+ #: lib/statsample/anova/oneway.rb:119
337
+ msgid "Contrast for %s"
338
+ msgstr "Contraste para %s"
339
+
340
+ #: lib/statsample/anova/oneway.rb:163
341
+ msgid "Descriptives"
342
+ msgstr "Descriptivos"
343
+
344
+ #: lib/statsample/anova/contrast.rb:13
345
+ msgid "Psi estimate"
346
+ msgstr "Psi Estimado"
347
+
348
+ #: lib/statsample/anova/contrast.rb:14
349
+ msgid "Contrast"
350
+ msgstr "Contraste"
351
+
352
+ #: lib/statsample/anova/contrast.rb:73
353
+ msgid "Contrast:%s"
354
+ msgstr "Contraste: %s"
355
+
356
+ #: lib/statsample/graph/scatterplot.rb:72
357
+ msgid "Scatterplot (%s - %s)"
358
+ msgstr "Diagrama de dispersión (%s - %s)"
359
+
360
+ #: lib/statsample/graph/histogram.rb:50
361
+ msgid "Histograma (%s)"
362
+ msgstr "Histograma (%s)"
363
+
364
+ #: lib/statsample/graph/boxplot.rb:63
365
+ msgid "Boxplot"
366
+ msgstr "Diagrama de caja"
367
+
368
+ #: lib/statsample/bivariate/pearson.rb:32
369
+ msgid "Correlation (%s - %s)"
370
+ msgstr "Correlación (%s - %s)"
371
+
372
+ #: lib/statsample/bivariate/pearson.rb:50
373
+ msgid "%s : r=%0.3f (t:%0.3f, g.l.=%d, p:%0.3f / %s tails)"
374
+ msgstr "%s : r=%0.3f (t:%0.3f, g.l.=%d, p:%0.3f / %s colas)"
375
+
376
+ #: lib/statsample/factor/parallelanalysis.rb:68
377
+ msgid "Parallel Analysis"
378
+ msgstr "Análisis Paralelo"
379
+
380
+ #: lib/statsample/factor/parallelanalysis.rb:96
381
+ msgid "Bootstrap Method: %s"
382
+ msgstr "Método de Remuestreo: %s"
383
+
384
+ #: lib/statsample/factor/parallelanalysis.rb:97
385
+ msgid "Uses SMC: %s"
386
+ msgstr "Usa SMC: %s"
387
+
388
+ #: lib/statsample/factor/parallelanalysis.rb:97
389
+ msgid "Yes"
390
+ msgstr "Sí"
391
+
392
+ #: lib/statsample/factor/parallelanalysis.rb:97
393
+ msgid "No"
394
+ msgstr "No"
395
+
396
+ #: lib/statsample/factor/parallelanalysis.rb:98
397
+ msgid "Correlation Matrix type : %s"
398
+ msgstr "Tipo de matriz de correlacion : %s"
399
+
400
+ #: lib/statsample/factor/parallelanalysis.rb:99
401
+ msgid "Number of variables: %d"
402
+ msgstr "Número de variables: %d"
403
+
404
+ #: lib/statsample/factor/parallelanalysis.rb:100
405
+ msgid "Number of cases: %d"
406
+ msgstr "Número de casos: %d"
407
+
408
+ #: lib/statsample/factor/parallelanalysis.rb:101
409
+ msgid "Number of iterations: %d"
410
+ msgstr "Número de iteraciones: %d"
411
+
412
+ #: lib/statsample/factor/parallelanalysis.rb:103
413
+ #: lib/statsample/factor/parallelanalysis.rb:111
414
+ #: lib/statsample/factor/map.rb:105
415
+ msgid "Eigenvalues"
416
+ msgstr "Eigenvalues"
417
+
418
+ #: lib/statsample/factor/parallelanalysis.rb:103
419
+ #: lib/statsample/factor/parallelanalysis.rb:111
420
+ msgid "generated eigenvalue"
421
+ msgstr "eigenvalue generado"
422
+
423
+ #: lib/statsample/factor/parallelanalysis.rb:110
424
+ msgid "Number or factors to preserve: %d"
425
+ msgstr "Número de factores a preservar: %d"
426
+
427
+ #: lib/statsample/factor/parallelanalysis.rb:111
428
+ msgid "data eigenvalue"
429
+ msgstr "eigenvalue de los datos"
430
+
431
+ #: lib/statsample/factor/parallelanalysis.rb:111
432
+ msgid "preserve?"
433
+ msgstr "¿preservar?"
434
+
435
+ #: lib/statsample/factor/map.rb:60
436
+ msgid "Velicer's MAP"
437
+ msgstr "PPM de Velicer"
438
+
439
+ #: lib/statsample/factor/map.rb:110
440
+ msgid "Velicer's Average Squared Correlations"
441
+ msgstr "Correlaciones Cuadradas Promedio de Velicer "
442
+
443
+ #: lib/statsample/factor/map.rb:110
444
+ msgid "number of components"
445
+ msgstr "número de componentes"
446
+
447
+ #: lib/statsample/factor/map.rb:110
448
+ msgid "average square correlation"
449
+ msgstr "correlación cuadrada promedio"
450
+
451
+ #: lib/statsample/factor/map.rb:115
452
+ msgid "The smallest average squared correlation is : %0.6f"
453
+ msgstr "La correlación cuadrada promedio más pequeña es: %0.6f"
454
+
455
+ #: lib/statsample/factor/map.rb:116
456
+ msgid "The number of components is : %d"
457
+ msgstr "El número de componentes es: %d"
458
+
459
+ #: lib/statsample/factor/pca.rb:56
460
+ msgid "Principal Component Analysis"
461
+ msgstr "Análisis de componentes principales"
462
+
463
+ #: lib/statsample/factor/pca.rb:59
464
+ #: lib/statsample/matrix.rb:14
465
+ #: lib/statsample/matrix.rb:81
466
+ msgid "VAR_%d"
467
+ msgstr "VAR_%d"
468
+
469
+ #: lib/statsample/factor/pca.rb:160
470
+ msgid "Component matrix (from covariance)"
471
+ msgstr "Matriz de componentes (desde covarianza)"
472
+
473
+ #: lib/statsample/factor/pca.rb:181
474
+ msgid "Component matrix"
475
+ msgstr "Matriz de componentes"
476
+
477
+ #: lib/statsample/factor/pca.rb:215
478
+ #: lib/statsample/factor/principalaxis.rb:200
479
+ msgid "Number of factors: %d"
480
+ msgstr "Número de factores: %d"
481
+
482
+ #: lib/statsample/factor/pca.rb:216
483
+ #: lib/statsample/factor/principalaxis.rb:202
484
+ msgid "Communalities"
485
+ msgstr "Comunalidades"
486
+
487
+ #: lib/statsample/factor/pca.rb:216
488
+ #: lib/statsample/factor/principalaxis.rb:202
489
+ msgid "Initial"
490
+ msgstr "Inicial"
491
+
492
+ #: lib/statsample/factor/pca.rb:216
493
+ #: lib/statsample/factor/principalaxis.rb:202
494
+ msgid "Extraction"
495
+ msgstr "Extracción"
496
+
497
+ #: lib/statsample/factor/pca.rb:216
498
+ #: lib/statsample/factor/pca.rb:223
499
+ #: lib/statsample/reliability/skillscaleanalysis.rb:92
500
+ msgid "%"
501
+ msgstr "%"
502
+
503
+ #: lib/statsample/factor/pca.rb:223
504
+ msgid "Total Variance Explained"
505
+ msgstr "Varianza Total Explicada"
506
+
507
+ #: lib/statsample/factor/pca.rb:223
508
+ msgid "Component"
509
+ msgstr "Componente"
510
+
511
+ #: lib/statsample/factor/pca.rb:223
512
+ msgid "E.Total"
513
+ msgstr "E. Total"
514
+
515
+ #: lib/statsample/factor/pca.rb:223
516
+ msgid "Cum. %"
517
+ msgstr "% Acum."
518
+
519
+ #: lib/statsample/factor/pca.rb:227
520
+ msgid "Component %d"
521
+ msgstr "Componente %d"
522
+
523
+ #: lib/statsample/factor/principalaxis.rb:70
524
+ msgid "Variable %d"
525
+ msgstr "Variable %d"
526
+
527
+ #: lib/statsample/factor/principalaxis.rb:147
528
+ msgid "Factor Matrix"
529
+ msgstr "Matriz de Factores"
530
+
531
+ #: lib/statsample/factor/principalaxis.rb:201
532
+ msgid "Iterations: %d"
533
+ msgstr "Iteraciones: %d"
534
+
535
+ #: lib/statsample/factor/principalaxis.rb:207
536
+ msgid "Total Variance"
537
+ msgstr "Varianza Total"
538
+
539
+ #: lib/statsample/factor/principalaxis.rb:207
540
+ msgid "Factor"
541
+ msgstr "Factor"
542
+
543
+ #: lib/statsample/factor/principalaxis.rb:207
544
+ msgid "I.E.Total"
545
+ msgstr "E.I. Total"
546
+
547
+ #: lib/statsample/factor/principalaxis.rb:207
548
+ msgid "I.E. %"
549
+ msgstr "E.I. %"
550
+
551
+ #: lib/statsample/factor/principalaxis.rb:207
552
+ msgid "I.E.Cum. %"
553
+ msgstr "E.I. Acum. %"
554
+
555
+ #: lib/statsample/factor/principalaxis.rb:208
556
+ msgid "S.L.Total"
557
+ msgstr "C.C. Total"
558
+
559
+ #: lib/statsample/factor/principalaxis.rb:208
560
+ msgid "S.L. %"
561
+ msgstr "C.C. %"
562
+
563
+ #: lib/statsample/factor/principalaxis.rb:208
564
+ msgid "S.L.Cum. %"
565
+ msgstr "C.C. Acum %"
566
+
567
+ #: lib/statsample/factor/principalaxis.rb:215
568
+ msgid "Factor %d"
569
+ msgstr "Factor %d"
570
+
571
+ #: lib/statsample/factor/rotation.rb:35
572
+ msgid "%s rotation"
573
+ msgstr "rotación %s"
574
+
575
+ #: lib/statsample/factor/rotation.rb:132
576
+ msgid "Rotated Component matrix"
577
+ msgstr "Matriz de componentes rotada"
578
+
579
+ #: lib/statsample/factor/rotation.rb:149
580
+ msgid "Component transformation matrix"
581
+ msgstr "Matriz de transformación de componentes"
582
+
583
+ #: lib/statsample/reliability/multiscaleanalysis.rb:67
584
+ msgid "Multiple Scale analysis"
585
+ msgstr "Análisis de múltiples escalas"
586
+
587
+ #: lib/statsample/reliability/multiscaleanalysis.rb:97
588
+ msgid "Scale %s"
589
+ msgstr "Escala %s"
590
+
591
+ #: lib/statsample/reliability/multiscaleanalysis.rb:145
592
+ msgid "Reliability analysis of scales"
593
+ msgstr "Análisis de confiabilidad de escalas"
594
+
595
+ #: lib/statsample/reliability/multiscaleanalysis.rb:151
596
+ msgid "Correlation matrix for %s"
597
+ msgstr "Matriz de correlaciones para %s"
598
+
599
+ #: lib/statsample/reliability/multiscaleanalysis.rb:156
600
+ msgid "PCA for %s"
601
+ msgstr "ACP para %s"
602
+
603
+ #: lib/statsample/reliability/multiscaleanalysis.rb:161
604
+ msgid "Principal Axis for %s"
605
+ msgstr "Ejes principales para %s"
606
+
607
+ #: lib/statsample/reliability/multiscaleanalysis.rb:167
608
+ msgid "Parallel Analysis for %s"
609
+ msgstr "Análisis Paralelo para %s"
610
+
611
+ #: lib/statsample/reliability/multiscaleanalysis.rb:172
612
+ msgid "MAP for %s"
613
+ msgstr "MAP para %s"
614
+
615
+ #: lib/statsample/reliability/skillscaleanalysis.rb:21
616
+ msgid "Skill Scale Reliability Analysis (%s)"
617
+ msgstr "Análisis de confiabilidad de escalas de habilidad"
618
+
619
+ #: lib/statsample/reliability/skillscaleanalysis.rb:36
620
+ msgid "%s(corrected)"
621
+ msgstr "%s(corregido)"
622
+
623
+ #: lib/statsample/reliability/skillscaleanalysis.rb:40
624
+ msgid "Corrected dataset from %s"
625
+ msgstr "Grupo de datos corregido desde %s"
626
+
627
+ #: lib/statsample/reliability/skillscaleanalysis.rb:51
628
+ msgid "%s (Scale Analysis)"
629
+ msgstr "%s (Análisis de Escala)"
630
+
631
+ #: lib/statsample/reliability/skillscaleanalysis.rb:82
632
+ msgid "Problematic Items"
633
+ msgstr "Ítems problemáticos"
634
+
635
+ #: lib/statsample/reliability/skillscaleanalysis.rb:87
636
+ msgid "Item: %s"
637
+ msgstr "Ítem: %s"
638
+
639
+ #: lib/statsample/reliability/skillscaleanalysis.rb:88
640
+ msgid "Correct answer: %s"
641
+ msgstr "Respuesta correcta: %s"
642
+
643
+ #: lib/statsample/reliability/skillscaleanalysis.rb:89
644
+ msgid "p: %0.3f"
645
+ msgstr "p: %0.3f"
646
+
647
+ #: lib/statsample/reliability/skillscaleanalysis.rb:101
648
+ msgid "No problematic items"
649
+ msgstr "Sin ítems problemáticos"
650
+
651
+ #: lib/statsample/reliability/scaleanalysis.rb:44
652
+ msgid "Reliability Analisis"
653
+ msgstr "Análisis de confiabilidad"
654
+
655
+ #: lib/statsample/reliability/scaleanalysis.rb:157
656
+ msgid "Summary for %s with all items"
657
+ msgstr "Sumario para %s con todos los ítems"
658
+
659
+ #: lib/statsample/reliability/scaleanalysis.rb:158
660
+ msgid "Items"
661
+ msgstr "Ítems"
662
+
663
+ #: lib/statsample/reliability/scaleanalysis.rb:159
664
+ #: lib/statsample/reliability/scaleanalysis.rb:176
665
+ msgid "Sum mean"
666
+ msgstr "Promedio de suma"
667
+
668
+ #: lib/statsample/reliability/scaleanalysis.rb:160
669
+ msgid "S.d. mean"
670
+ msgstr "Promedio de d.e."
671
+
672
+ #: lib/statsample/reliability/scaleanalysis.rb:162
673
+ msgid "Deleted items"
674
+ msgstr "Ítems eliminados"
675
+
676
+ #: lib/statsample/reliability/scaleanalysis.rb:172
677
+ msgid "Summary for %s"
678
+ msgstr "Sumario para %s"
679
+
680
+ #: lib/statsample/reliability/scaleanalysis.rb:173
681
+ msgid "Valid Items"
682
+ msgstr "Ítems Válidos"
683
+
684
+ #: lib/statsample/reliability/scaleanalysis.rb:175
685
+ msgid "Valid cases"
686
+ msgstr "casos válidos"
687
+
688
+ #: lib/statsample/reliability/scaleanalysis.rb:177
689
+ msgid "Sum sd"
690
+ msgstr "d.e. de suma"
691
+
692
+ #: lib/statsample/reliability/scaleanalysis.rb:179
693
+ msgid "Sum median"
694
+ msgstr "Mediana de suma"
695
+
696
+ #: lib/statsample/reliability/scaleanalysis.rb:181
697
+ msgid "Item mean"
698
+ msgstr "Promedio de los ítemes"
699
+
700
+ #: lib/statsample/reliability/scaleanalysis.rb:182
701
+ msgid "Item sd"
702
+ msgstr "DE de Items"
703
+
704
+ #: lib/statsample/reliability/scaleanalysis.rb:184
705
+ msgid "Skewness"
706
+ msgstr "Sesgo"
707
+
708
+ #: lib/statsample/reliability/scaleanalysis.rb:185
709
+ msgid "Kurtosis"
710
+ msgstr "Curtosis"
711
+
712
+ #: lib/statsample/reliability/scaleanalysis.rb:187
713
+ msgid "Cronbach's alpha"
714
+ msgstr "Alfa de Cronbach"
715
+
716
+ #: lib/statsample/reliability/scaleanalysis.rb:188
717
+ msgid "Standarized Cronbach's alpha"
718
+ msgstr "Alfa de Cronbach estandarizado"
719
+
720
+ #: lib/statsample/reliability/scaleanalysis.rb:189
721
+ msgid "Mean rpb"
722
+ msgstr "rbp medio"
723
+
724
+ #: lib/statsample/reliability/scaleanalysis.rb:191
725
+ msgid "Variances mean"
726
+ msgstr "Promedio de las varianzas"
727
+
728
+ #: lib/statsample/reliability/scaleanalysis.rb:192
729
+ msgid "Covariances mean"
730
+ msgstr "Promedio de las covarianzas"
731
+
732
+ #: lib/statsample/reliability/scaleanalysis.rb:196
733
+ msgid "Items for obtain alpha(0.8) : %d"
734
+ msgstr "Ítems para obtener alfa(0,8): %d"
735
+
736
+ #: lib/statsample/reliability/scaleanalysis.rb:197
737
+ msgid "Items for obtain alpha(0.9) : %d"
738
+ msgstr "Ítems para obtener alfa(0,9): %d"
739
+
740
+ #: lib/statsample/reliability/scaleanalysis.rb:205
741
+ msgid "Items report for %s"
742
+ msgstr "Reporte de ítems para %s"
743
+
744
+ #: lib/statsample/reliability/icc.rb:114
745
+ msgid "Shrout & Fleiss ICC(1,1)"
746
+ msgstr "Shrout & Fleiss ICC(1,1)"
747
+
748
+ #: lib/statsample/reliability/icc.rb:119
749
+ msgid "Shrout & Fleiss ICC(2,1)"
750
+ msgstr "Shrout & Fleiss ICC(2,1)"
751
+
752
+ #: lib/statsample/reliability/icc.rb:125
753
+ msgid "Shrout & Fleiss ICC(3,1)"
754
+ msgstr "Shrout & Fleiss ICC(3,1)"
755
+
756
+ #: lib/statsample/reliability/icc.rb:132
757
+ msgid "Shrout & Fleiss ICC(1,k)"
758
+ msgstr "Shrout & Fleiss ICC(1,k)"
759
+
760
+ #: lib/statsample/reliability/icc.rb:138
761
+ msgid "Shrout & Fleiss ICC(2,k)"
762
+ msgstr "Shrout & Fleiss ICC(2,k)"
763
+
764
+ #: lib/statsample/reliability/icc.rb:145
765
+ msgid "Shrout & Fleiss ICC(3,k)"
766
+ msgstr "Shrout & Fleiss ICC(3,k)"
767
+
768
+ #: lib/statsample/reliability/icc.rb:153
769
+ msgid "McGraw & Wong ICC(1)"
770
+ msgstr "McGraw & Wong ICC(1)"
771
+
772
+ #: lib/statsample/reliability/icc.rb:159
773
+ msgid "McGraw & Wong ICC(K)"
774
+ msgstr "McGraw & Wong ICC(K)"
775
+
776
+ #: lib/statsample/reliability/icc.rb:165
777
+ msgid "McGraw & Wong ICC(C,1)"
778
+ msgstr "McGraw & Wong ICC(C,1)"
779
+
780
+ #: lib/statsample/reliability/icc.rb:172
781
+ msgid "McGraw & Wong ICC(C,K)"
782
+ msgstr "McGraw & Wong ICC(C,K)"
783
+
784
+ #: lib/statsample/reliability/icc.rb:179
785
+ msgid "McGraw & Wong ICC(A,1)"
786
+ msgstr "McGraw & Wong ICC(A,1)"
787
+
788
+ #: lib/statsample/reliability/icc.rb:186
789
+ msgid "McGraw & Wong ICC(A,K)"
790
+ msgstr "McGraw & Wong ICC(A,K)"
791
+
792
+ #: lib/statsample/reliability/icc.rb:408
793
+ msgid "ICC: %0.4f"
794
+ msgstr "CIC: %0.3f"
795
+
796
+ #: lib/statsample/reliability/icc.rb:410
797
+ msgid "CI (%0.2f): [%0.4f - %0.4f]"
798
+ msgstr "IC (%0.2f): [%0.4f - %0.4f]"
799
+
800
+ #: lib/statsample/crosstab.rb:22
801
+ msgid "Crosstab %s - %s"
802
+ msgstr "Tabulación cruzada %s - %s"
803
+
804
+ #: lib/statsample/crosstab.rb:98
805
+ msgid "Rows: %s"
806
+ msgstr "Filas: %s"
807
+
808
+ #: lib/statsample/crosstab.rb:99
809
+ msgid "Columns: %s"
810
+ msgstr "Columnas: %s"
811
+
812
+ #: lib/statsample/crosstab.rb:101
813
+ msgid "Raw"
814
+ msgstr "En Bruto"
815
+
816
+ #: lib/statsample/crosstab.rb:146
817
+ msgid "% Row"
818
+ msgstr "% Fila"
819
+
820
+ #: lib/statsample/crosstab.rb:147
821
+ msgid "% Column"
822
+ msgstr "% Columna"
823
+
824
+ #: lib/statsample/crosstab.rb:148
825
+ msgid "% Total"
826
+ msgstr "% Total"
827
+
828
+ #: lib/statsample/dominanceanalysis.rb:121
829
+ msgid "Dominance Analysis: %s over %s"
830
+ msgstr "Análisis de dominancia: %s en %s"
831
+
832
+ #: lib/statsample/dominanceanalysis.rb:315
833
+ msgid "sign"
834
+ msgstr "signo"
835
+
836
+ #: lib/statsample/dominanceanalysis.rb:317
837
+ msgid "Dominance Analysis result"
838
+ msgstr "Resultados del análisis de dominancia"
839
+
840
+ #: lib/statsample/dominanceanalysis.rb:318
841
+ msgid "Model 0"
842
+ msgstr "Modelo 0"
843
+
844
+ #: lib/statsample/dominanceanalysis.rb:333
845
+ msgid "k=%d Average"
846
+ msgstr "k=%d Promedio"
847
+
848
+ #: lib/statsample/dominanceanalysis.rb:345
849
+ msgid "Overall averages"
850
+ msgstr "Promedios generales"
851
+
852
+ #: lib/statsample/dominanceanalysis.rb:354
853
+ msgid "Pairwise dominance"
854
+ msgstr "Dominancia en pares"
855
+
856
+ #: lib/statsample/dominanceanalysis.rb:354
857
+ msgid "Pairs"
858
+ msgstr "Pares"
859
+
860
+ #: lib/statsample/dominanceanalysis.rb:354
861
+ msgid "Conditional"
862
+ msgstr "Condicional"
863
+
864
+ #: lib/statsample/dominanceanalysis.rb:354
865
+ msgid "General"
866
+ msgstr "General"
867
+
868
+ #: lib/statsample/matrix.rb:181
869
+ msgid "X%d"
870
+ msgstr "X%d"
871
+
872
+ #: lib/statsample/matrix.rb:184
873
+ msgid "Y%d"
874
+ msgstr "Y%d"
875
+
876
+ #: lib/statsample/matrix.rb:196
877
+ msgid "Matrix %d"
878
+ msgstr "Matriz %d"
879
+
880
+ #: lib/statsample/matrix.rb:255
881
+ msgid "Covariate matrix %d"
882
+ msgstr "Matriz de Covarianza %d"
883
+
884
+ #: lib/statsample/matrix.rb:303
885
+ msgid "Correlation"
886
+ msgstr "Correlación"
887
+
888
+ #: lib/statsample/matrix.rb:303
889
+ msgid "Covariance"
890
+ msgstr "Covarianza"
891
+
892
+ #: lib/statsample/matrix.rb:303
893
+ msgid " Matrix"
894
+ msgstr "Matriz"
895
+
896
+ #: lib/statsample/vector.rb:177
897
+ msgid "%s(standarized)"
898
+ msgstr "%s(estandarizado)"
899
+
900
+ #: lib/statsample/vector.rb:189
901
+ msgid "%s(centered)"
902
+ msgstr "%s(centrado)"
903
+
904
+ #: lib/statsample/vector.rb:201
905
+ msgid "%s(percentil)"
906
+ msgstr "%s(percentil)"
907
+
908
+ #: lib/statsample/vector.rb:778
909
+ msgid "n :%d"
910
+ msgstr "n: %s"
911
+
912
+ #: lib/statsample/vector.rb:779
913
+ msgid "n valid:%d"
914
+ msgstr "n válido: %d"
915
+
916
+ #: lib/statsample/vector.rb:780
917
+ msgid "factors:%s"
918
+ msgstr "factores:%s"
919
+
920
+ #: lib/statsample/vector.rb:781
921
+ msgid "mode: %s"
922
+ msgstr "modo: %s"
923
+
924
+ #: lib/statsample/vector.rb:782
925
+ msgid "Distribution"
926
+ msgstr "Distribución"
927
+
928
+ #: lib/statsample/vector.rb:788
929
+ msgid "median: %s"
930
+ msgstr "Mediana: %s"
931
+
932
+ #: lib/statsample/vector.rb:790
933
+ msgid "mean: %0.4f"
934
+ msgstr "promedio: %0.3f"
935
+
936
+ #: lib/statsample/vector.rb:791
937
+ msgid "sd: %0.4f"
938
+ msgstr "d.e.: %0.3f"
939
+
940
+ #: lib/statsample/dataset.rb:161
941
+ msgid "Dataset %d"
942
+ msgstr "Dataset %d"
943
+
944
+ #: lib/statsample/dataset.rb:457
945
+ msgid "Sum from %s"
946
+ msgstr "Suma para %s"
947
+
948
+ #: lib/statsample/dataset.rb:510
949
+ msgid "Means from %s"
950
+ msgstr "Media desde %s"
951
+
952
+ #: lib/statsample/dataset.rb:734
953
+ msgid "%s(filtered)"
954
+ msgstr "%s(filtrado)"
955
+
956
+ #: lib/statsample/dataset.rb:956
957
+ msgid "Cases: %d"
958
+ msgstr "Casos: %s"
959
+