statsample 0.6.7 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -124,20 +124,20 @@ module Factor
124
124
  rp.add(self)
125
125
  rp.to_text
126
126
  end
127
- def to_reportbuilder(generator) # :nodoc:
128
- anchor=generator.add_toc_entry(_("PCA: ")+name)
129
- generator.add_html "<div class='pca'>"+_("PCA")+" #{@name}<a name='#{anchor}'></a>"
127
+ def report_building(generator) # :nodoc:
128
+ anchor=generator.toc_entry(_("PCA: ")+name)
129
+ generator.html "<div class='pca'>"+_("PCA")+" #{@name}<a name='#{anchor}'></a>"
130
130
 
131
- generator.add_text "Number of factors: #{m}"
131
+ generator.text "Number of factors: #{m}"
132
132
  t=ReportBuilder::Table.new(:name=>_("Communalities"), :header=>["Variable","Initial","Extraction"])
133
133
  communalities(m).each_with_index {|com,i|
134
- t.add_row([i, 1.0, sprintf("%0.3f", com)])
134
+ t.row([i, 1.0, sprintf("%0.3f", com)])
135
135
  }
136
136
  generator.parse_element(t)
137
137
 
138
138
  t=ReportBuilder::Table.new(:name=>_("Eigenvalues"), :header=>["Variable","Value"])
139
139
  eigenvalues.each_with_index {|eigenvalue,i|
140
- t.add_row([i, sprintf("%0.3f",eigenvalue)])
140
+ t.row([i, sprintf("%0.3f",eigenvalue)])
141
141
  }
142
142
  generator.parse_element(t)
143
143
 
@@ -145,11 +145,11 @@ module Factor
145
145
 
146
146
  i=0
147
147
  component_matrix(m).to_a.each do |row|
148
- t.add_row([i]+row.collect {|c| sprintf("%0.3f",c)})
148
+ t.row([i]+row.collect {|c| sprintf("%0.3f",c)})
149
149
  i+=1
150
150
  end
151
151
  generator.parse_element(t)
152
- generator.add_html("</div>")
152
+ generator.html("</div>")
153
153
  end
154
154
  private :calculate_eigenpairs, :create_centered_ds
155
155
  end
@@ -171,23 +171,23 @@ module Factor
171
171
  rp.add(self)
172
172
  rp.to_text
173
173
  end
174
- def to_reportbuilder(generator)
174
+ def report_building(generator)
175
175
  iterate if @clean
176
- anchor=generator.add_toc_entry(_("Factor Analysis: ")+name)
177
- generator.add_html "<div class='pca'>"+_("Factor Analysis")+" #{@name}<a name='#{anchor}'></a>"
176
+ anchor=generator.toc_entry(_("Factor Analysis: ")+name)
177
+ generator.html "<div class='pca'>"+_("Factor Analysis")+" #{@name}<a name='#{anchor}'></a>"
178
178
 
179
- generator.add_text "Number of factors: #{m}"
180
- generator.add_text "Iterations: #{@iterations}"
179
+ generator.text "Number of factors: #{m}"
180
+ generator.text "Iterations: #{@iterations}"
181
181
 
182
182
  t=ReportBuilder::Table.new(:name=>_("Communalities"), :header=>["Variable","Initial","Extraction"])
183
183
  communalities(m).each_with_index {|com,i|
184
- t.add_row([i, sprintf("%0.4f", initial_communalities[i]), sprintf("%0.3f", com)])
184
+ t.row([i, sprintf("%0.4f", initial_communalities[i]), sprintf("%0.3f", com)])
185
185
  }
186
186
  generator.parse_element(t)
187
187
 
188
188
  t=ReportBuilder::Table.new(:name=>_("Eigenvalues"), :header=>["Variable","Value"])
189
189
  @initial_eigenvalues.each_with_index {|eigenvalue,i|
190
- t.add_row([i, sprintf("%0.3f",eigenvalue)])
190
+ t.row([i, sprintf("%0.3f",eigenvalue)])
191
191
  }
192
192
  generator.parse_element(t)
193
193
 
@@ -195,11 +195,11 @@ module Factor
195
195
 
196
196
  i=0
197
197
  component_matrix(m).to_a.each do |row|
198
- t.add_row([i]+row.collect {|c| sprintf("%0.3f",c)})
198
+ t.row([i]+row.collect {|c| sprintf("%0.3f",c)})
199
199
  i+=1
200
200
  end
201
201
  generator.parse_element(t)
202
- generator.add_html("</div>")
202
+ generator.html("</div>")
203
203
  end
204
204
 
205
205
 
@@ -22,11 +22,16 @@ module Statsample
22
22
  :data => data1,
23
23
  :title => "Frequencies"
24
24
  )
25
-
26
- File.open(file,"w") {|f|
27
- f.puts(graph.burn)
28
- }
25
+ if file.respond_to? :write
26
+ file.write(graph.burn)
27
+ else
28
+ File.open(file.to_s,"wb") {|f|
29
+ f.puts(graph.burn)
30
+ }
31
+ end
32
+
29
33
  end
34
+
30
35
  def svggraph_histogram(bins, options={})
31
36
  check_type :scale
32
37
  options={:graph_title=>"Histogram", :show_graph_title=>true,:show_normal=>true, :mean=>self.mean, :sigma=>sdp }.merge! options
@@ -94,18 +99,18 @@ module SVG #:nodoc:
94
99
  class BarNoOp < Bar # :nodoc:
95
100
  def get_css; SVG::Graph.get_css_standard; end
96
101
  end
97
- class BarHorizontalNoOp < BarHorizontal
102
+ class BarHorizontalNoOp < BarHorizontal # :nodoc:
98
103
  def get_css; SVG::Graph.get_css_standard; end
99
104
  end
100
105
 
101
- class LineNoOp < Line
106
+ class LineNoOp < Line # :nodoc:
102
107
  def get_css; SVG::Graph.get_css_standard; end
103
108
 
104
109
  end
105
- class PlotNoOp < Plot
110
+ class PlotNoOp < Plot # :nodoc:
106
111
  def get_css; SVG::Graph.get_css_standard; end
107
112
  end
108
- class PieNoOp < Pie
113
+ class PieNoOp < Pie # :nodoc:
109
114
  def get_css; SVG::Graph.get_css_standard; end
110
115
 
111
116
  end
@@ -88,11 +88,11 @@ module Statsample
88
88
  raise "Range size should be bin+1" if range.size!=@bin.size+1
89
89
  @range=range
90
90
  end
91
- def to_reportbuilder_text(generator)
92
- anchor=generator.add_toc_entry(_("Histogram %s") % [@name])
91
+ def report_building_text(generator)
92
+ anchor=generator.toc_entry(_("Histogram %s") % [@name])
93
93
  range.each_with_index do |r,i|
94
94
  next if i==@bin.size
95
- generator.add_text(sprintf("%4.2f : %d", r, @bin[i]))
95
+ generator.text(sprintf("%4.2f : %d", r, @bin[i]))
96
96
  end
97
97
  end
98
98
  end
@@ -209,11 +209,11 @@ module Statsample
209
209
  matrix.type=type
210
210
  matrix
211
211
  end
212
- def to_reportbuilder(generator)
212
+ def report_building(generator)
213
213
  @name||= (type==:correlation ? "Correlation":"Covariance")+" Matrix"
214
214
  t=ReportBuilder::Table.new(:name=>@name, :header=>[""]+fields_y)
215
215
  row_size.times {|i|
216
- t.add_row([fields_x[i]]+@rows[i].collect {|i1| sprintf("%0.3f",i1).gsub("0.",".")})
216
+ t.row([fields_x[i]]+@rows[i].collect {|i1| sprintf("%0.3f",i1).gsub("0.",".")})
217
217
  }
218
218
  generator.parse_element(t)
219
219
  end
@@ -160,34 +160,34 @@ module Statsample
160
160
  rp.add(self)
161
161
  rp.to_text
162
162
  end
163
- def to_reportbuilder(generator)
164
- anchor=generator.add_toc_entry(_("Multiple Regression: ")+@name)
165
- generator.add_html "<div class='multiple-regression'>#{@name}<a name='#{anchor}'></a>"
163
+ def report_building(generator)
164
+ anchor=generator.toc_entry(_("Multiple Regression: ")+@name)
165
+ generator.html "<div class='multiple-regression'>#{@name}<a name='#{anchor}'></a>"
166
166
  c=coeffs
167
- generator.add_text(_("Engine: %s") % self.class)
168
- generator.add_text(_("Cases(listwise)=%d(%d)") % [@ds.cases, @ds_valid.cases])
169
- generator.add_text("R=#{sprintf('%0.3f',r)}")
170
- generator.add_text("R^2=#{sprintf('%0.3f',r2)}")
167
+ generator.text(_("Engine: %s") % self.class)
168
+ generator.text(_("Cases(listwise)=%d(%d)") % [@ds.cases, @ds_valid.cases])
169
+ generator.text("R=#{sprintf('%0.3f',r)}")
170
+ generator.text("R^2=#{sprintf('%0.3f',r2)}")
171
171
 
172
- generator.add_text(_("Equation")+"="+ sprintf('%0.3f',constant) +" + "+ @fields.collect {|k| sprintf('%0.3f%s',c[k],k)}.join(' + ') )
172
+ generator.text(_("Equation")+"="+ sprintf('%0.3f',constant) +" + "+ @fields.collect {|k| sprintf('%0.3f%s',c[k],k)}.join(' + ') )
173
173
 
174
174
  t=ReportBuilder::Table.new(:name=>"ANOVA", :header=>%w{source ss df ms f s})
175
- t.add_row([_("Regression"), sprintf("%0.3f",ssr), df_r, sprintf("%0.3f",msr), sprintf("%0.3f",f), sprintf("%0.3f", significance)])
176
- t.add_row([_("Error"), sprintf("%0.3f",sse), df_e, sprintf("%0.3f",mse)])
175
+ t.row([_("Regression"), sprintf("%0.3f",ssr), df_r, sprintf("%0.3f",msr), sprintf("%0.3f",f), sprintf("%0.3f", significance)])
176
+ t.row([_("Error"), sprintf("%0.3f",sse), df_e, sprintf("%0.3f",mse)])
177
177
 
178
- t.add_row([_("Total"), sprintf("%0.3f",sst), df_r+df_e])
178
+ t.row([_("Total"), sprintf("%0.3f",sst), df_r+df_e])
179
179
  generator.parse_element(t)
180
180
  sc=standarized_coeffs
181
181
  cse=coeffs_se
182
182
  t=ReportBuilder::Table.new(:name=>"Beta coefficients", :header=>%w{coeff b beta se t}.collect{|field| _(field)} )
183
183
 
184
- t.add_row([_("Constant"), sprintf("%0.3f", constant), "-", sprintf("%0.3f", constant_se), sprintf("%0.3f", constant_t)])
184
+ t.row([_("Constant"), sprintf("%0.3f", constant), "-", sprintf("%0.3f", constant_se), sprintf("%0.3f", constant_t)])
185
185
 
186
186
  @fields.each do |f|
187
- t.add_row([f, sprintf("%0.3f", c[f]), sprintf("%0.3f", sc[f]), sprintf("%0.3f", cse[f]), sprintf("%0.3f", c[f].quo(cse[f]))])
187
+ t.row([f, sprintf("%0.3f", c[f]), sprintf("%0.3f", sc[f]), sprintf("%0.3f", cse[f]), sprintf("%0.3f", c[f].quo(cse[f]))])
188
188
  end
189
189
  generator.parse_element(t)
190
- generator.add_html("</div>")
190
+ generator.html("</div>")
191
191
  end
192
192
 
193
193
 
@@ -194,38 +194,38 @@ class MatrixEngine < BaseEngine
194
194
  matrix.collect {|i| Math::sqrt(i) if i>0 }[0,0]
195
195
  end
196
196
 
197
- def to_reportbuilder(generator) # :nodoc:
198
- anchor=generator.add_toc_entry(_("Multiple Regression: ")+@name)
199
- generator.add_html "<div class='multiple-regression'>#{@name}<a name='#{anchor}'></a>"
197
+ def report_building(generator) # :nodoc:
198
+ anchor=generator.toc_entry(_("Multiple Regression: ")+@name)
199
+ generator.html "<div class='multiple-regression'>#{@name}<a name='#{anchor}'></a>"
200
200
  c=coeffs
201
- generator.add_text(_("Engine: %s") % self.class)
202
- generator.add_text(_("Cases=%d") % [@cases])
203
- generator.add_text("R=#{sprintf('%0.3f',r)}")
204
- generator.add_text("R^2=#{sprintf('%0.3f',r2)}")
201
+ generator.text(_("Engine: %s") % self.class)
202
+ generator.text(_("Cases=%d") % [@cases])
203
+ generator.text("R=#{sprintf('%0.3f',r)}")
204
+ generator.text("R^2=#{sprintf('%0.3f',r2)}")
205
205
 
206
- generator.add_text(_("Equation")+"="+ sprintf('%0.3f',constant) +" + "+ @fields.collect {|k| sprintf('%0.3f%s',c[k],k)}.join(' + ') )
206
+ generator.text(_("Equation")+"="+ sprintf('%0.3f',constant) +" + "+ @fields.collect {|k| sprintf('%0.3f%s',c[k],k)}.join(' + ') )
207
207
 
208
208
  t=ReportBuilder::Table.new(:name=>"ANOVA", :header=>%w{source ss df ms f s})
209
- t.add_row([_("Regression"), sprintf("%0.3f",ssr), df_r, sprintf("%0.3f",msr), sprintf("%0.3f",f), sprintf("%0.3f", significance)])
210
- t.add_row([_("Error"), sprintf("%0.3f",sse), df_e, sprintf("%0.3f",mse)])
209
+ t.row([_("Regression"), sprintf("%0.3f",ssr), df_r, sprintf("%0.3f",msr), sprintf("%0.3f",f), sprintf("%0.3f", significance)])
210
+ t.row([_("Error"), sprintf("%0.3f",sse), df_e, sprintf("%0.3f",mse)])
211
211
 
212
- t.add_row([_("Total"), sprintf("%0.3f",sst), df_r+df_e])
212
+ t.row([_("Total"), sprintf("%0.3f",sst), df_r+df_e])
213
213
  generator.parse_element(t)
214
214
  sc=standarized_coeffs
215
215
  cse=coeffs_se
216
216
  t=ReportBuilder::Table.new(:name=>"Beta coefficients", :header=>%w{coeff b beta se t}.collect{|field| _(field)} )
217
217
 
218
218
  if (constant_se.nil?)
219
- t.add_row([_("Constant"), sprintf("%0.3f", constant),"--","?","?"])
219
+ t.row([_("Constant"), sprintf("%0.3f", constant),"--","?","?"])
220
220
  else
221
- t.add_row([_("Constant"), sprintf("%0.3f", constant), "-", sprintf("%0.3f", constant_se), sprintf("%0.3f", constant_t)])
221
+ t.row([_("Constant"), sprintf("%0.3f", constant), "-", sprintf("%0.3f", constant_se), sprintf("%0.3f", constant_t)])
222
222
  end
223
223
 
224
224
  @fields.each do |f|
225
- t.add_row([f, sprintf("%0.3f", c[f]), sprintf("%0.3f", sc[f]), sprintf("%0.3f", cse[f]), sprintf("%0.3f", c[f].quo(cse[f]))])
225
+ t.row([f, sprintf("%0.3f", c[f]), sprintf("%0.3f", sc[f]), sprintf("%0.3f", cse[f]), sprintf("%0.3f", c[f].quo(cse[f]))])
226
226
  end
227
227
  generator.parse_element(t)
228
- generator.add_html("</div>")
228
+ generator.html("</div>")
229
229
  end
230
230
 
231
231
 
@@ -39,8 +39,8 @@ module Statsample
39
39
  @w
40
40
  end
41
41
 
42
- def to_reportbuilder(generator) # :nodoc:
43
- generator.add_text(summary)
42
+ def report_building(generator) # :nodoc:
43
+ generator.text(summary)
44
44
 
45
45
  end
46
46
  # Summary of results
@@ -147,8 +147,8 @@ Z: #{sprintf("%0.3f",z)} (p: #{sprintf("%0.3f",z_probability)})
147
147
  end
148
148
  out
149
149
  end
150
- def to_reportbuilder(generator) # :nodoc:
151
- generator.add_text(summary)
150
+ def report_building(generator) # :nodoc:
151
+ generator.text(summary)
152
152
  end
153
153
  # Exact probability of finding values of U lower or equal to sample on U distribution. Use with caution with m*n>100000.
154
154
  # Uses u_sampling_distribution_as62
@@ -92,12 +92,7 @@ module Statsample
92
92
  raise NoMethodError if (t==:scale and @type!=:scale) or (t==:ordinal and @type==:nominal) or (t==:date)
93
93
  end
94
94
  private :check_type
95
-
96
- # Return a vector usign the standarized values for data
97
- # with sd with denominator N
98
- def vector_standarized_pop
99
- vector_standarized(true)
100
- end
95
+
101
96
  # Return a vector usign the standarized values for data
102
97
  # with sd with denominator n-1
103
98
 
data/po/es/statsample.mo CHANGED
Binary file
data/po/es/statsample.po CHANGED
@@ -1,8 +1,8 @@
1
1
  msgid ""
2
2
  msgstr ""
3
- "Project-Id-Version: statsample 0.6.2\n"
4
- "POT-Creation-Date: 2010-02-11 18:44-0300\n"
5
- "PO-Revision-Date: 2010-02-11 18:48-0300\n"
3
+ "Project-Id-Version: statsample 0.6.8\n"
4
+ "POT-Creation-Date: 2010-03-25 17:55-0300\n"
5
+ "PO-Revision-Date: 2010-03-25 17:56-0300\n"
6
6
  "Last-Translator: Claudio Bustos <clbustos@gmail.com>\n"
7
7
  "Language-Team: Desarrollador\n"
8
8
  "MIME-Version: 1.0\n"
@@ -11,137 +11,157 @@ msgstr ""
11
11
  "X-Poedit-Language: Spanish\n"
12
12
  "X-Poedit-SourceCharset: utf-8\n"
13
13
 
14
- #: lib/statsample/regression/multiple/baseengine.rb:14
14
+ #: lib/statsample/regression/multiple/baseengine.rb:23
15
15
  msgid "Multiple Regression: %s over %s"
16
16
  msgstr "Regresión Múltiple: %s sobre %s"
17
17
 
18
- #: lib/statsample/regression/multiple/baseengine.rb:150
18
+ #: lib/statsample/regression/multiple/baseengine.rb:164
19
+ #: lib/statsample/regression/multiple/matrixengine.rb:198
19
20
  msgid "Multiple Regression: "
20
21
  msgstr "Regresión Múltiple:"
21
22
 
22
- #: lib/statsample/regression/multiple/baseengine.rb:153
23
+ #: lib/statsample/regression/multiple/baseengine.rb:167
24
+ #: lib/statsample/regression/multiple/matrixengine.rb:201
23
25
  msgid "Engine: %s"
24
26
  msgstr "Motor: %s"
25
27
 
26
- #: lib/statsample/regression/multiple/baseengine.rb:154
28
+ #: lib/statsample/regression/multiple/baseengine.rb:168
27
29
  msgid "Cases(listwise)=%d(%d)"
28
30
  msgstr "Casos (sólo válidos)=%d(%d)"
29
31
 
30
- #: lib/statsample/regression/multiple/baseengine.rb:158
32
+ #: lib/statsample/regression/multiple/baseengine.rb:172
33
+ #: lib/statsample/regression/multiple/matrixengine.rb:206
31
34
  msgid "Equation"
32
35
  msgstr "Ecuación"
33
36
 
34
- #: lib/statsample/regression/multiple/baseengine.rb:161
37
+ #: lib/statsample/regression/multiple/baseengine.rb:175
38
+ #: lib/statsample/regression/multiple/matrixengine.rb:209
35
39
  msgid "Regression"
36
40
  msgstr "Regresión"
37
41
 
38
- #: lib/statsample/regression/multiple/baseengine.rb:162
42
+ #: lib/statsample/regression/multiple/baseengine.rb:176
43
+ #: lib/statsample/regression/multiple/matrixengine.rb:210
39
44
  msgid "Error"
40
45
  msgstr "Error"
41
46
 
42
- #: lib/statsample/regression/multiple/baseengine.rb:164
47
+ #: lib/statsample/regression/multiple/baseengine.rb:178
48
+ #: lib/statsample/regression/multiple/matrixengine.rb:212
43
49
  #: lib/statsample/crosstab.rb:108
44
50
  #: lib/statsample/crosstab.rb:123
45
51
  #: lib/statsample/crosstab.rb:159
46
52
  #: lib/statsample/crosstab.rb:181
47
- #: lib/statsample/dominanceanalysis.rb:281
53
+ #: lib/statsample/dominanceanalysis.rb:361
48
54
  msgid "Total"
49
55
  msgstr "Total"
50
56
 
51
- #: lib/statsample/regression/multiple/baseengine.rb:170
57
+ #: lib/statsample/regression/multiple/baseengine.rb:184
58
+ #: lib/statsample/regression/multiple/matrixengine.rb:219
59
+ #: lib/statsample/regression/multiple/matrixengine.rb:221
52
60
  msgid "Constant"
53
61
  msgstr "Constante"
54
62
 
55
- #: lib/statsample/dominanceanalysis/bootstrap.rb:42
63
+ #: lib/statsample/regression/multiple/matrixengine.rb:75
64
+ msgid "Multiple reggresion of %s on %s"
65
+ msgstr "Regresión Múltiple de %s en %s"
66
+
67
+ #: lib/statsample/regression/multiple/matrixengine.rb:202
68
+ msgid "Cases=%d"
69
+ msgstr "Casos=%d"
70
+
71
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:117
56
72
  msgid "Bootstrap dominance Analysis: %s over %s"
57
73
  msgstr "Resultados del Análisis de Dominancia Bootstrap: %s en %s"
58
74
 
59
- #: lib/statsample/dominanceanalysis/bootstrap.rb:65
75
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:140
60
76
  msgid "Bootstrap %d of %d"
61
77
  msgstr "Bootstrap: %d de %d"
62
78
 
63
- #: lib/statsample/dominanceanalysis/bootstrap.rb:106
79
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:183
64
80
  msgid "DAB: "
65
- msgstr ""
81
+ msgstr "RAD:"
66
82
 
67
- #: lib/statsample/dominanceanalysis/bootstrap.rb:109
83
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:186
68
84
  msgid "Sample size: %d\n"
69
85
  msgstr "Tamaño de muestra: %d\n"
70
86
 
71
- #: lib/statsample/dominanceanalysis/bootstrap.rb:111
87
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:188
72
88
  msgid "Linear Regression Engine: %s"
73
89
  msgstr "Motor de Regresión Linear: %s"
74
90
 
75
- #: lib/statsample/dominanceanalysis/bootstrap.rb:113
91
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:190
76
92
  msgid "pairs"
77
93
  msgstr "pares"
78
94
 
79
- #: lib/statsample/dominanceanalysis/bootstrap.rb:113
95
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:190
80
96
  msgid "SE(Dij)"
81
97
  msgstr "EE(Dij)"
82
98
 
83
- #: lib/statsample/dominanceanalysis/bootstrap.rb:113
99
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:190
84
100
  msgid "Reproducibility"
85
101
  msgstr "Reproducibilidad"
86
102
 
87
- #: lib/statsample/dominanceanalysis/bootstrap.rb:114
103
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:191
88
104
  msgid "Complete dominance"
89
105
  msgstr "Dominancia Completa"
90
106
 
91
- #: lib/statsample/dominanceanalysis/bootstrap.rb:122
107
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:199
92
108
  msgid "Conditional dominance"
93
109
  msgstr "Dominancia Condicional"
94
110
 
95
- #: lib/statsample/dominanceanalysis/bootstrap.rb:131
111
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:208
96
112
  msgid "General Dominance"
97
113
  msgstr "Dominancia General"
98
114
 
99
- #: lib/statsample/dominanceanalysis/bootstrap.rb:140
115
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:217
100
116
  msgid "General averages"
101
117
  msgstr "Promedios generales"
102
118
 
103
- #: lib/statsample/dominanceanalysis/bootstrap.rb:140
119
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:217
104
120
  msgid "var"
105
121
  msgstr "var"
106
122
 
107
- #: lib/statsample/dominanceanalysis/bootstrap.rb:140
123
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:217
108
124
  msgid "mean"
109
125
  msgstr "promedio"
110
126
 
111
- #: lib/statsample/dominanceanalysis/bootstrap.rb:140
127
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:217
112
128
  msgid "se"
113
129
  msgstr "de"
114
130
 
115
- #: lib/statsample/dominanceanalysis/bootstrap.rb:140
131
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:217
116
132
  msgid "p.5"
117
133
  msgstr "p.5"
118
134
 
119
- #: lib/statsample/dominanceanalysis/bootstrap.rb:140
135
+ #: lib/statsample/dominanceanalysis/bootstrap.rb:217
120
136
  msgid "p.95"
121
137
  msgstr "p.95"
122
138
 
123
- #: lib/statsample/bivariate/polychoric.rb:560
124
- #: lib/statsample/bivariate/tetrachoric.rb:118
139
+ #: lib/statsample/bivariate/polychoric.rb:750
140
+ #: lib/statsample/bivariate/tetrachoric.rb:124
125
141
  msgid "Contingence Table"
126
142
  msgstr "Tabla de Contingencia"
127
143
 
128
- #: lib/statsample/bivariate/polychoric.rb:569
144
+ #: lib/statsample/bivariate/polychoric.rb:759
129
145
  msgid "Thresholds"
130
146
  msgstr "Umbrales"
131
147
 
132
- #: lib/statsample/bivariate/tetrachoric.rb:126
148
+ #: lib/statsample/bivariate/polychoric.rb:767
149
+ msgid "Test of bivariate normality: X2 = %0.3f, df = %d, p= %0.5f"
150
+ msgstr "Prueba de normalidad bivariada: X2 = %0.3f, g.l. = %d, p= %0.5f"
151
+
152
+ #: lib/statsample/bivariate/tetrachoric.rb:132
133
153
  msgid "SE: %0.3f"
134
154
  msgstr "EE: %0.3f"
135
155
 
136
- #: lib/statsample/bivariate/tetrachoric.rb:127
156
+ #: lib/statsample/bivariate/tetrachoric.rb:133
137
157
  msgid "Threshold X: %0.3f "
138
158
  msgstr "Umbral X: %0.3f"
139
159
 
140
- #: lib/statsample/bivariate/tetrachoric.rb:128
160
+ #: lib/statsample/bivariate/tetrachoric.rb:134
141
161
  msgid "Threshold Y: %0.3f "
142
162
  msgstr "Umbral Y:%0.3f"
143
163
 
144
- #: lib/statsample/bivariate/tetrachoric.rb:134
164
+ #: lib/statsample/bivariate/tetrachoric.rb:141
145
165
  msgid "Tetrachoric correlation"
146
166
  msgstr "Correlación tetracórica"
147
167
 
@@ -149,34 +169,34 @@ msgstr "Correlación tetracórica"
149
169
  msgid "Histogram %s"
150
170
  msgstr "Histograma: %s"
151
171
 
152
- #: lib/statsample/factor/pca.rb:99
172
+ #: lib/statsample/factor/pca.rb:128
153
173
  msgid "PCA: "
154
174
  msgstr "ACP:"
155
175
 
156
- #: lib/statsample/factor/pca.rb:100
176
+ #: lib/statsample/factor/pca.rb:129
157
177
  msgid "PCA"
158
178
  msgstr "ACP"
159
179
 
160
- #: lib/statsample/factor/pca.rb:103
161
- #: lib/statsample/factor/principalaxis.rb:106
180
+ #: lib/statsample/factor/pca.rb:132
181
+ #: lib/statsample/factor/principalaxis.rb:182
162
182
  msgid "Communalities"
163
183
  msgstr "Comunalidades"
164
184
 
165
- #: lib/statsample/factor/pca.rb:109
166
- #: lib/statsample/factor/principalaxis.rb:112
185
+ #: lib/statsample/factor/pca.rb:138
186
+ #: lib/statsample/factor/principalaxis.rb:188
167
187
  msgid "Eigenvalues"
168
188
  msgstr "Eigenvalues"
169
189
 
170
- #: lib/statsample/factor/pca.rb:115
171
- #: lib/statsample/factor/principalaxis.rb:118
190
+ #: lib/statsample/factor/pca.rb:144
191
+ #: lib/statsample/factor/principalaxis.rb:194
172
192
  msgid "Component Matrix"
173
193
  msgstr "Matriz de componentes"
174
194
 
175
- #: lib/statsample/factor/principalaxis.rb:97
195
+ #: lib/statsample/factor/principalaxis.rb:176
176
196
  msgid "Factor Analysis: "
177
197
  msgstr "Análisis de Factores:"
178
198
 
179
- #: lib/statsample/factor/principalaxis.rb:98
199
+ #: lib/statsample/factor/principalaxis.rb:177
180
200
  msgid "Factor Analysis"
181
201
  msgstr "Análisis de Factores"
182
202
 
@@ -217,53 +237,53 @@ msgstr "% Columna"
217
237
  msgid "% Total"
218
238
  msgstr "% Total"
219
239
 
220
- #: lib/statsample/dominanceanalysis.rb:79
240
+ #: lib/statsample/dominanceanalysis.rb:123
221
241
  msgid "Dominance Analysis: %s over %s"
222
242
  msgstr "Análisis de dominancia: %s en %s"
223
243
 
224
- #: lib/statsample/dominanceanalysis.rb:241
244
+ #: lib/statsample/dominanceanalysis.rb:319
225
245
  msgid "DA: "
226
246
  msgstr "AD:"
227
247
 
228
- #: lib/statsample/dominanceanalysis.rb:243
229
- msgid "Dominance Analysis result"
230
- msgstr "Resultados del análisis de dominancia"
231
-
232
- #: lib/statsample/dominanceanalysis.rb:244
248
+ #: lib/statsample/dominanceanalysis.rb:322
233
249
  msgid "sign"
234
250
  msgstr "signo"
235
251
 
236
- #: lib/statsample/dominanceanalysis.rb:245
252
+ #: lib/statsample/dominanceanalysis.rb:323
253
+ msgid "Dominance Analysis result"
254
+ msgstr "Resultados del análisis de dominancia"
255
+
256
+ #: lib/statsample/dominanceanalysis.rb:325
237
257
  msgid "Model 0"
238
258
  msgstr "Modelo 0"
239
259
 
240
- #: lib/statsample/dominanceanalysis.rb:259
260
+ #: lib/statsample/dominanceanalysis.rb:340
241
261
  msgid "k=%d Average"
242
262
  msgstr "k=%d Promedio"
243
263
 
244
- #: lib/statsample/dominanceanalysis.rb:272
264
+ #: lib/statsample/dominanceanalysis.rb:352
245
265
  msgid "Overall averages"
246
266
  msgstr "Promedios generales"
247
267
 
248
- #: lib/statsample/dominanceanalysis.rb:281
268
+ #: lib/statsample/dominanceanalysis.rb:361
249
269
  msgid "Pairwise dominance"
250
270
  msgstr "Dominancia en pares"
251
271
 
252
- #: lib/statsample/dominanceanalysis.rb:281
272
+ #: lib/statsample/dominanceanalysis.rb:361
253
273
  msgid "Pairs"
254
274
  msgstr "Pares"
255
275
 
256
- #: lib/statsample/dominanceanalysis.rb:281
276
+ #: lib/statsample/dominanceanalysis.rb:361
257
277
  msgid "Conditional"
258
278
  msgstr "Condicional"
259
279
 
260
- #: lib/statsample/dominanceanalysis.rb:281
280
+ #: lib/statsample/dominanceanalysis.rb:361
261
281
  msgid "General"
262
282
  msgstr "General"
263
283
 
264
- #: lib/statsample/converters.rb:317
284
+ #: lib/statsample/converters.rb:321
265
285
  msgid ")}"
266
- msgstr ""
286
+ msgstr ")}"
267
287
 
268
288
  #~ msgid "Pairwise"
269
289
  #~ msgstr "De a pares"