#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;