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