X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flinreg.c;h=90c62a5258640fdfb9a1eeb8b29bd4164ba77d29;hb=afdf3096926b561f4e6511c10fcf73fc6796b9d2;hp=fe01ac39e4941969b8664d0dd8d08f7cf7c57d27;hpb=f338eb59ae54d23708eaf2ffa009239807794653;p=pspp-builds.git diff --git a/src/math/linreg.c b/src/math/linreg.c index fe01ac39..90c62a52 100644 --- a/src/math/linreg.c +++ b/src/math/linreg.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 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 @@ -15,17 +15,21 @@ along with this program. If not, see . */ #include + +#include "math/linreg.h" + #include #include #include #include #include #include -#include -#include -#include -#include -#include + +#include "data/value.h" +#include "data/variable.h" +#include "linreg/sweep.h" + +#include "gl/xalloc.h" /* Find the least-squares estimate of b for the linear model: @@ -461,9 +465,3 @@ linreg_get_depvar_mean (linreg *c) { return c->depvar_mean; } -static -linreg_set_dependent_column (linreg *c, int column) -{ - c->dependent_column = column; -} -