From e0c52b5201841c5efb698b93b9fd596d12d7e249 Mon Sep 17 00:00:00 2001 From: Jason Stover Date: Tue, 11 Mar 2008 03:33:07 +0000 Subject: [PATCH] added test for SAVE subcommand --- tests/command/regression.sh | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/tests/command/regression.sh b/tests/command/regression.sh index ddb78e1a..8d30e076 100755 --- a/tests/command/regression.sh +++ b/tests/command/regression.sh @@ -71,7 +71,8 @@ begin data -0.06108490 8.838262 -29.25689 0.56154863 6.200189 -18.58219 end data -regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter. +regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=pred resid. +list. EOF if [ $? -ne 0 ] ; then no_result ; fi @@ -109,10 +110,22 @@ diff -b $TEMPDIR/pspp.list - << EOF # # B |Std. Error|Beta| t |Significance# #========#==========#=====#==========#====#======#============# # |(Constant)# 2.19| 2.36| .45| .93| .52# -# | v0 # 1.81| 1.05| .54| 1.72| .13# +# | v0 # 1.81| 1.05| .54| 1.72| .12# # | v1 #-3.43| .33| .00|-10.33| .00# # | # | | | | # #========#==========#=====#==========#====#======#============# + v0 v1 v2 RES1 PRED1 +-------- -------- -------- -------- -------- + .65 7.74 -23.98 -.84 -23.13 + -.13 6.14 -19.64 -.54 -19.10 + .35 7.65 -25.27 -1.87 -23.40 + .69 6.13 -16.57 .97 -17.54 + -.07 8.25 -25.80 .40 -26.20 + -.34 6.03 -17.57 1.53 -19.10 + .76 9.83 -28.36 1.77 -30.13 + -.47 5.34 -16.80 .18 -16.97 + -.06 8.84 -29.26 -1.05 -28.21 + .56 6.20 -18.58 -.54 -18.04 EOF if [ $? -ne 0 ] ; then fail ; fi -- 2.30.2