Actually implement the new procedure code and adapt all of its clients
[pspp-builds.git] / src / math / levene.h
index edbcd80e3fbe1d17b8b6a639e421eda26a8362aa..40ed52ce0ed493a6027f7435eda264ed8e54f03f 100644 (file)
@@ -2,7 +2,6 @@
    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 "variable.h"
-#include "casefile.h"
-
-/* What to do with missing values */
-enum lev_missing { LEV_ANALYSIS, LEV_LISTWISE };
+#include <data/casereader.h>
+#include <data/missing-values.h>
+#include <data/variable.h>
 
 /* Calculate the Levene statistic 
 
@@ -40,9 +36,13 @@ The dependent variables :   v_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);