1 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
3 * regression.q (run_regression): New function to move knowledge of
4 pspp_linreg_cache out of math/coefficient.[ch].
6 Sat Jul 1 17:41:46 2006 Ben Pfaff <blp@gnu.org>
8 Fix bug #11612, "q2c documentation does not agree with code".
10 * examine.q: Audit use of q2c "+" prefixes that indicate that a
11 command may appear multiple times.
13 * frequencies.q: Ditto.
17 * regression.q: Ditto.
21 Fri Jun 23 14:18:22 2006 Ben Pfaff <blp@gnu.org>
23 Support long string variables on FREQUENCIES, as
24 an extension when in enhanced algorithms mode. For Greg Hunt
25 <greg@firmansyah.com>.
27 * frequencies.q: (struct freq) Change `v' member from union value
28 to union value *. Update all references.
29 (struct var_freqs) Add width, print members to represent effective
30 variable width and display format.
31 (calc) Copy entire long string value into the hash table.
32 (frq_custom_variables) Set new width, print members.
33 (hash_value_alpha) Get width from var_freqs.
34 (compare_value_alpha_a) Ditto.
35 (compare_freq_alpha_a) Ditto.
36 (compare_freq_alpha_d) Ditto.
37 (dump_full) Get display format from var_freqs.
38 (dump_condensed) Ditto.
40 Mon Jun 19 22:07:13 2006 Ben Pfaff <blp@gnu.org>
42 * frequencies.q: (dump_full) Only put the first MAX_SHORT_STRING
43 bytes of string variables into the output cells, seeing as we only
45 (dump_condensed) Ditto.
47 Mon Jun 19 21:52:05 2006 Ben Pfaff <blp@gnu.org>
49 Fixes a bug reported by Greg Hunt <greg@firmansyah.com>.
51 * frequencies.q: (hsh_hash_bytes) We only copy the first
52 MAX_SHORT_STRING bytes of string variables, so we must only
53 compare that many bytes, even if the string variable is longer.
54 (compare_value_alpha_a) Ditto.
55 (compare_freq_alpha_a) Ditto.
56 (compare_freq_alpha_d) Ditto.
58 2006-05-11 Jason Stover <jhs@math.gcsu.edu>
60 * regression.q: Adjusted code to account for cache->coeff being a
63 Sun May 7 18:31:25 2006 Ben Pfaff <blp@gnu.org>
67 * aggregate.c (cmd_aggregate): Free default_dict before replacing
70 Sun May 7 17:09:19 2006 Ben Pfaff <blp@gnu.org>
72 * flip.c (flip_file): Check return value of pool_fclose().
74 Sat May 6 16:00:13 2006 Ben Pfaff <blp@gnu.org>
76 Get rid of `char *c' member in union value, for cleanliness.
78 * aggregate.c: (union agr_argument) New union.
79 (struct agr_var) Change element type of arg[] from union value to
81 (parse_aggregate_functions) Change local variable types likewise.
83 * autorecode.c: (union arc_value) New union.
84 (struct arc_item) Change "from" from union value to union
86 (recode) Change local variable from union value to union
88 (autorecode_trns_proc) Ditto.
89 (compare_alpha_value) Ditto.
90 (hash_alpha_value) Ditto.
91 (compare_numeric_value) Ditto.
92 (hash_numeric_value) Ditto.
93 (autorecode_proc_func) Ditto.
95 Sat May 6 10:43:33 2006 Ben Pfaff <blp@gnu.org>
97 Continue reforming procedure execution. In this phase, get rid of
98 the output code for SPLIT FILE groups in procedure.c, which really
99 shouldn't be doing any output. Move it into the individual
100 procedures instead. This also adds some flexibility.
102 * crosstabs.q (precalc): Call output_split_file_values().
104 * descriptives.c (calc_descriptives): Ditto.
106 * examine.q (run_examine): Ditto.
108 * frequencies.q (precalc): Ditto.
110 * oneway.q (run_oneway): Ditto.
112 * regression.q (run_regression): Ditto.
114 * t-test.q (calculate): Ditto.
116 Wed May 3 23:05:31 2006 Ben Pfaff <blp@gnu.org>
118 Continue reforming procedure execution. In this phase, get rid of
119 many global variables, consolidating procedure execution in
120 procedure.c. Encapsulate transformations in new "struct
121 trns_chain". Also, change implementation of N OF CASES, FILTER,
122 and PROCESS IF from special cases to transformations.
124 * aggregate.c (cmd_aggregate) Use discard_variables().
126 2006-04-28 Jason Stover <jhs@math.gcsu.edu>
128 * regression.q (regression_trns_resid_proc): Pass only the
129 variables used in the model to (*model->residual)().
131 * regression.q (regression_trns_pred_proc): Pass only the
132 variables used in the model to (*model->pred)().
134 2006-04-26 Jason Stover <jhs@math.gcsu.edu>
136 * regression.q: Added support for multiple transformations.
138 * regression.q (regression_trns_resid_proc): New function.
140 * regression.q (regression_trns_pred_proc): New function.
142 * regression.q (subcommand_save): Added support for saving
145 * regression.q (regression_trns_free): New function.
147 * regression.q (reg_get_name): New function.
149 * regression.q (reg_save_var): New function.
151 Tue Apr 25 13:18:56 2006 Ben Pfaff <blp@gnu.org>
153 * rank.q (parse_rank_function): Use SE instead of ME for parse
156 Tue Apr 25 13:16:28 2006 Ben Pfaff <blp@gnu.org>
158 * flip.c (flip_sink_write): Use snprintf() to simplify a bit of
161 2006-04-21 Jason Stover <jhs@math.gcsu.edu>
163 * regression.q (try_name): New function. (Partly copied from
164 try_name in descriptives.c.)
166 * regression.q (subcommand_save): Choose residual variable names
169 2006-04-20 Jason Stover <jhs@math.gcsu.edu>
171 * regression.q (cmd_regression): Moved call to subcommand_save()
172 outside multipass_procedure_with_splits().
174 * regression.q (regression_trns_proc): Fixed value counter n_vals
175 before calling *model->residual().
177 2006-04-19 Jason Stover <jhs@math.gcsu.edu>
179 * regression.q (regression_trns_proc): Fixed the look-up of the
182 2006-04-18 Jason Stover <jhs@math.gcsu.edu>
184 * regression.q (regression_trns_proc): Look up the residual
185 variable in the linear regression cache.
187 * regression.q (subcommand_save): Set the residual variable in the
188 linear regression cache.
190 2006-04-17 Jason Stover <jason@wonko.gcsu.edu>
192 * regression.q (regression_trns_proc): Accept case_idx as an int
193 to match the definition of trns_proc_func.
195 2006-04-17 Jason Stover <jhs@math.gcsu.edu>
197 * regression.q (regression_trns_proc): New function.
199 * regression.q (subcommand_save): Create variable residuals and
200 add a transformation to assign values to them. Also free the
201 linreg_cache if the SAVE command was not called. Removed the
202 casereading loop. Placed actual computation of residuals in
203 regression_trns_proc.
205 * regression.q (run_regression): Moved call to free
206 pspp_linreg_cache to subcommand_save.
208 Sat Apr 15 18:01:03 2006 Ben Pfaff <blp@gnu.org>
210 * examine.q (output_examine): Add casts to fix warnings.
212 2006-04-07 Jason Stover <jhs@math.gcsu.edu>
214 * regression.q (subcommand_save): New function.
216 2006-04-04 Jason Stover <jhs@math.gcsu.edu>
218 * regression.q: New function reg_has_categorical () to tell
219 whether a pspp_linreg_struct was made with any variables of type
222 * regression.q: (subcommand_export): Call
223 reg_print_categorical_encoding() only if the model uses any
224 categorical variables.
226 Mon Mar 27 16:00:42 2006 Ben Pfaff <blp@gnu.org>
228 * crosstabs.q: (output_pivot_table) Drop spurious space from
231 2006-03-15 Jason Stover <jhs@math.gcsu.edu>
233 * regression.q: Added custom syntax parser for VARIABLES subcommand
235 * regression.q: Moved most instructions for run_regression ()
236 inside the loop over dependent variables.
238 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
240 * Moved files from src directory