moments: Spell out "variance" ("var" is easily confused with "variable").
[pspp] / src / math / moments.h
index 23457ce67f3771c0654099b3adea9dfe16f3a586..79a95f8d6321e94c3f3c1eaf7346b08eb82a69a5 100644 (file)
@@ -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
@@ -18,7 +18,7 @@
 #define HEADER_MOMENTS
 
 #include <stddef.h>
-#include <data/value.h>
+#include "data/value.h"
 
 /* Moments of the mean.
    Higher-order moments have higher values. */
@@ -65,7 +65,7 @@ void moments1_calculate (const struct moments1 *,
 void moments1_destroy (struct moments1 *);
 
 /* Standard errors. */
-double calc_semean (double stddev, double weight);
+double calc_semean (double variance, double weight);
 double calc_seskew (double weight);
 double calc_sekurt (double weight);