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