X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Froc.at;h=3ac61d01f951f97e5791812a13ebd808c4515f4d;hb=e246f73b3dfceae79a23056fee0a18bb4a08bc33;hp=5725557c234c8371b3a2ac69238b913404b82228;hpb=5cab4cf3322f29c0ed7134d23740e07382914f20;p=pspp diff --git a/tests/language/stats/roc.at b/tests/language/stats/roc.at index 5725557c23..3ac61d01f9 100644 --- a/tests/language/stats/roc.at +++ b/tests/language/stats/roc.at @@ -1,22 +1,22 @@ dnl PSPP - a program for statistical analysis. dnl Copyright (C) 2017 Free Software Foundation, Inc. -dnl +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 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 dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . dnl AT_BANNER([ROC]) -AT_SETUP([ROC, free distribution]) +AT_SETUP([ROC free distribution]) AT_DATA([roc.sps], [dnl set format F10.3. data list notable list /x * y * w * a *. @@ -46,14 +46,14 @@ roc x by a (1) AT_CHECK([pspp -o pspp.csv roc.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Case Summary -,Valid N (listwise), -a,Unweighted,Weighted +a,Valid N (listwise), +,Unweighted,Weighted Positive,5,50.000 Negative,5,50.000 Table: Area Under the Curve -,Area,Std. Error,Asymptotic Sig.,Asymp. 99% Confidence Interval, -Variable under test,,,,Lower Bound,Upper Bound +Variable under test,Area,Std. Error,Asymptotic Sig.,Asymp. 99% Confidence Interval, +,,,,Lower Bound,Upper Bound x,.910,.030,.000,.839,.981 Table: Coordinates of the Curve @@ -67,7 +67,7 @@ x,.000,1.000,1.000 ]) AT_CLEANUP -AT_SETUP([ROC, negative exponential distribution]) +AT_SETUP([ROC negative exponential distribution]) AT_DATA([roc.sps], [dnl set format F10.3. data list notable list /x * y * w * a *. @@ -97,14 +97,14 @@ roc x y by a (1) AT_CHECK([pspp -o pspp.csv roc.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Case Summary -,Valid N (listwise), -a,Unweighted,Weighted +a,Valid N (listwise), +,Unweighted,Weighted Positive,5,50.000 Negative,5,50.000 Table: Area Under the Curve -,Area,Std. Error,Asymptotic Sig.,Asymp. 95% Confidence Interval, -Variable under test,,,,Lower Bound,Upper Bound +Variable under test,Area,Std. Error,Asymptotic Sig.,Asymp. 95% Confidence Interval, +,,,,Lower Bound,Upper Bound x,.910,.030,.000,.860,.960 y,.697,.052,.001,.611,.783 @@ -126,7 +126,7 @@ y,.000,1.000,1.000 ]) AT_CLEANUP -AT_SETUP([ROC, with anomaly]) +AT_SETUP([ROC with anomaly]) AT_DATA([roc.sps], [dnl set format F10.3. data list notable list /x * a * comment (a20). @@ -163,20 +163,20 @@ end data. roc x by a (1) /plot = none - print = se + print = se . ]) AT_CHECK([pspp -o pspp.csv -o pspp.txt roc.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Case Summary -,Valid N (listwise), -a,Unweighted,Weighted +a,Valid N (listwise), +,Unweighted,Weighted Positive,14,14.000 Negative,14,14.000 Table: Area Under the Curve -,Area,Std. Error,Asymptotic Sig.,Asymp. 95% Confidence Interval, -Variable under test,,,,Lower Bound,Upper Bound +Variable under test,Area,Std. Error,Asymptotic Sig.,Asymp. 95% Confidence Interval, +,,,,Lower Bound,Upper Bound x,.490,.111,.927,.307,.673 ]) AT_CLEANUP @@ -205,7 +205,7 @@ AT_SETUP([ROC crash on invalid syntax]) AT_DATA([roc.sps], [dnl data list notable list /x * y * a *. bggin data. -1 1 2 +1 1 2 1 2 28 end data.