You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA. */
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA. */
#ifndef FACTOR_STATS
#define FACTOR_STATS
#include "hash.h"
#include "val.h"
+#include <string.h>
#include <gsl/gsl_histogram.h>
#include "subclist.h"
#include "percentiles.h"
};
+struct metrics * metrics_create(void);
+
void metrics_precalc(struct metrics *m);
void metrics_calc(struct metrics *m, const union value *f, double weight,
void metrics_postcalc(struct metrics *m);
+void metrics_destroy(struct metrics *m);
+
+
/* Linked list of case nos */
struct case_node
/* The an array stats for this factor, one for each dependent var */
struct metrics *m;
+ /* The number of dependent variables */
+ int n_var;
};