X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fmoments.h;h=8bf916592e759879a849020a18b20534cc394387;hb=3e81b17836ef4f026b2321a6a79418c7f0cb9121;hp=23457ce67f3771c0654099b3adea9dfe16f3a586;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp diff --git a/src/math/moments.h b/src/math/moments.h index 23457ce67f..8bf916592e 100644 --- a/src/math/moments.h +++ b/src/math/moments.h @@ -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 -#include +#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 var, double weight); double calc_seskew (double weight); double calc_sekurt (double weight);