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