-/* This file is part of GNU PSPP
+/* This file is part of GNU PSPP
Computes Levene test statistic.
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
#if !levene_h
#define levene_h 1
+#include <data/casereader.h>
+#include <data/missing-values.h>
+#include <data/variable.h>
-#include "variable.h"
-#include "casefile.h"
+/* Calculate the Levene statistic
-/* What to do with missing values */
-enum lev_missing { LEV_ANALYSIS, LEV_LISTWISE };
-
-/* Calculate the Levene statistic
-
-The independent variable : v_indep;
+The independent variable : v_indep;
Number of dependent variables : n_dep;
*/
-void levene(const struct casefile *cf,
- struct variable *v_indep, size_t n_dep, struct variable **v_dep,
- enum lev_missing, is_missing_func);
+struct dictionary ;
+struct casefilter ;
+
+void levene(const struct dictionary *dict, struct casereader *,
+ const struct variable *v_indep, size_t n_dep,
+ const struct variable **v_dep,
+ enum mv_class exclude);