Added functions to compute covariance matrix.
[pspp-builds.git] / src / math / ChangeLog
1 2008-07-15  Jason Stover  <jhs@math.gcsu.edu>
2
3         * covariance-matrix.c (covariance_pass_one): New file, new function.
4
5 2008-06-21  Jason Stover  <jhs@math.gcsu.edu>
6
7         * linreg.c (pspp_linreg): Accept a struct design_matrix.  Use new
8         accessor functions pspp_coeff_get_mean, pspp_coeff_get_sd.  New
9         functions pspp_linreg_get_indep_variable_mean,
10         pspp_linreg_set_indep_variable_mean,
11         pspp_linreg_get_indep_variable_sd,
12         pspp_linreg_set_indep_variable_sd. Altered pspp_linreg_get_coeff
13         to use accessor function pspp_coeff_var_to_coeff.
14
15         * coefficient.c: New functions pspp_coeff_get_mean,
16         pspp_coeff_set_mean, pspp_coeff_get_sd, pspp_coeff_set_sd,
17         pspp_coeff_var_to_coeff. Added doubles to hold mean and standard
18         deviation in struct varinfo.
19
20 2008-06-14  Jason Stover  <jhs@math.gcsu.edu>
21
22         * linreg/: moved linreg.[ch] to src/math.
23
24 2008-05-15  Ben Pfaff  <blp@gnu.org>
25
26         Patch #6512.
27
28         * moments.c (calc_moments): Use gsl_finite instead of finite, as a
29         stopgap measure for portability until appropriate gnulib modules
30         are available.
31
32 2008-03-10  Jason Stover  <jhs@math.gcsu.edu>
33
34         * coefficient.c (pspp_linreg_get_coeff): Removed use of
35         coefficient 0 as intercept.
36
37 2008-03-01  Jason Stover  <jhs@math.gcsu.edu>
38
39         * coefficient.c (pspp_coeff_init): Ensure first arg is not a null
40         pointer.
41
42         * coefficient.c (pspp_linreg_get_coeff): Make sure we don't return
43         a result beyond the last coefficient, or start with a coefficient
44         beyond the last one if there is only one.
45
46 2007-06-06  Ben Pfaff  <blp@gnu.org>
47
48         Adapt case sources, sinks, and clients of procedure code to the
49         new infrastructure.
50
51         * automake.mk: Add new files.
52         
53         * levene.c: Adapt to new casereaders.  Abstract better.
54
55         * merge.c: New file.
56
57         * merge.h: New file.
58
59         * sort.c: Rewrite in terms of case_ordering, merger.
60
61 2007-05-31  Jason Stover  <jhs@math.gcsu.edu>
62
63         * interaction.c: New file.
64         * interaction.h : New file.
65
66 Mon Feb  5 15:42:14 2007  Ben Pfaff  <blp@gnu.org>
67
68         * moments.c (moments_pass_two): Reduce number of multiplications.
69
70 Thu Dec  7 15:27:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
71
72         * factor-stats.c factor-stats.h: Changed independent values to 
73         be pointers rather than copies.
74
75 Wed Dec  6 21:14:59 2006  Ben Pfaff  <blp@gnu.org>
76
77         * coefficient.c: (pspp_coeff_get_value) Compare variable pointers
78         instead of variable indexes.
79         (pspp_linreg_get_coeff) Ditto.
80         (design_matrix_col_to_var_index) Removed.
81         (design_matrix_col_to_var) Compare variable pointers
82         instead of variable indexes.
83         (cmp_dm_var_index) Ditto.
84         (design_matrix_var_to_column) Ditto.
85         (dm_var_to_last_column) Ditto.
86
87 Sun Nov  5 08:30:32 WST 2006 John Darrington <john@darrington.wattle.id.au>
88
89         * levene.c levene.h Changed to use the new casefilter structure.
90
91 2006-07-15  Jason Stover  <jhs@math.gcsu.edu>
92
93         * coefficient.c (pspp_coeff_init): Make design_matrix arg const.
94
95 2006-07-14  Jason Stover  <jhs@math.gcsu.edu>
96
97         * coefficient.c (pspp_coeff_init): Removed use of
98         pspp_linreg_cache to make the routines more generally useful.
99
100 2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
101
102         * coefficient.h: Renamed pspp_linreg_coeff to pspp_coeff.
103
104         * coefficient.c: Moved to src/math.
105
106         * coefficient.h: Moved to src/math.
107
108 Tue May  9 21:09:37 2006  Ben Pfaff  <blp@gnu.org>
109
110         * sort.c (sort_active_file_to_casefile): Check return value of
111         multipass_procedure().
112
113 Wed May  3 23:06:43 2006  Ben Pfaff  <blp@gnu.org>
114
115         Continue reforming procedure execution.  In this phase, get rid of
116         many global variables, consolidating procedure execution in
117         procedure.c.  Encapsulate transformations in new "struct
118         trns_chain".  Also, change implementation of N OF CASES, FILTER,
119         and PROCESS IF from special cases to transformations.
120          
121         * sort.c: (prepare_to_sort_active_file) Don't run a procedure
122         here.
123         (sort_active_file_in_place) Rewrite to run a procedure, capture
124         the output, sort the output, and set that as the source for the
125         next procedure.
126         (struct sort_to_casefile_cb_data) New structure.
127         (sort_to_casefile_callback) New function.
128         (sort_active_file_to_casefile) Rewrite to use
129         multipass_procedure().
130
131 Sat Apr 29 11:09:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
132
133         * removed unused variable.
134
135 Sat Apr 15 18:01:22 2006  Ben Pfaff  <blp@gnu.org>
136
137         * factor-stats.c (metrics_postcalc): Add casts to fix warnings.
138
139 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
140         
141         * Moved files from src directory