statsample 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gemtest +0 -0
- data/History.txt +14 -0
- data/Manifest.txt +4 -0
- data/README.txt +49 -13
- data/data/locale/es/LC_MESSAGES/statsample.mo +0 -0
- data/lib/statsample.rb +1 -23
- data/lib/statsample/analysis.rb +49 -28
- data/lib/statsample/analysis/suite.rb +18 -5
- data/lib/statsample/analysis/suitereportbuilder.rb +9 -3
- data/lib/statsample/anova.rb +2 -0
- data/lib/statsample/anova/contrast.rb +79 -0
- data/lib/statsample/anova/oneway.rb +39 -5
- data/lib/statsample/converter/csv.rb +2 -5
- data/lib/statsample/converters.rb +1 -0
- data/lib/statsample/dataset.rb +31 -1
- data/lib/statsample/graph/histogram.rb +1 -1
- data/lib/statsample/regression/multiple/baseengine.rb +5 -0
- data/lib/statsample/reliability/multiscaleanalysis.rb +3 -1
- data/lib/statsample/reliability/scaleanalysis.rb +3 -4
- data/lib/statsample/shorthand.rb +41 -1
- data/lib/statsample/test.rb +10 -0
- data/lib/statsample/test/kolmogorovsmirnov.rb +61 -0
- data/lib/statsample/test/t.rb +92 -9
- data/lib/statsample/vector.rb +143 -10
- data/po/es/statsample.mo +0 -0
- data/po/es/statsample.po +109 -110
- data/po/statsample.pot +108 -60
- data/test/helpers_tests.rb +1 -0
- data/test/test_analysis.rb +70 -11
- data/test/test_anova_contrast.rb +36 -0
- data/test/test_anovawithvectors.rb +8 -0
- data/test/test_dataset.rb +12 -0
- data/test/test_factor_pa.rb +1 -3
- data/test/test_test_kolmogorovsmirnov.rb +34 -0
- data/test/test_test_t.rb +16 -0
- data/test/test_vector.rb +40 -2
- metadata +44 -118
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/lib/statsample/vector.rb
CHANGED
@@ -520,6 +520,117 @@ module Statsample
|
|
520
520
|
}
|
521
521
|
end
|
522
522
|
|
523
|
+
# == Bootstrap
|
524
|
+
# Generate +nr+ resamples (with replacement) of size +s+
|
525
|
+
# from vector, computing each estimate from +estimators+
|
526
|
+
# over each resample.
|
527
|
+
# +estimators+ could be
|
528
|
+
# a) Hash with variable names as keys and lambdas as values
|
529
|
+
# a.bootstrap(:log_s2=>lambda {|v| Math.log(v.variance)},1000)
|
530
|
+
# b) Array with names of method to bootstrap
|
531
|
+
# a.bootstrap([:mean, :sd],1000)
|
532
|
+
# c) A single method to bootstrap
|
533
|
+
# a.jacknife(:mean, 1000)
|
534
|
+
# If s is nil, is set to vector size by default.
|
535
|
+
#
|
536
|
+
# Returns a dataset where each vector is an vector
|
537
|
+
# of length +nr+ containing the computed resample estimates.
|
538
|
+
def bootstrap(estimators, nr, s=nil)
|
539
|
+
s||=n
|
540
|
+
|
541
|
+
h_est, es, bss= prepare_bootstrap(estimators)
|
542
|
+
|
543
|
+
|
544
|
+
nr.times do |i|
|
545
|
+
bs=sample_with_replacement(s)
|
546
|
+
es.each do |estimator|
|
547
|
+
# Add bootstrap
|
548
|
+
bss[estimator].push(h_est[estimator].call(bs))
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
es.each do |est|
|
553
|
+
bss[est]=bss[est].to_scale
|
554
|
+
bss[est].type=:scale
|
555
|
+
end
|
556
|
+
bss.to_dataset
|
557
|
+
|
558
|
+
end
|
559
|
+
|
560
|
+
# == Jacknife
|
561
|
+
# Returns a dataset with jacknife delete-+k+ +estimators+
|
562
|
+
# +estimators+ could be:
|
563
|
+
# a) Hash with variable names as keys and lambdas as values
|
564
|
+
# a.jacknife(:log_s2=>lambda {|v| Math.log(v.variance)})
|
565
|
+
# b) Array with method names to jacknife
|
566
|
+
# a.jacknife([:mean, :sd])
|
567
|
+
# c) A single method to jacknife
|
568
|
+
# a.jacknife(:mean)
|
569
|
+
# +k+ represent the block size for block jacknife. By default
|
570
|
+
# is set to 1, for classic delete-one jacknife.
|
571
|
+
#
|
572
|
+
# Returns a dataset where each vector is an vector
|
573
|
+
# of length +cases+/+k+ containing the computed jacknife estimates.
|
574
|
+
#
|
575
|
+
# == Reference:
|
576
|
+
# * Sawyer, S. (2005). Resampling Data: Using a Statistical Jacknife.
|
577
|
+
def jacknife(estimators, k=1)
|
578
|
+
raise "n should be divisible by k:#{k}" unless n%k==0
|
579
|
+
|
580
|
+
nb=(n / k).to_i
|
581
|
+
|
582
|
+
|
583
|
+
h_est, es, ps= prepare_bootstrap(estimators)
|
584
|
+
|
585
|
+
est_n=es.inject({}) {|h,v|
|
586
|
+
h[v]=h_est[v].call(self)
|
587
|
+
h
|
588
|
+
}
|
589
|
+
|
590
|
+
|
591
|
+
nb.times do |i|
|
592
|
+
other=@data_with_nils.dup
|
593
|
+
other.slice!(i*k,k)
|
594
|
+
other=other.to_scale
|
595
|
+
es.each do |estimator|
|
596
|
+
# Add pseudovalue
|
597
|
+
ps[estimator].push( nb * est_n[estimator] - (nb-1) * h_est[estimator].call(other))
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
|
602
|
+
es.each do |est|
|
603
|
+
ps[est]=ps[est].to_scale
|
604
|
+
ps[est].type=:scale
|
605
|
+
end
|
606
|
+
ps.to_dataset
|
607
|
+
end
|
608
|
+
|
609
|
+
|
610
|
+
# For an array or hash of estimators methods, returns
|
611
|
+
# an array with three elements
|
612
|
+
# 1.- A hash with estimators names as keys and lambdas as values
|
613
|
+
# 2.- An array with estimators names
|
614
|
+
# 3.- A Hash with estimators names as keys and empty arrays as values
|
615
|
+
def prepare_bootstrap(estimators)
|
616
|
+
h_est=estimators
|
617
|
+
|
618
|
+
h_est=[h_est] unless h_est.is_a? Array or h_est.is_a? Hash
|
619
|
+
|
620
|
+
if h_est.is_a? Array
|
621
|
+
h_est=h_est.inject({}) {|h,est|
|
622
|
+
h[est]=lambda {|v| v.send(est)}
|
623
|
+
h
|
624
|
+
}
|
625
|
+
end
|
626
|
+
|
627
|
+
bss=h_est.keys.inject({}) {|h,v| h[v]=[];h}
|
628
|
+
|
629
|
+
[h_est,h_est.keys, bss]
|
630
|
+
|
631
|
+
end
|
632
|
+
private :prepare_bootstrap
|
633
|
+
|
523
634
|
# Returns an random sample of size n, with replacement,
|
524
635
|
# only with valid data.
|
525
636
|
#
|
@@ -596,7 +707,7 @@ module Statsample
|
|
596
707
|
end
|
597
708
|
|
598
709
|
def to_s
|
599
|
-
|
710
|
+
sprintf("Vector(type:%s, n:%d)[%s]",@type.to_s,@data.size, @data.collect{|d| d.nil? ? "nil":d}.join(","))
|
600
711
|
end
|
601
712
|
# Ugly name. Really, create a Vector for standard 'matrix' package.
|
602
713
|
# <tt>dir</tt> could be :horizontal or :vertical
|
@@ -666,18 +777,27 @@ module Statsample
|
|
666
777
|
b.section(:name=>name) do |s|
|
667
778
|
s.text _("n :%d") % n
|
668
779
|
s.text _("n valid:%d") % n_valid
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
780
|
+
if @type==:nominal
|
781
|
+
s.text _("factors:%s") % factors.join(",")
|
782
|
+
s.text _("mode: %s") % mode
|
783
|
+
|
784
|
+
s.table(:name=>_("Distribution")) do |t|
|
785
|
+
frequencies.sort.each do |k,v|
|
786
|
+
key=labels.has_key?(k) ? labels[k]:k
|
787
|
+
t.row [key, v , ("%0.2f%%" % (v.quo(n_valid)*100))]
|
788
|
+
end
|
675
789
|
end
|
676
790
|
end
|
677
|
-
|
791
|
+
|
792
|
+
s.text _("median: %s") % median.to_s if(@type==:ordinal or @type==:scale)
|
678
793
|
if(@type==:scale)
|
679
794
|
s.text _("mean: %0.4f") % mean
|
680
|
-
|
795
|
+
if sd
|
796
|
+
s.text _("std.dev.: %0.4f") % sd
|
797
|
+
s.text _("std.err.: %0.4f") % se
|
798
|
+
s.text _("skew: %0.4f") % skew
|
799
|
+
s.text _("kurtosis: %0.4f") % kurtosis
|
800
|
+
end
|
681
801
|
end
|
682
802
|
end
|
683
803
|
end
|
@@ -822,12 +942,18 @@ module Statsample
|
|
822
942
|
end
|
823
943
|
|
824
944
|
# Population average deviation (denominator N)
|
945
|
+
# author: Al Chou
|
946
|
+
|
825
947
|
def average_deviation_population( m = nil )
|
826
948
|
check_type :scale
|
827
949
|
m ||= mean
|
828
950
|
( @scale_data.inject( 0 ) { |a, x| ( x - m ).abs + a } ).quo( n_valid )
|
829
951
|
end
|
830
|
-
|
952
|
+
def median_absolute_deviation
|
953
|
+
med=median
|
954
|
+
recode {|x| (x-med).abs}.median
|
955
|
+
end
|
956
|
+
alias :mad :median_absolute_deviation
|
831
957
|
# Sample Variance (denominator n-1)
|
832
958
|
def variance_sample(m=nil)
|
833
959
|
check_type :scale
|
@@ -894,6 +1020,13 @@ module Statsample
|
|
894
1020
|
check_type :scale
|
895
1021
|
standard_deviation_sample.quo(mean)
|
896
1022
|
end
|
1023
|
+
# Standard error of the distribution mean
|
1024
|
+
# Calculated using sd/sqrt(n)
|
1025
|
+
def standard_error
|
1026
|
+
standard_deviation_sample.quo(Math.sqrt(valid_data.size))
|
1027
|
+
end
|
1028
|
+
alias :se :standard_error
|
1029
|
+
|
897
1030
|
alias_method :sdp, :standard_deviation_population
|
898
1031
|
alias_method :sds, :standard_deviation_sample
|
899
1032
|
alias_method :adp, :average_deviation_population
|
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 1.0.
|
4
|
-
"POT-Creation-Date: 2011-
|
5
|
-
"PO-Revision-Date: 2011-
|
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
6
|
"Last-Translator: Claudio Bustos <clbustos@gmail.com>\n"
|
7
7
|
"Language-Team: Desarrollador\n"
|
8
8
|
"MIME-Version: 1.0\n"
|
@@ -15,49 +15,81 @@ msgstr ""
|
|
15
15
|
msgid "F Test"
|
16
16
|
msgstr "Prueba F"
|
17
17
|
|
18
|
-
#: lib/statsample/test/t.rb:
|
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
|
19
51
|
msgid "Mean and standard deviation"
|
20
52
|
msgstr "Promedio y desviación estándar"
|
21
53
|
|
22
|
-
#: lib/statsample/test/t.rb:
|
54
|
+
#: lib/statsample/test/t.rb:292
|
23
55
|
#: lib/statsample/regression/simple.rb:109
|
24
56
|
#: lib/statsample/factor/pca.rb:216
|
25
57
|
#: lib/statsample/factor/principalaxis.rb:202
|
26
58
|
msgid "Variable"
|
27
59
|
msgstr "Variable"
|
28
60
|
|
29
|
-
#: lib/statsample/test/t.rb:
|
61
|
+
#: lib/statsample/test/t.rb:292
|
30
62
|
#: lib/statsample/dominanceanalysis/bootstrap.rb:208
|
31
63
|
msgid "mean"
|
32
64
|
msgstr "promedio"
|
33
65
|
|
34
|
-
#: lib/statsample/test/t.rb:
|
66
|
+
#: lib/statsample/test/t.rb:292
|
35
67
|
msgid "sd"
|
36
68
|
msgstr "de"
|
37
69
|
|
38
|
-
#: lib/statsample/test/t.rb:
|
70
|
+
#: lib/statsample/test/t.rb:292
|
39
71
|
#: lib/statsample/factor/parallelanalysis.rb:103
|
40
72
|
#: lib/statsample/factor/parallelanalysis.rb:111
|
41
73
|
msgid "n"
|
42
74
|
msgstr "n"
|
43
75
|
|
44
|
-
#: lib/statsample/test/t.rb:
|
76
|
+
#: lib/statsample/test/t.rb:296
|
45
77
|
msgid "Levene test for equality of variances"
|
46
78
|
msgstr "Test de Levene para igualdad de variancas"
|
47
79
|
|
48
|
-
#: lib/statsample/test/t.rb:
|
80
|
+
#: lib/statsample/test/t.rb:298
|
49
81
|
msgid "T statistics"
|
50
82
|
msgstr "Estadístico T"
|
51
83
|
|
52
|
-
#: lib/statsample/test/t.rb:
|
84
|
+
#: lib/statsample/test/t.rb:299
|
53
85
|
msgid "Equal variance"
|
54
86
|
msgstr "Varianza Igual"
|
55
87
|
|
56
|
-
#: lib/statsample/test/t.rb:
|
88
|
+
#: lib/statsample/test/t.rb:300
|
57
89
|
msgid "Non equal variance"
|
58
90
|
msgstr "Varianza Desigual"
|
59
91
|
|
60
|
-
#: lib/statsample/test/t.rb:
|
92
|
+
#: lib/statsample/test/t.rb:302
|
61
93
|
msgid "Effect size"
|
62
94
|
msgstr "Tamaño del efecto"
|
63
95
|
|
@@ -272,7 +304,7 @@ msgid "Anova Two-Way on %s"
|
|
272
304
|
msgstr "Anova de dos vías en %s"
|
273
305
|
|
274
306
|
#: lib/statsample/anova/twoway.rb:184
|
275
|
-
#: lib/statsample/anova/oneway.rb:
|
307
|
+
#: lib/statsample/anova/oneway.rb:127
|
276
308
|
msgid "Test of Homogeneity of variances (Levene)"
|
277
309
|
msgstr "Test de homogeneidad de varianza (Levene)"
|
278
310
|
|
@@ -289,22 +321,38 @@ msgstr "Varianza explicada"
|
|
289
321
|
msgid "Unexplained variance"
|
290
322
|
msgstr "Varianza sin explicar"
|
291
323
|
|
292
|
-
#: lib/statsample/anova/oneway.rb:
|
324
|
+
#: lib/statsample/anova/oneway.rb:97
|
293
325
|
msgid "Anova One-Way"
|
294
326
|
msgstr "Anova de una vía"
|
295
327
|
|
296
|
-
#: lib/statsample/anova/oneway.rb:
|
328
|
+
#: lib/statsample/anova/oneway.rb:98
|
297
329
|
msgid "Between Groups"
|
298
330
|
msgstr "Entre grupos"
|
299
331
|
|
300
|
-
#: lib/statsample/anova/oneway.rb:
|
332
|
+
#: lib/statsample/anova/oneway.rb:99
|
301
333
|
msgid "Within Groups"
|
302
334
|
msgstr "Dentro de grupos"
|
303
335
|
|
304
|
-
#: lib/statsample/anova/oneway.rb:
|
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
|
305
341
|
msgid "Descriptives"
|
306
342
|
msgstr "Descriptivos"
|
307
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
|
+
|
308
356
|
#: lib/statsample/graph/scatterplot.rb:72
|
309
357
|
msgid "Scatterplot (%s - %s)"
|
310
358
|
msgstr "Diagrama de dispersión (%s - %s)"
|
@@ -540,27 +588,27 @@ msgstr "Análisis de múltiples escalas"
|
|
540
588
|
msgid "Scale %s"
|
541
589
|
msgstr "Escala %s"
|
542
590
|
|
543
|
-
#: lib/statsample/reliability/multiscaleanalysis.rb:
|
591
|
+
#: lib/statsample/reliability/multiscaleanalysis.rb:145
|
544
592
|
msgid "Reliability analysis of scales"
|
545
593
|
msgstr "Análisis de confiabilidad de escalas"
|
546
594
|
|
547
|
-
#: lib/statsample/reliability/multiscaleanalysis.rb:
|
595
|
+
#: lib/statsample/reliability/multiscaleanalysis.rb:151
|
548
596
|
msgid "Correlation matrix for %s"
|
549
597
|
msgstr "Matriz de correlaciones para %s"
|
550
598
|
|
551
|
-
#: lib/statsample/reliability/multiscaleanalysis.rb:
|
599
|
+
#: lib/statsample/reliability/multiscaleanalysis.rb:156
|
552
600
|
msgid "PCA for %s"
|
553
601
|
msgstr "ACP para %s"
|
554
602
|
|
555
|
-
#: lib/statsample/reliability/multiscaleanalysis.rb:
|
603
|
+
#: lib/statsample/reliability/multiscaleanalysis.rb:161
|
556
604
|
msgid "Principal Axis for %s"
|
557
605
|
msgstr "Ejes principales para %s"
|
558
606
|
|
559
|
-
#: lib/statsample/reliability/multiscaleanalysis.rb:
|
607
|
+
#: lib/statsample/reliability/multiscaleanalysis.rb:167
|
560
608
|
msgid "Parallel Analysis for %s"
|
561
609
|
msgstr "Análisis Paralelo para %s"
|
562
610
|
|
563
|
-
#: lib/statsample/reliability/multiscaleanalysis.rb:
|
611
|
+
#: lib/statsample/reliability/multiscaleanalysis.rb:172
|
564
612
|
msgid "MAP for %s"
|
565
613
|
msgstr "MAP para %s"
|
566
614
|
|
@@ -600,96 +648,96 @@ msgstr "p: %0.3f"
|
|
600
648
|
msgid "No problematic items"
|
601
649
|
msgstr "Sin ítems problemáticos"
|
602
650
|
|
603
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
651
|
+
#: lib/statsample/reliability/scaleanalysis.rb:44
|
604
652
|
msgid "Reliability Analisis"
|
605
653
|
msgstr "Análisis de confiabilidad"
|
606
654
|
|
607
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
655
|
+
#: lib/statsample/reliability/scaleanalysis.rb:157
|
608
656
|
msgid "Summary for %s with all items"
|
609
657
|
msgstr "Sumario para %s con todos los ítems"
|
610
658
|
|
611
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
659
|
+
#: lib/statsample/reliability/scaleanalysis.rb:158
|
612
660
|
msgid "Items"
|
613
661
|
msgstr "Ítems"
|
614
662
|
|
615
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
616
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
663
|
+
#: lib/statsample/reliability/scaleanalysis.rb:159
|
664
|
+
#: lib/statsample/reliability/scaleanalysis.rb:176
|
617
665
|
msgid "Sum mean"
|
618
666
|
msgstr "Promedio de suma"
|
619
667
|
|
620
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
668
|
+
#: lib/statsample/reliability/scaleanalysis.rb:160
|
621
669
|
msgid "S.d. mean"
|
622
670
|
msgstr "Promedio de d.e."
|
623
671
|
|
624
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
672
|
+
#: lib/statsample/reliability/scaleanalysis.rb:162
|
625
673
|
msgid "Deleted items"
|
626
674
|
msgstr "Ítems eliminados"
|
627
675
|
|
628
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
676
|
+
#: lib/statsample/reliability/scaleanalysis.rb:172
|
629
677
|
msgid "Summary for %s"
|
630
678
|
msgstr "Sumario para %s"
|
631
679
|
|
632
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
680
|
+
#: lib/statsample/reliability/scaleanalysis.rb:173
|
633
681
|
msgid "Valid Items"
|
634
682
|
msgstr "Ítems Válidos"
|
635
683
|
|
636
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
684
|
+
#: lib/statsample/reliability/scaleanalysis.rb:175
|
637
685
|
msgid "Valid cases"
|
638
686
|
msgstr "casos válidos"
|
639
687
|
|
640
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
688
|
+
#: lib/statsample/reliability/scaleanalysis.rb:177
|
641
689
|
msgid "Sum sd"
|
642
690
|
msgstr "d.e. de suma"
|
643
691
|
|
644
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
692
|
+
#: lib/statsample/reliability/scaleanalysis.rb:179
|
645
693
|
msgid "Sum median"
|
646
694
|
msgstr "Mediana de suma"
|
647
695
|
|
648
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
696
|
+
#: lib/statsample/reliability/scaleanalysis.rb:181
|
649
697
|
msgid "Item mean"
|
650
698
|
msgstr "Promedio de los ítemes"
|
651
699
|
|
652
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
700
|
+
#: lib/statsample/reliability/scaleanalysis.rb:182
|
653
701
|
msgid "Item sd"
|
654
702
|
msgstr "DE de Items"
|
655
703
|
|
656
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
704
|
+
#: lib/statsample/reliability/scaleanalysis.rb:184
|
657
705
|
msgid "Skewness"
|
658
706
|
msgstr "Sesgo"
|
659
707
|
|
660
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
708
|
+
#: lib/statsample/reliability/scaleanalysis.rb:185
|
661
709
|
msgid "Kurtosis"
|
662
710
|
msgstr "Curtosis"
|
663
711
|
|
664
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
712
|
+
#: lib/statsample/reliability/scaleanalysis.rb:187
|
665
713
|
msgid "Cronbach's alpha"
|
666
714
|
msgstr "Alfa de Cronbach"
|
667
715
|
|
668
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
716
|
+
#: lib/statsample/reliability/scaleanalysis.rb:188
|
669
717
|
msgid "Standarized Cronbach's alpha"
|
670
718
|
msgstr "Alfa de Cronbach estandarizado"
|
671
719
|
|
672
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
720
|
+
#: lib/statsample/reliability/scaleanalysis.rb:189
|
673
721
|
msgid "Mean rpb"
|
674
722
|
msgstr "rbp medio"
|
675
723
|
|
676
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
724
|
+
#: lib/statsample/reliability/scaleanalysis.rb:191
|
677
725
|
msgid "Variances mean"
|
678
726
|
msgstr "Promedio de las varianzas"
|
679
727
|
|
680
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
728
|
+
#: lib/statsample/reliability/scaleanalysis.rb:192
|
681
729
|
msgid "Covariances mean"
|
682
730
|
msgstr "Promedio de las covarianzas"
|
683
731
|
|
684
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
732
|
+
#: lib/statsample/reliability/scaleanalysis.rb:196
|
685
733
|
msgid "Items for obtain alpha(0.8) : %d"
|
686
734
|
msgstr "Ítems para obtener alfa(0,8): %d"
|
687
735
|
|
688
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
736
|
+
#: lib/statsample/reliability/scaleanalysis.rb:197
|
689
737
|
msgid "Items for obtain alpha(0.9) : %d"
|
690
738
|
msgstr "Ítems para obtener alfa(0,9): %d"
|
691
739
|
|
692
|
-
#: lib/statsample/reliability/scaleanalysis.rb:
|
740
|
+
#: lib/statsample/reliability/scaleanalysis.rb:205
|
693
741
|
msgid "Items report for %s"
|
694
742
|
msgstr "Reporte de ítems para %s"
|
695
743
|
|
@@ -857,104 +905,55 @@ msgstr "%s(centrado)"
|
|
857
905
|
msgid "%s(percentil)"
|
858
906
|
msgstr "%s(percentil)"
|
859
907
|
|
860
|
-
#: lib/statsample/vector.rb:
|
908
|
+
#: lib/statsample/vector.rb:778
|
861
909
|
msgid "n :%d"
|
862
910
|
msgstr "n: %s"
|
863
911
|
|
864
|
-
#: lib/statsample/vector.rb:
|
912
|
+
#: lib/statsample/vector.rb:779
|
865
913
|
msgid "n valid:%d"
|
866
914
|
msgstr "n válido: %d"
|
867
915
|
|
868
|
-
#: lib/statsample/vector.rb:
|
916
|
+
#: lib/statsample/vector.rb:780
|
869
917
|
msgid "factors:%s"
|
870
918
|
msgstr "factores:%s"
|
871
919
|
|
872
|
-
#: lib/statsample/vector.rb:
|
920
|
+
#: lib/statsample/vector.rb:781
|
873
921
|
msgid "mode: %s"
|
874
922
|
msgstr "modo: %s"
|
875
923
|
|
876
|
-
#: lib/statsample/vector.rb:
|
924
|
+
#: lib/statsample/vector.rb:782
|
877
925
|
msgid "Distribution"
|
878
926
|
msgstr "Distribución"
|
879
927
|
|
880
|
-
#: lib/statsample/vector.rb:
|
928
|
+
#: lib/statsample/vector.rb:788
|
881
929
|
msgid "median: %s"
|
882
930
|
msgstr "Mediana: %s"
|
883
931
|
|
884
|
-
#: lib/statsample/vector.rb:
|
932
|
+
#: lib/statsample/vector.rb:790
|
885
933
|
msgid "mean: %0.4f"
|
886
934
|
msgstr "promedio: %0.3f"
|
887
935
|
|
888
|
-
#: lib/statsample/vector.rb:
|
936
|
+
#: lib/statsample/vector.rb:791
|
889
937
|
msgid "sd: %0.4f"
|
890
938
|
msgstr "d.e.: %0.3f"
|
891
939
|
|
892
|
-
#: lib/statsample/dataset.rb:
|
940
|
+
#: lib/statsample/dataset.rb:161
|
893
941
|
msgid "Dataset %d"
|
894
942
|
msgstr "Dataset %d"
|
895
943
|
|
896
|
-
#: lib/statsample/dataset.rb:
|
944
|
+
#: lib/statsample/dataset.rb:457
|
897
945
|
msgid "Sum from %s"
|
898
946
|
msgstr "Suma para %s"
|
899
947
|
|
900
|
-
#: lib/statsample/dataset.rb:
|
948
|
+
#: lib/statsample/dataset.rb:510
|
901
949
|
msgid "Means from %s"
|
902
950
|
msgstr "Media desde %s"
|
903
951
|
|
904
|
-
#: lib/statsample/dataset.rb:
|
952
|
+
#: lib/statsample/dataset.rb:734
|
905
953
|
msgid "%s(filtered)"
|
906
954
|
msgstr "%s(filtrado)"
|
907
955
|
|
908
|
-
#: lib/statsample/dataset.rb:
|
956
|
+
#: lib/statsample/dataset.rb:956
|
909
957
|
msgid "Cases: %d"
|
910
958
|
msgstr "Casos: %s"
|
911
959
|
|
912
|
-
#~ msgid "R=%0.3f"
|
913
|
-
#~ msgstr "R: %0.3f"
|
914
|
-
#~ msgid "Sum variance"
|
915
|
-
#~ msgstr "Varianza de suma"
|
916
|
-
#~ msgid "actual"
|
917
|
-
#~ msgstr "real"
|
918
|
-
#~ msgid "Polychoric correlation"
|
919
|
-
#~ msgstr "Correlación policórica"
|
920
|
-
#~ msgid "Minimizing using GSL Brent method\n"
|
921
|
-
#~ msgstr "Minimizando usando método GSL Brent\n"
|
922
|
-
#~ msgid "Two step minimization using %s method\n"
|
923
|
-
#~ msgstr "Minimización en dos etapas usando método %s\n"
|
924
|
-
#~ msgid "Contingence Table"
|
925
|
-
#~ msgstr "Tabla de Contingencia"
|
926
|
-
#~ msgid "Thresholds"
|
927
|
-
#~ msgstr "Umbrales"
|
928
|
-
|
929
|
-
#, fuzzy
|
930
|
-
#~ msgid "Threshold X %d"
|
931
|
-
#~ msgstr "Umbral X: %0.3f"
|
932
|
-
|
933
|
-
#, fuzzy
|
934
|
-
#~ msgid "Threshold Y %d"
|
935
|
-
#~ msgstr "Umbral Y:%0.3f"
|
936
|
-
#~ msgid "Test of bivariate normality: X2 = %0.3f, df = %d, p= %0.5f"
|
937
|
-
#~ msgstr "Prueba de normalidad bivariada: X2 = %0.3f, g.l. = %d, p= %0.5f"
|
938
|
-
#~ msgid "Threshold X: %0.3f "
|
939
|
-
#~ msgstr "Umbral X: %0.3f"
|
940
|
-
#~ msgid "Threshold Y: %0.3f "
|
941
|
-
#~ msgstr "Umbral Y:%0.3f"
|
942
|
-
#~ msgid "Factor Analysis: "
|
943
|
-
#~ msgstr "Análisis de Factores:"
|
944
|
-
#~ msgid "DAB: "
|
945
|
-
#~ msgstr "RAD:"
|
946
|
-
#~ msgid "Total mean"
|
947
|
-
#~ msgstr "Promedio total"
|
948
|
-
#~ msgid "Total sd"
|
949
|
-
#~ msgstr "d.e. total"
|
950
|
-
#~ msgid "Median"
|
951
|
-
#~ msgstr "Mediana"
|
952
|
-
#~ msgid "\"Anova Two-Way on #{@ds[dep_var].name}\""
|
953
|
-
#~ msgstr "\"Anova de dos vías en #{@ds[dep_var].name}\""
|
954
|
-
#~ msgid "Crosstab"
|
955
|
-
#~ msgstr "Tabulación cruzada"
|
956
|
-
#~ msgid "Crosstab: "
|
957
|
-
#~ msgstr "Tabulación cruzada:"
|
958
|
-
#~ msgid ")}"
|
959
|
-
#~ msgstr ")}"
|
960
|
-
|