1 Wed Dec 20 18:45:31 WST 2006 John Darrington <john@darrington.wattle.id.au>
3 * binomial.c binomial.h : New files. Thanks to Jason Stover
4 for assistance with these.
6 * chisquare.c chisquare.h freq.c freq.h npar-summary.c npar-summary.h
7 npar.h npar.q: New files. Implementing NPAR TESTS.
9 * frequencies.q : Moved structure definitions into freq.[ch]
11 Sat Dec 16 22:26:44 2006 Ben Pfaff <blp@gnu.org>
13 Make it possible to pull cases from the active file with a
14 function call, instead of requiring indirection through a callback
17 * aggregate.c (cmd_aggregate): Take advantage of new procedure
19 (agr_to_active_file): Removed.
20 (presorted_agr_to_sysfile): Removed.
22 * autorecode.c (cmd_autorecode): Take advantage of new procedure
24 (autorecode_proc_func): Removed.
26 * flip.c (struct flip_pgm): New members to allow conformance with
27 new case_source_class interface.
28 (cmd_flip): Adapt to new case_source_class interface.
29 (flip_source_read): Ditto.
30 (flip_source_destroy): Ditto.
32 Sat Dec 16 12:54:27 2006 Ben Pfaff <blp@gnu.org>
34 * rank.q (rank_custom_variables): Allow grouping variables to be
35 strings. Fixes bug #18533. Thanks to John Darrington for review.
37 Sat Dec 9 18:47:51 2006 Ben Pfaff <blp@gnu.org>
39 * regression.q (is_depvar): Compare variable pointers instead of
42 Thu Dec 7 15:26:25 WST 2006 John Darrington <john@darrington.wattle.id.au>
44 * examine.q: Allocated the categorical values for the dependent and
45 independent variables, on the heap. Hence they can be of any width.
47 Wed Dec 6 21:14:26 2006 Ben Pfaff <blp@gnu.org>
49 * regression.q (reg_inserted): Compare variable pointers instead
52 Mon Dec 4 22:33:46 2006 Ben Pfaff <blp@gnu.org>
54 * crosstabs.q (insert_summary): Use var_to_string for labeling.
55 (output_pivot_table) Ditto.
58 * frequencies.q (setup_z_trns): Ditto.
60 (dump_condensed) Ditto.
61 (dump_statistics) Ditto.
64 Sun Nov 5 08:31:42 WST 2006 John Darrington <john@darrington.wattle.id.au>
66 * t-test.q, oneway.q: Changed to use the new casefilter structure.
68 Sat Oct 14 16:52:28 2006 Ben Pfaff <blp@gnu.org>
70 * rank.q: (rank_sorted_casefile) Add some missing case_destroy()
71 calls to fix a memory leak.
73 Sun Oct 8 09:45:40 WST 2006 John Darrington <john@darrington.wattle.id.au>
75 * rank.q: Plugged a small memory leak which occurred under error
78 Sat Oct 7 11:06:01 WST 2006 John Darrington <john@darrington.wattle.id.au>
80 * rank.q: Implemented most of the RANK command.
82 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
84 * regression.q (run_regression): New function to move knowledge of
85 pspp_linreg_cache out of math/coefficient.[ch].
87 Sat Jul 1 17:41:46 2006 Ben Pfaff <blp@gnu.org>
89 Fix bug #11612, "q2c documentation does not agree with code".
91 * examine.q: Audit use of q2c "+" prefixes that indicate that a
92 command may appear multiple times.
94 * frequencies.q: Ditto.
98 * regression.q: Ditto.
102 Fri Jun 23 14:18:22 2006 Ben Pfaff <blp@gnu.org>
104 Support long string variables on FREQUENCIES, as
105 an extension when in enhanced algorithms mode. For Greg Hunt
106 <greg@firmansyah.com>.
108 * frequencies.q: (struct freq) Change `v' member from union value
109 to union value *. Update all references.
110 (struct var_freqs) Add width, print members to represent effective
111 variable width and display format.
112 (calc) Copy entire long string value into the hash table.
113 (frq_custom_variables) Set new width, print members.
114 (hash_value_alpha) Get width from var_freqs.
115 (compare_value_alpha_a) Ditto.
116 (compare_freq_alpha_a) Ditto.
117 (compare_freq_alpha_d) Ditto.
118 (dump_full) Get display format from var_freqs.
119 (dump_condensed) Ditto.
121 Mon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
123 * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
124 bytes of string variables into the output cells, seeing as we only
126 (dump_condensed) Ditto.
128 Mon Jun 19 21:52:05 2006 Ben Pfaff <blp@gnu.org>
130 Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
132 * frequencies.q: (hsh_hash_bytes) We only copy the first
133 MAX_SHORT_STRING bytes of string variables, so we must only
134 compare that many bytes, even if the string variable is longer.
135 (compare_value_alpha_a) Ditto.
136 (compare_freq_alpha_a) Ditto.
137 (compare_freq_alpha_d) Ditto.
139 2006-05-11 Jason Stover <jhs@math.gcsu.edu>
141 * regression.q: Adjusted code to account for cache->coeff being a
142 pspp_linreg_coeff **.
144 Sun May 7 18:31:25 2006 Ben Pfaff <blp@gnu.org>
148 * aggregate.c (cmd_aggregate): Free default_dict before replacing
151 Sun May 7 17:09:19 2006 Ben Pfaff <blp@gnu.org>
153 * flip.c (flip_file): Check return value of pool_fclose().
155 Sat May 6 16:00:13 2006 Ben Pfaff <blp@gnu.org>
157 Get rid of `char *c' member in union value, for cleanliness.
159 * aggregate.c: (union agr_argument) New union.
160 (struct agr_var) Change element type of arg[] from union value to
162 (parse_aggregate_functions) Change local variable types likewise.
164 * autorecode.c: (union arc_value) New union.
165 (struct arc_item) Change "from" from union value to union
167 (recode) Change local variable from union value to union
169 (autorecode_trns_proc) Ditto.
170 (compare_alpha_value) Ditto.
171 (hash_alpha_value) Ditto.
172 (compare_numeric_value) Ditto.
173 (hash_numeric_value) Ditto.
174 (autorecode_proc_func) Ditto.
176 Sat May 6 10:43:33 2006 Ben Pfaff <blp@gnu.org>
178 Continue reforming procedure execution. In this phase, get rid of
179 the output code for SPLIT FILE groups in procedure.c, which really
180 shouldn't be doing any output. Move it into the individual
181 procedures instead. This also adds some flexibility.
183 * crosstabs.q (precalc): Call output_split_file_values().
185 * descriptives.c (calc_descriptives): Ditto.
187 * examine.q (run_examine): Ditto.
189 * frequencies.q (precalc): Ditto.
191 * oneway.q (run_oneway): Ditto.
193 * regression.q (run_regression): Ditto.
195 * t-test.q (calculate): Ditto.
197 Wed May 3 23:05:31 2006 Ben Pfaff <blp@gnu.org>
199 Continue reforming procedure execution. In this phase, get rid of
200 many global variables, consolidating procedure execution in
201 procedure.c. Encapsulate transformations in new "struct
202 trns_chain". Also, change implementation of N OF CASES, FILTER,
203 and PROCESS IF from special cases to transformations.
205 * aggregate.c (cmd_aggregate) Use discard_variables().
207 2006-04-28 Jason Stover <jhs@math.gcsu.edu>
209 * regression.q (regression_trns_resid_proc): Pass only the
210 variables used in the model to (*model->residual)().
212 * regression.q (regression_trns_pred_proc): Pass only the
213 variables used in the model to (*model->pred)().
215 2006-04-26 Jason Stover <jhs@math.gcsu.edu>
217 * regression.q: Added support for multiple transformations.
219 * regression.q (regression_trns_resid_proc): New function.
221 * regression.q (regression_trns_pred_proc): New function.
223 * regression.q (subcommand_save): Added support for saving
226 * regression.q (regression_trns_free): New function.
228 * regression.q (reg_get_name): New function.
230 * regression.q (reg_save_var): New function.
232 Tue Apr 25 13:18:56 2006 Ben Pfaff <blp@gnu.org>
234 * rank.q (parse_rank_function): Use SE instead of ME for parse
237 Tue Apr 25 13:16:28 2006 Ben Pfaff <blp@gnu.org>
239 * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
242 2006-04-21 Jason Stover <jhs@math.gcsu.edu>
244 * regression.q (try_name): New function. (Partly copied from
245 try_name in descriptives.c.)
247 * regression.q (subcommand_save): Choose residual variable names
250 2006-04-20 Jason Stover <jhs@math.gcsu.edu>
252 * regression.q (cmd_regression): Moved call to subcommand_save()
253 outside multipass_procedure_with_splits().
255 * regression.q (regression_trns_proc): Fixed value counter n_vals
256 before calling *model->residual().
258 2006-04-19 Jason Stover <jhs@math.gcsu.edu>
260 * regression.q (regression_trns_proc): Fixed the look-up of the
263 2006-04-18 Jason Stover <jhs@math.gcsu.edu>
265 * regression.q (regression_trns_proc): Look up the residual
266 variable in the linear regression cache.
268 * regression.q (subcommand_save): Set the residual variable in the
269 linear regression cache.
271 2006-04-17 Jason Stover <jason@wonko.gcsu.edu>
273 * regression.q (regression_trns_proc): Accept case_idx as an int
274 to match the definition of trns_proc_func.
276 2006-04-17 Jason Stover <jhs@math.gcsu.edu>
278 * regression.q (regression_trns_proc): New function.
280 * regression.q (subcommand_save): Create variable residuals and
281 add a transformation to assign values to them. Also free the
282 linreg_cache if the SAVE command was not called. Removed the
283 casereading loop. Placed actual computation of residuals in
284 regression_trns_proc.
286 * regression.q (run_regression): Moved call to free
287 pspp_linreg_cache to subcommand_save.
289 Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
291 * examine.q (output_examine): Add casts to fix warnings.
293 2006-04-07 Jason Stover <jhs@math.gcsu.edu>
295 * regression.q (subcommand_save): New function.
297 2006-04-04 Jason Stover <jhs@math.gcsu.edu>
299 * regression.q: New function reg_has_categorical () to tell
300 whether a pspp_linreg_struct was made with any variables of type
303 * regression.q: (subcommand_export): Call
304 reg_print_categorical_encoding() only if the model uses any
305 categorical variables.
307 Mon Mar 27 16:00:42 2006 Ben Pfaff <blp@gnu.org>
309 * crosstabs.q: (output_pivot_table) Drop spurious space from
312 2006-03-15 Jason Stover <jhs@math.gcsu.edu>
314 * regression.q: Added custom syntax parser for VARIABLES subcommand
316 * regression.q: Moved most instructions for run_regression ()
317 inside the loop over dependent variables.
319 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
321 * Moved files from src directory