X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flevene.h;h=c5e8bc3b4e9a15a49bc97d6837bb680cc06ceb4b;hb=c58173ea116eed59ce96a4b233f2d2d8ceb50b26;hp=d0e44283cd3b575c66292008182cae9d15fc5855;hpb=164d1274fcb70c54897f2a03fc7c27152ed4821a;p=pspp-builds.git diff --git a/src/math/levene.h b/src/math/levene.h index d0e44283..c5e8bc3b 100644 --- a/src/math/levene.h +++ b/src/math/levene.h @@ -1,48 +1,31 @@ -/* This file is part of GNU PSPP - Computes Levene test statistic. - +/* PSPP - a program for statistical analysis. Copyright (C) 2004 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 the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. 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., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #if !levene_h #define levene_h 1 +struct casereader; +struct variable; -#include -#include - -/* Calculate the Levene statistic - -The independent variable : v_indep; - -Number of dependent variables : n_dep; - -The dependent variables : v_dep; - -*/ - - -struct dictionary ; -struct casefilter ; -void levene(const struct dictionary *dict, const struct casefile *cf, - struct variable *v_indep, size_t n_dep, struct variable **v_dep, - struct casefilter *filter); +enum mv_class; +double +levene (struct casereader *rx, const struct variable *gvar, + const struct variable *var, const struct variable *wv, enum mv_class exclude ); -#endif /* levene_h */ +#endif