Fix bug 22419
[pspp-builds.git] / src / math / linreg / ChangeLog
1 2008-02-28  Jason Stover  <jhs@math.gcsu.edu>
2
3         * linreg.c (has_coefficient): New function.
4
5         * linreg.c (pspp_linreg_predict): Fix bug 22419.
6
7 2007-09-21  Jason Stover  <jhs@math.gcsu.edu>
8
9         * linreg.c (pspp_linreg_cache_free): Partial fix of memory leak,
10         bug 21056.
11
12 2007-08-11  Jason Stover  <jhs@math.gcsu.edu>
13
14         * linreg.h (enum): Dropped ambiguous PSPP_LINREG_SVD in favor of
15         PSPP_LINREG_QR. Added PSPP_LINREG_CONDITIONAL_INVERSE.
16
17         * linreg.c (pspp_linreg): Added scope and comment for use of
18         generalized inverse to solve normal equations.
19
20 2007-04-12  Jason Stover  <jhs@math.gcsu.edu>
21
22         * linreg.c: (pspp_linreg_cache_free) Check for null pointer before
23         freeing.
24
25 Wed Dec  6 21:16:22 2006  Ben Pfaff  <blp@gnu.org>
26
27         * linreg.c: (pspp_linreg_get_vars) Compare variable pointers
28         instead of variable indexes.
29
30 2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
31
32         * coefficient.c: Moved to src/math.
33
34         * coefficient.h: Moved to src/math.
35
36 2006-05-11  Jason Stover  <jhs@math.gcsu.edu>
37
38         * linreg.h: Made linreg_cache's coeff a pspp_linreg_coeff**. 
39
40 2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
41
42         * linreg.c (pspp_linreg_get_vars): New function. Fills an array with
43         pointers to the variables used in the model.
44
45         * linreg.h: Add a pointer called get_vars to pspp_linreg_get_vars()
46         to access variables in a model.
47
48         * coefficient.c (pspp_linreg_coeff_init): Set the variable
49         associated with the intercept term to NULL.
50
51 2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
52
53         * linreg.h: Added a pointer to predicted values.
54
55         * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to
56         predicted values.
57
58 2006-04-22  Jason Stover  <jhs@debs.hjklfdsss.org>
59
60         * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_
61         to pspp_linreg_cache.
62
63 2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
64
65         * linreg.h: Added a pointer to a variable to store the resduals.
66
67         * linreg.c (pspp_linreg_cache_alloc): Initialize the residual
68         variable pointer to NULL.
69
70 2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
71
72         * linreg.c (pspp_linreg_cache_free): Accept a pointer of type
73         void to match definition of trns_proc_func.
74
75 2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
76
77         * linreg.c (pspp_linreg_cache_free): Return a bool.
78
79 Sat Apr 15 18:03:01 2006  Ben Pfaff  <blp@gnu.org>
80
81         * predict.c (pspp_linreg_predict): Change prototype to match
82         struct pspp_linreg_cache_struct's predict member.
83         * predict.c (pspp_linreg_residual): Change prototype to match
84         struct pspp_linreg_cache_struct's residual member.
85
86 Sat Apr 15 18:01:39 2006  Ben Pfaff  <blp@gnu.org>
87
88         * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against
89         0, instead of NULL, because it's an integer type.
90
91 Mon Apr  3 13:20:54 2006  Ben Pfaff  <blp@gnu.org>
92
93         * linreg.c (pspp_linreg): Move declaration before code for C90
94         compliance.
95
96 2006-04-09  Jason Stover  <jhs@math.gcsu.edu>
97
98         * predict.c (pspp_linreg_predict): Do something sensible even with
99         bad input.
100
101 2006-04-07  Jason Stover  <jhs@math.gcsu.edu>
102
103         * predict.c (pspp_linreg_predict): Improved handling of null
104         pointer args.
105
106         * predict.c (pspp_linreg_residuals): New function.
107
108         * coefficient.c: Improved handling of null pointer args.
109
110 2006-04-05  Jason Stover  <jhs@math.gcsu.edu>
111
112         * predict.c: New file. pspp_linreg_predict() uses a linear model
113         to return a predicted value of the dependent variable.
114
115         * coefficient.c: Added pspp_linreg_coeff_get_est() and
116         pspp_linreg_coeff_get_std_err() to access estimated values of
117         coefficients and standard errors.
118
119 2006-04-03  Jason Stover  <jhs@math.gcsu.edu>
120
121         * coefficient.c: Added pspp_linreg_get_coeff() to find a
122         coefficient corresponding to a variable/value combination.
123
124 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
125         
126         * Moved files from src directory