CTABLES
[pspp] / src / math / levene.h
index 67a4a1155b7813d6d84a37fe4987aada81e40f0e..4351ee092a127db7c1e9a82d562dc94eec1c6e1c 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #if !levene_h
 #define levene_h 1
 
-#include <data/casereader.h>
-#include <data/missing-values.h>
-#include <data/variable.h>
+struct nl;
 
-/* Calculate the Levene statistic
+union value;
 
-The independent variable :   v_indep;
+struct levene *levene_create (int indep_width, const union value *cutpoint);
 
-Number of dependent variables :   n_dep;
+void levene_pass_one (struct levene *, double value, double weight, const union value *gv);
+void levene_pass_two (struct levene *, double value, double weight, const union value *gv);
+void levene_pass_three (struct levene *, double value, double weight, const union value *gv);
 
-The dependent variables :   v_dep;
+double levene_calculate (struct levene*);
 
-*/
+void levene_destroy (struct levene*);
 
-
-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);
-
-
-
-#endif /* levene_h */
+#endif