1 2008-08-17 Jason H Stover <jhs@math.gcsu.edu>
3 * linreg.c (post_sweep_computations): New function to re-use the
4 re-usable. New function cache_init() to re-use the re-usable.
5 pspp_linreg_with_cov() now estimates parameters via reg_sweep().
7 2008-08-16 Jason H Stover <jhs@math.gcsu.edu>
9 * linreg.c (pspp_linreg_with_cov): New function to estimate
10 parameters directly from covariance matrix instead of using the
13 * linreg.c (rearrange_covariance_matrix): New function to ensure
14 the columns of the covariance matrix correspond to the variables
17 2008-07-24 John Darrington <john@darrington.wattle.id.au>
19 * merge.c merge.h sort.c sort.h: Removed the value_cnt associated
20 with case ordering. This ensures that the casereader returned by
21 sort_execute now has the same dimensions as the casereader passed
24 2008-07-24 Jason H Stover <jhs@math.gcsu.edu>
26 * covariance-matrix.c (covariance_pass_two): Dropped weight
27 argument. Corrected update of the entries of the covariance
30 * covariance-matrix.c (column_iterate): Dropped weight
31 argument. Corrected update of the entries of the covariance
34 * covariance-matrix.c (covariance_update_categorical_numeric):
35 Dropped weight argument. Corrected update of the entries of the
38 2008-07-17 Jason H Stover <jhs@math.gcsu.edu>
40 * covariance-matrix.c (covariance_update_categorical_numeric):
41 Altered to match new code in covariance_pass_two();
43 * covariance-matrix.h: Fix declaration of covariance_pass_two.
45 * covariance-matrix.c (covariance_pass_two): Moved numeric and
46 categorical scopes of V2 inside for loop. If V1 is not
47 categorical, but V2 is, recurse with the order of the variables
48 reversed to use the code in the previous "if" scope.
50 2008-07-16 Jason Stover <jhs@math.gcsu.edu>
52 * covariance-matrix.c (covariance_pass_two): Renamed
53 covariance_pass_one. Fixed update of covariance matrix when both
54 variables are categorical.
55 (column_iterate): New function.
57 2008-07-15 Jason Stover <jhs@math.gcsu.edu>
59 * covariance-matrix.c (covariance_pass_one): New file, new function.
61 2008-06-21 Jason Stover <jhs@math.gcsu.edu>
63 * linreg.c (pspp_linreg): Accept a struct design_matrix. Use new
64 accessor functions pspp_coeff_get_mean, pspp_coeff_get_sd. New
65 functions pspp_linreg_get_indep_variable_mean,
66 pspp_linreg_set_indep_variable_mean,
67 pspp_linreg_get_indep_variable_sd,
68 pspp_linreg_set_indep_variable_sd. Altered pspp_linreg_get_coeff
69 to use accessor function pspp_coeff_var_to_coeff.
71 * coefficient.c: New functions pspp_coeff_get_mean,
72 pspp_coeff_set_mean, pspp_coeff_get_sd, pspp_coeff_set_sd,
73 pspp_coeff_var_to_coeff. Added doubles to hold mean and standard
74 deviation in struct varinfo.
76 2008-06-14 Jason Stover <jhs@math.gcsu.edu>
78 * linreg/: moved linreg.[ch] to src/math.
80 2008-05-15 Ben Pfaff <blp@gnu.org>
84 * moments.c (calc_moments): Use gsl_finite instead of finite, as a
85 stopgap measure for portability until appropriate gnulib modules
88 2008-03-10 Jason Stover <jhs@math.gcsu.edu>
90 * coefficient.c (pspp_linreg_get_coeff): Removed use of
91 coefficient 0 as intercept.
93 2008-03-01 Jason Stover <jhs@math.gcsu.edu>
95 * coefficient.c (pspp_coeff_init): Ensure first arg is not a null
98 * coefficient.c (pspp_linreg_get_coeff): Make sure we don't return
99 a result beyond the last coefficient, or start with a coefficient
100 beyond the last one if there is only one.
102 2007-06-06 Ben Pfaff <blp@gnu.org>
104 Adapt case sources, sinks, and clients of procedure code to the
107 * automake.mk: Add new files.
109 * levene.c: Adapt to new casereaders. Abstract better.
115 * sort.c: Rewrite in terms of case_ordering, merger.
117 2007-05-31 Jason Stover <jhs@math.gcsu.edu>
119 * interaction.c: New file.
120 * interaction.h : New file.
122 Mon Feb 5 15:42:14 2007 Ben Pfaff <blp@gnu.org>
124 * moments.c (moments_pass_two): Reduce number of multiplications.
126 Thu Dec 7 15:27:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
128 * factor-stats.c factor-stats.h: Changed independent values to
129 be pointers rather than copies.
131 Wed Dec 6 21:14:59 2006 Ben Pfaff <blp@gnu.org>
133 * coefficient.c: (pspp_coeff_get_value) Compare variable pointers
134 instead of variable indexes.
135 (pspp_linreg_get_coeff) Ditto.
136 (design_matrix_col_to_var_index) Removed.
137 (design_matrix_col_to_var) Compare variable pointers
138 instead of variable indexes.
139 (cmp_dm_var_index) Ditto.
140 (design_matrix_var_to_column) Ditto.
141 (dm_var_to_last_column) Ditto.
143 Sun Nov 5 08:30:32 WST 2006 John Darrington <john@darrington.wattle.id.au>
145 * levene.c levene.h Changed to use the new casefilter structure.
147 2006-07-15 Jason Stover <jhs@math.gcsu.edu>
149 * coefficient.c (pspp_coeff_init): Make design_matrix arg const.
151 2006-07-14 Jason Stover <jhs@math.gcsu.edu>
153 * coefficient.c (pspp_coeff_init): Removed use of
154 pspp_linreg_cache to make the routines more generally useful.
156 2006-05-19 Jason Stover <jhs@math.gcsu.edu>
158 * coefficient.h: Renamed pspp_linreg_coeff to pspp_coeff.
160 * coefficient.c: Moved to src/math.
162 * coefficient.h: Moved to src/math.
164 Tue May 9 21:09:37 2006 Ben Pfaff <blp@gnu.org>
166 * sort.c (sort_active_file_to_casefile): Check return value of
167 multipass_procedure().
169 Wed May 3 23:06:43 2006 Ben Pfaff <blp@gnu.org>
171 Continue reforming procedure execution. In this phase, get rid of
172 many global variables, consolidating procedure execution in
173 procedure.c. Encapsulate transformations in new "struct
174 trns_chain". Also, change implementation of N OF CASES, FILTER,
175 and PROCESS IF from special cases to transformations.
177 * sort.c: (prepare_to_sort_active_file) Don't run a procedure
179 (sort_active_file_in_place) Rewrite to run a procedure, capture
180 the output, sort the output, and set that as the source for the
182 (struct sort_to_casefile_cb_data) New structure.
183 (sort_to_casefile_callback) New function.
184 (sort_active_file_to_casefile) Rewrite to use
185 multipass_procedure().
187 Sat Apr 29 11:09:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
189 * removed unused variable.
191 Sat Apr 15 18:01:22 2006 Ben Pfaff <blp@gnu.org>
193 * factor-stats.c (metrics_postcalc): Add casts to fix warnings.
195 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
197 * Moved files from src directory