3 AT_SETUP([ROC, free distribution])
4 AT_DATA([roc.sps], [dnl
6 data list notable list /x * y * w * a *.
26 /print = se coordinates
27 /criteria = testpos(large) distribution(free) ci(99)
30 AT_CHECK([pspp -o pspp.csv roc.sps])
31 AT_CHECK([cat pspp.csv], [0], [dnl
38 Table: Area Under the Curve (x)
39 ,,,Asymp. 99% Confidence Interval,
40 Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound
41 .910,.030,.000,.839,.981
43 Table: Coordinates of the Curve (x)
44 Positive if greater than or equal to,Sensitivity,1 - Specificity
54 AT_SETUP([ROC, negative exponential distribution])
55 AT_DATA([roc.sps], [dnl
57 data list notable list /x * y * w * a *.
76 /plot = curve(reference)
77 /print = se coordinates
78 /criteria = testpos(large) distribution(negexpo) ci(95)
81 AT_CHECK([pspp -o pspp.csv roc.sps])
82 AT_CHECK([cat pspp.csv], [0], [dnl
89 Table: Area Under the Curve
90 ,,,,Asymp. 95% Confidence Interval,
91 Variable under test,Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound
92 x,.910,.030,.000,.860,.960
93 y,.697,.052,.001,.611,.783
95 Table: Coordinates of the Curve
96 Test variable,Positive if greater than or equal to,Sensitivity,1 - Specificity
113 AT_SETUP([ROC, with anomaly])
114 AT_DATA([roc.sps], [dnl
116 data list notable list /x * a * comment (a20).
133 22 0 "here is the anomoly"
153 AT_CHECK([pspp -o pspp.csv roc.sps])
154 AT_CHECK([cat pspp.csv], [0], [dnl
157 a,Unweighted,Weighted
161 Table: Area Under the Curve (x)
162 ,,,Asymp. 95% Confidence Interval,
163 Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound
164 .490,.111,.927,.307,.673