projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a calculation of mode to FREQUENCIES
[pspp]
/
tests
/
command
/
weight.sh
diff --git
a/tests/command/weight.sh
b/tests/command/weight.sh
index 35bbaa7782ba26bb16a38ee05a661d6bce1cd424..6446c3448779c764682516268689067672614d1a 100755
(executable)
--- a/
tests/command/weight.sh
+++ b/
tests/command/weight.sh
@@
-1,6
+1,6
@@
#!/bin/sh
-# This program tests
....
+# This program tests
the WEIGHT command
TEMPDIR=/tmp/pspp-tst-$$
@@
-147,8
+147,8
@@
diff -B -b $TEMPDIR/pspp.list - <<EOF
Mean 31.515
S.E. Mean .405
-Median
.000
-Mode
.000
+Median
.
+Mode
21
.000
Std Dev 10.937
Variance 119.608
Kurtosis 2.411