26a0472e2880cdf61564b851f564e5e29478ae08
[pspp-builds.git] / src / language / stats / ChangeLog
1 Sun Nov  5 08:31:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
2
3         * t-test.q, oneway.q: Changed to use the new casefilter structure.
4
5 Sat Oct 14 16:52:28 2006  Ben Pfaff  <blp@gnu.org>
6
7         * rank.q: (rank_sorted_casefile) Add some missing case_destroy()
8         calls to fix a memory leak.
9
10 Sun Oct  8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
11
12         * rank.q: Plugged a small memory leak which occurred under error
13         conditions.
14         
15 Sat Oct  7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
16
17         * rank.q: Implemented most of the RANK command.
18
19 2006-07-14  Jason Stover  <jhs@math.gcsu.edu>
20
21         * regression.q (run_regression): New function to move knowledge of
22         pspp_linreg_cache out of math/coefficient.[ch].
23
24 Sat Jul  1 17:41:46 2006  Ben Pfaff  <blp@gnu.org>
25
26         Fix bug #11612, "q2c documentation does not agree with code".
27         
28         * examine.q: Audit use of q2c "+" prefixes that indicate that a
29         command may appear multiple times.
30
31         * frequencies.q: Ditto.
32
33         * oneway.q: Ditto.
34
35         * regression.q: Ditto.
36
37         * t-test.q: Ditto.
38
39 Fri Jun 23 14:18:22 2006  Ben Pfaff  <blp@gnu.org>
40
41         Support long string variables on FREQUENCIES, as
42         an extension when in enhanced algorithms mode.  For Greg Hunt
43         <greg@firmansyah.com>.
44         
45         * frequencies.q: (struct freq) Change `v' member from union value
46         to union value *.  Update all references.
47         (struct var_freqs) Add width, print members to represent effective
48         variable width and display format.
49         (calc) Copy entire long string value into the hash table.
50         (frq_custom_variables) Set new width, print members.
51         (hash_value_alpha) Get width from var_freqs.
52         (compare_value_alpha_a) Ditto.
53         (compare_freq_alpha_a) Ditto.
54         (compare_freq_alpha_d) Ditto.
55         (dump_full) Get display format from var_freqs.
56         (dump_condensed) Ditto.
57
58 Mon Jun 19 22:07:13 2006  Ben Pfaff  <blp@gnu.org>
59
60         * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
61         bytes of string variables into the output cells, seeing as we only
62         copy that many.
63         (dump_condensed) Ditto.
64
65 Mon Jun 19 21:52:05 2006  Ben Pfaff  <blp@gnu.org>
66
67         Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
68         
69         * frequencies.q: (hsh_hash_bytes) We only copy the first
70         MAX_SHORT_STRING bytes of string variables, so we must only
71         compare that many bytes, even if the string variable is longer.
72         (compare_value_alpha_a) Ditto.
73         (compare_freq_alpha_a) Ditto.
74         (compare_freq_alpha_d) Ditto.
75
76 2006-05-11  Jason Stover  <jhs@math.gcsu.edu>
77
78         * regression.q: Adjusted code to account for cache->coeff being a
79         pspp_linreg_coeff **.
80
81 Sun May  7 18:31:25 2006  Ben Pfaff  <blp@gnu.org>
82
83         Fix memory leak.
84         
85         * aggregate.c (cmd_aggregate): Free default_dict before replacing
86         it.
87
88 Sun May  7 17:09:19 2006  Ben Pfaff  <blp@gnu.org>
89
90         * flip.c (flip_file): Check return value of pool_fclose().
91
92 Sat May  6 16:00:13 2006  Ben Pfaff  <blp@gnu.org>
93
94         Get rid of `char *c' member in union value, for cleanliness.
95         
96         * aggregate.c: (union agr_argument) New union.
97         (struct agr_var) Change element type of arg[] from union value to
98         union agr_argument.
99         (parse_aggregate_functions) Change local variable types likewise.
100
101         * autorecode.c: (union arc_value) New union.
102         (struct arc_item) Change "from" from union value to union
103         arc_value.
104         (recode) Change local variable from union value to union
105         arc_value.
106         (autorecode_trns_proc) Ditto.
107         (compare_alpha_value) Ditto.
108         (hash_alpha_value) Ditto.
109         (compare_numeric_value) Ditto.
110         (hash_numeric_value) Ditto.
111         (autorecode_proc_func) Ditto.
112
113 Sat May  6 10:43:33 2006  Ben Pfaff  <blp@gnu.org>
114
115         Continue reforming procedure execution.  In this phase, get rid of
116         the output code for SPLIT FILE groups in procedure.c, which really
117         shouldn't be doing any output.  Move it into the individual
118         procedures instead.  This also adds some flexibility.
119
120         * crosstabs.q (precalc): Call output_split_file_values().
121
122         * descriptives.c (calc_descriptives): Ditto.
123
124         * examine.q (run_examine): Ditto.
125         
126         * frequencies.q (precalc): Ditto.
127
128         * oneway.q (run_oneway): Ditto.
129
130         * regression.q (run_regression): Ditto.
131
132         * t-test.q (calculate): Ditto.
133
134 Wed May  3 23:05:31 2006  Ben Pfaff  <blp@gnu.org>
135
136         Continue reforming procedure execution.  In this phase, get rid of
137         many global variables, consolidating procedure execution in
138         procedure.c.  Encapsulate transformations in new "struct
139         trns_chain".  Also, change implementation of N OF CASES, FILTER,
140         and PROCESS IF from special cases to transformations.
141          
142         * aggregate.c (cmd_aggregate) Use discard_variables().
143         
144 2006-04-28  Jason Stover  <jhs@math.gcsu.edu>
145
146         * regression.q (regression_trns_resid_proc): Pass only the
147         variables used in the model to (*model->residual)().
148
149         * regression.q (regression_trns_pred_proc): Pass only the
150         variables used in the model to (*model->pred)().
151
152 2006-04-26  Jason Stover  <jhs@math.gcsu.edu>
153
154         * regression.q: Added support for multiple transformations.
155         
156         * regression.q (regression_trns_resid_proc): New function.
157
158         * regression.q (regression_trns_pred_proc): New function.
159
160         * regression.q (subcommand_save): Added support for saving
161         predicted values.
162
163         * regression.q (regression_trns_free): New function. 
164
165         * regression.q (reg_get_name): New function.
166
167         * regression.q (reg_save_var): New function.
168
169 Tue Apr 25 13:18:56 2006  Ben Pfaff  <blp@gnu.org>
170
171         * rank.q (parse_rank_function): Use SE instead of ME for parse
172         errors.
173
174 Tue Apr 25 13:16:28 2006  Ben Pfaff  <blp@gnu.org>
175
176         * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
177         code.
178
179 2006-04-21  Jason Stover  <jhs@math.gcsu.edu>
180
181         * regression.q (try_name): New function. (Partly copied from
182         try_name in descriptives.c.)
183
184         * regression.q (subcommand_save): Choose residual variable names
185         correctly. 
186
187 2006-04-20  Jason Stover  <jhs@math.gcsu.edu>
188
189         * regression.q (cmd_regression): Moved call to subcommand_save()
190         outside multipass_procedure_with_splits().
191         
192         * regression.q (regression_trns_proc): Fixed value counter n_vals
193         before calling *model->residual().
194
195 2006-04-19  Jason Stover  <jhs@math.gcsu.edu>
196
197         * regression.q (regression_trns_proc): Fixed the look-up of the
198         number of variables.
199
200 2006-04-18  Jason Stover  <jhs@math.gcsu.edu>
201
202         * regression.q (regression_trns_proc): Look up the residual
203         variable in the linear regression cache.
204
205         * regression.q (subcommand_save): Set the residual variable in the
206         linear regression cache.
207
208 2006-04-17  Jason Stover  <jason@wonko.gcsu.edu>
209
210         * regression.q (regression_trns_proc): Accept case_idx as an int
211         to match the definition of trns_proc_func.
212
213 2006-04-17  Jason Stover  <jhs@math.gcsu.edu>
214
215         * regression.q (regression_trns_proc): New function.
216
217         * regression.q (subcommand_save): Create variable residuals and
218         add a transformation to assign values to them. Also free the
219         linreg_cache if the SAVE command was not called. Removed the
220         casereading loop. Placed actual computation of residuals in
221         regression_trns_proc.
222
223         * regression.q (run_regression): Moved call to free
224         pspp_linreg_cache to subcommand_save.
225
226 Sat Apr 15 18:01:03 2006  Ben Pfaff  <blp@gnu.org>
227
228         * examine.q (output_examine): Add casts to fix warnings.
229
230 2006-04-07  Jason Stover  <jhs@math.gcsu.edu>
231
232         * regression.q (subcommand_save): New function.
233
234 2006-04-04  Jason Stover  <jhs@math.gcsu.edu>
235
236         * regression.q: New function reg_has_categorical () to tell
237         whether a pspp_linreg_struct was made with any variables of type
238         ALPHA.
239
240         * regression.q: (subcommand_export): Call
241         reg_print_categorical_encoding() only if the model uses any
242         categorical variables.
243
244 Mon Mar 27 16:00:42 2006  Ben Pfaff  <blp@gnu.org>
245
246         * crosstabs.q: (output_pivot_table) Drop spurious space from
247         message.
248
249 2006-03-15  Jason Stover  <jhs@math.gcsu.edu>
250
251         * regression.q: Added custom syntax parser for VARIABLES subcommand
252
253         * regression.q: Moved most instructions for run_regression ()
254         inside the loop over dependent variables.
255
256 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
257         
258         * Moved files from src directory