X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flevene.h;h=4351ee092a127db7c1e9a82d562dc94eec1c6e1c;hb=3e81b17836ef4f026b2321a6a79418c7f0cb9121;hp=67a4a1155b7813d6d84a37fe4987aada81e40f0e;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp diff --git a/src/math/levene.h b/src/math/levene.h index 67a4a1155b..4351ee092a 100644 --- a/src/math/levene.h +++ b/src/math/levene.h @@ -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 @@ -17,29 +17,18 @@ #if !levene_h #define levene_h 1 -#include -#include -#include +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