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