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