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