Corrected various typos in printed strings and documentation.
[pspp] / src / language / stats / runs.c
index cbabcd24542eaef1e1f8b7028c1b473c01956d93..b3a1b4fdd80614e432d7fcc2a81a89be942ee20a 100644 (file)
@@ -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
 
 #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)
@@ -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,
 }
 
 \f
-#include <output/tab.h>
 
 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"));