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