/* PSPP - computes sample statistics.
Copyright (C) 2004 Free Software Foundation, Inc.
- Written by John Darrington <john@darrington.wattle.id.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
#define GROUP_H
-#include "value.h"
+#include <data/value.h>
/* Statistics for grouped data */
/* Sample std. deviation */
double s_std_dev;
-
+
/* count */
double n;
/* Running total of the Levene for this group */
double lz_total;
-
+
/* Group mean of Levene */
- double lz_mean;
+ double lz_mean;
/* min and max values */
- double minimum ;
+ double minimum ;
double maximum ;
/* These funcs are useful for hash tables */
-/* Return -1 if the id of a is less than b; +1 if greater than and
+/* Return -1 if the id of a is less than b; +1 if greater than and
0 if equal */
-int compare_group(const struct group_statistics *a,
- const struct group_statistics *b,
+int compare_group(const struct group_statistics *a,
+ const struct group_statistics *b,
int width);
unsigned hash_group(const struct group_statistics *g, int width);