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