X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Freliability.at;h=77cd27620d81bc903b318df61af5f09cc96dd0c3;hb=15e323443edce619168aede1421aa195e7f7ecc2;hp=9c5d41378e44427cc800539347e6183a9a184155;hpb=0df9cdd3df66caf4353128feff3008289cda8115;p=pspp diff --git a/tests/language/stats/reliability.at b/tests/language/stats/reliability.at index 9c5d41378e..77cd27620d 100644 --- a/tests/language/stats/reliability.at +++ b/tests/language/stats/reliability.at @@ -1,3 +1,19 @@ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 Free Software Foundation, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl AT_BANNER([RELIABILITY]) AT_SETUP([RELIABILITY]) @@ -173,27 +189,27 @@ RELIABILITY RELIABILITY /VARIABLES=var2 var6 var8 var15 var17 var19 - /SCALE('Totals') var6 var8 var15 var17 + /SCALE('Totals') var6 var8 var15 var17 /SUMMARY = total /STATISTICS = DESCRIPTIVES COVARIANCES . RELIABILITY - /VARIABLES=var6 var8 var15 var17 + /VARIABLES=var6 var8 var15 var17 . ]) -AT_CHECK([pspp -o pspp.csv reliability.sps], [0], +AT_CHECK([pspp -o pspp.csv -o pspp.txt reliability.sps], [0], [reliability.sps:174: warning: RELIABILITY: The STATISTICS subcommand is not yet implemented. No statistics will be produced. ]) AT_CHECK([cat pspp.csv], [0], [dnl Scale: Everything Table: Case Processing Summary -,,N,% -Cases,Valid,131,92.91 -,Excluded,10,7.09 -,Total,141,100.00 +Cases,N,Percent +Valid,131,92.9% +Excluded,10,7.1% +Total,141,100.0% Table: Reliability Statistics Cronbach's Alpha,N of Items @@ -202,10 +218,10 @@ Cronbach's Alpha,N of Items Scale: Nothing Table: Case Processing Summary -,,N,% -Cases,Valid,131,92.91 -,Excluded,10,7.09 -,Total,141,100.00 +Cases,N,Percent +Valid,131,92.9% +Excluded,10,7.1% +Total,141,100.0% Table: Reliability Statistics Cronbach's Alpha,Part 1,Value,.55 @@ -223,10 +239,10 @@ reliability.sps:174: warning: RELIABILITY: The STATISTICS subcommand is not yet Scale: Totals Table: Case Processing Summary -,,N,% -Cases,Valid,131,92.91 -,Excluded,10,7.09 -,Total,141,100.00 +Cases,N,Percent +Valid,131,92.9% +Excluded,10,7.1% +Total,141,100.0% Table: Reliability Statistics Cronbach's Alpha,N of Items @@ -242,10 +258,10 @@ var17,16.60,8.00,.57,.67 Scale: ANY Table: Case Processing Summary -,,N,% -Cases,Valid,131,92.91 -,Excluded,10,7.09 -,Total,141,100.00 +Cases,N,Percent +Valid,131,92.9% +Excluded,10,7.1% +Total,141,100.0% Table: Reliability Statistics Cronbach's Alpha,N of Items @@ -254,7 +270,7 @@ Cronbach's Alpha,N of Items AT_CLEANUP -dnl This was causing a AT. +dnl This was causing a AT. AT_SETUP([RELIABILITY bad syntax]) AT_DATA([bad-syntax.sps], [dnl data list notable list /x * y *. @@ -319,18 +335,18 @@ reliability variables = v1 v3 v4. ]) AT_CHECK([ln -s $top_srcdir/examples/hotel.sav .], [0]) -AT_CHECK([pspp -O format=csv tut-example.sps], [0], [dnl +AT_CHECK([pspp -o pspp.csv -o pspp.txt tut-example.sps]) +AT_CHECK([cat pspp.csv], [0], [dnl Scale: ANY Table: Case Processing Summary -,,N,% -Cases,Valid,17,100.00 -,Excluded,0,.00 -,Total,17,100.00 +Cases,N,Percent +Valid,17,100.0% +Excluded,0,.0% +Total,17,100.0% Table: Reliability Statistics Cronbach's Alpha,N of Items .81,3 ]) - AT_CLEANUP