Make the expression code a little nicer and fix bugs found
[pspp] / src / t-test.h
index ad1d45cafa48ad18cd0dab176f8521abdbc62a70..1e860834d6f3e4abc55bc8240533d854fd904dfc 100644 (file)
 
 #include "val.h"
 
+
+enum comparison
+  {
+    CMP_LE = -2,
+    CMP_LT = -1,
+    CMP_EQ = 0,
+    CMP_GT = 1,
+    CMP_GE = 2
+  };
+
 /* Statistics for grouped data */
 struct group_statistics
   {
     /* The value of the independent variable for this group */
     union value id;
 
+    /* The criterium matching for comparing with id */
+    enum comparison criterion;
+
     /* The arithmetic mean */
     double mean;