Fix bug 22419
[pspp-builds.git] / src / math / linreg / ChangeLog
index dfcea1f052648b1bee48613e61713b0adb84cbb3..552d093b6bf086d105b6953bd74ff74bc02b4f44 100644 (file)
@@ -1,7 +1,130 @@
+2008-03-08  Jason Stover  <jhs@wonko.gcsu.edu>
+
+       * linreg.c (pspp_linreg_get_vars): Clean up the loop that searches
+       for coefficient/variable matches. Fix for bug 22419.
+
+2008-02-28  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (has_coefficient): New function.
+
+       * linreg.c (pspp_linreg_predict): Fix bug 22419.
+
+2007-09-21  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Partial fix of memory leak,
+       bug 21056.
+
+2007-08-11  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h (enum): Dropped ambiguous PSPP_LINREG_SVD in favor of
+       PSPP_LINREG_QR. Added PSPP_LINREG_CONDITIONAL_INVERSE.
+
+       * linreg.c (pspp_linreg): Added scope and comment for use of
+       generalized inverse to solve normal equations.
+
+2007-04-12  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c: (pspp_linreg_cache_free) Check for null pointer before
+       freeing.
+
+Wed Dec  6 21:16:22 2006  Ben Pfaff  <blp@gnu.org>
+
+       * linreg.c: (pspp_linreg_get_vars) Compare variable pointers
+       instead of variable indexes.
+
+2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
+
+       * coefficient.c: Moved to src/math.
+
+       * coefficient.h: Moved to src/math.
+
+2006-05-11  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Made linreg_cache's coeff a pspp_linreg_coeff**. 
+
+2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_get_vars): New function. Fills an array with
+       pointers to the variables used in the model.
+
+       * linreg.h: Add a pointer called get_vars to pspp_linreg_get_vars()
+       to access variables in a model.
+
+       * coefficient.c (pspp_linreg_coeff_init): Set the variable
+       associated with the intercept term to NULL.
+
+2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Added a pointer to predicted values.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to
+       predicted values.
+
+2006-04-22  Jason Stover  <jhs@debs.hjklfdsss.org>
+
+       * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_
+       to pspp_linreg_cache.
+
+2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.h: Added a pointer to a variable to store the resduals.
+
+       * linreg.c (pspp_linreg_cache_alloc): Initialize the residual
+       variable pointer to NULL.
+
+2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Accept a pointer of type
+       void to match definition of trns_proc_func.
+
+2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
+
+       * linreg.c (pspp_linreg_cache_free): Return a bool.
+
+Sat Apr 15 18:03:01 2006  Ben Pfaff  <blp@gnu.org>
+
+       * predict.c (pspp_linreg_predict): Change prototype to match
+       struct pspp_linreg_cache_struct's predict member.
+       * predict.c (pspp_linreg_residual): Change prototype to match
+       struct pspp_linreg_cache_struct's residual member.
+
+Sat Apr 15 18:01:39 2006  Ben Pfaff  <blp@gnu.org>
+
+       * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against
+       0, instead of NULL, because it's an integer type.
+
+Mon Apr  3 13:20:54 2006  Ben Pfaff  <blp@gnu.org>
+
+       * linreg.c (pspp_linreg): Move declaration before code for C90
+       compliance.
+
+2006-04-09  Jason Stover  <jhs@math.gcsu.edu>
+
+       * predict.c (pspp_linreg_predict): Do something sensible even with
+       bad input.
+
+2006-04-07  Jason Stover  <jhs@math.gcsu.edu>
+
+       * predict.c (pspp_linreg_predict): Improved handling of null
+       pointer args.
+
+       * predict.c (pspp_linreg_residuals): New function.
+
+       * coefficient.c: Improved handling of null pointer args.
+
+2006-04-05  Jason Stover  <jhs@math.gcsu.edu>
+
+       * predict.c: New file. pspp_linreg_predict() uses a linear model
+       to return a predicted value of the dependent variable.
+
+       * coefficient.c: Added pspp_linreg_coeff_get_est() and
+       pspp_linreg_coeff_get_std_err() to access estimated values of
+       coefficients and standard errors.
+
 2006-04-03  Jason Stover  <jhs@math.gcsu.edu>
 
        * coefficient.c: Added pspp_linreg_get_coeff() to find a
-       coefficient corresponding to a variabl/value combination.
+       coefficient corresponding to a variable/value combination.
 
 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>