/* 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
#include <config.h>
-#include "runs.h"
+#include "language/stats/runs.h"
#include <gsl/gsl_cdf.h>
#include <math.h>
-#include <data/format.h>
-
-#include <libpspp/misc.h>
-#include <libpspp/message.h>
-#include <data/procedure.h>
-#include <data/casereader.h>
-#include <data/casewriter.h>
-#include <data/casegrouper.h>
-#include <data/dictionary.h>
-#include <data/subcase.h>
-#include <data/variable.h>
-#include <math/percentiles.h>
-#include <math/sort.h>
-
+#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)
/* 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)
{
}
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);
}
}
}
\f
-#include <output/tab.h>
static void
show_runs_result (const struct runs_test *rt, const struct run_state *rs, const struct dictionary *dict)
{
case CP_CUSTOM:
tab_text (table, 0, column_headers ,
- TAT_TITLE | TAB_LEFT , _("Test Value "));
+ TAT_TITLE | TAB_LEFT , _("Test Value"));
break;
case CP_MODE:
tab_text (table, 0, column_headers ,
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"));