02111-1307, USA. */
-
#ifndef GROUP_H
#define GROUP_H
#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
- (applicable only to T-TEST) FIXME: therefore it shouldn't be here
- */
- enum comparison criterion;
-
/* The arithmetic mean */
double mean;
-/* These funcs are usefull for hash tables */
+/* These funcs are useful for hash tables */
/* Return -1 if the id of a is less than b; +1 if greater than and
0 if equal */