X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fruns.c;h=b3a1b4fdd80614e432d7fcc2a81a89be942ee20a;hb=refs%2Fbuilds%2F20131201030504%2Fpspp;hp=cbabcd24542eaef1e1f8b7028c1b473c01956d93;hpb=92c55c1b5570faa1e4b4bda55bfb7bdb6f16b46f;p=pspp diff --git a/src/language/stats/runs.c b/src/language/stats/runs.c index cbabcd2454..b3a1b4fdd8 100644 --- a/src/language/stats/runs.c +++ b/src/language/stats/runs.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. -*-c-*- - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010, 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,25 +17,24 @@ #include -#include "runs.h" +#include "language/stats/runs.h" #include #include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - +#include "data/casegrouper.h" +#include "data/casereader.h" +#include "data/casewriter.h" +#include "data/dataset.h" +#include "data/dictionary.h" +#include "data/format.h" +#include "data/subcase.h" +#include "data/variable.h" +#include "libpspp/message.h" +#include "libpspp/misc.h" +#include "math/percentiles.h" +#include "math/sort.h" +#include "output/tab.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -65,7 +64,7 @@ struct run_state /* Return the Z statistic representing the assympototic - distribution of the the number of runs */ + distribution of the number of runs */ static double runs_statistic (const struct run_state *rs) { @@ -165,7 +164,7 @@ runs_execute (const struct dataset *ds, } casegrouper_destroy (grouper); if (multimodal) - msg (MW, _("Multiple modes exist for varible `%s'. Using %g as the threshold value."), + msg (MW, _("Multiple modes exist for variable `%s'. Using %g as the threshold value."), var_get_name (var), run->cutpoint); } } @@ -303,7 +302,6 @@ runs_execute (const struct dataset *ds, } -#include static void show_runs_result (const struct runs_test *rt, const struct run_state *rs, const struct dictionary *dict) @@ -386,7 +384,7 @@ show_runs_result (const struct runs_test *rt, const struct run_state *rs, const TAT_TITLE | TAB_LEFT , _("Cases < Test Value")); tab_text (table, 0, column_headers + 2, - TAT_TITLE | TAB_LEFT , _("Cases >= Test Value")); + TAT_TITLE | TAB_LEFT , _("Cases ≥ Test Value")); tab_text (table, 0, column_headers + 3, TAT_TITLE | TAB_LEFT , _("Total Cases"));