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