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