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