Fixed update of covariance matrix when both variables are categorical.
[pspp-builds.git] / src / math / ChangeLog
1 2008-07-16  Jason Stover  <jhs@math.gcsu.edu>
2
3         * covariance-matrix.c (covariance_pass_two): Renamed
4         covariance_pass_one. Fixed update of covariance matrix when both
5         variables are categorical.
6         (column_iterate): New function.
7
8 2008-07-15  Jason Stover  <jhs@math.gcsu.edu>
9
10         * covariance-matrix.c (covariance_pass_one): New file, new function.
11
12 2008-06-21  Jason Stover  <jhs@math.gcsu.edu>
13
14         * linreg.c (pspp_linreg): Accept a struct design_matrix.  Use new
15         accessor functions pspp_coeff_get_mean, pspp_coeff_get_sd.  New
16         functions pspp_linreg_get_indep_variable_mean,
17         pspp_linreg_set_indep_variable_mean,
18         pspp_linreg_get_indep_variable_sd,
19         pspp_linreg_set_indep_variable_sd. Altered pspp_linreg_get_coeff
20         to use accessor function pspp_coeff_var_to_coeff.
21
22         * coefficient.c: New functions pspp_coeff_get_mean,
23         pspp_coeff_set_mean, pspp_coeff_get_sd, pspp_coeff_set_sd,
24         pspp_coeff_var_to_coeff. Added doubles to hold mean and standard
25         deviation in struct varinfo.
26
27 2008-06-14  Jason Stover  <jhs@math.gcsu.edu>
28
29         * linreg/: moved linreg.[ch] to src/math.
30
31 2008-05-15  Ben Pfaff  <blp@gnu.org>
32
33         Patch #6512.
34
35         * moments.c (calc_moments): Use gsl_finite instead of finite, as a
36         stopgap measure for portability until appropriate gnulib modules
37         are available.
38
39 2008-03-10  Jason Stover  <jhs@math.gcsu.edu>
40
41         * coefficient.c (pspp_linreg_get_coeff): Removed use of
42         coefficient 0 as intercept.
43
44 2008-03-01  Jason Stover  <jhs@math.gcsu.edu>
45
46         * coefficient.c (pspp_coeff_init): Ensure first arg is not a null
47         pointer.
48
49         * coefficient.c (pspp_linreg_get_coeff): Make sure we don't return
50         a result beyond the last coefficient, or start with a coefficient
51         beyond the last one if there is only one.
52
53 2007-06-06  Ben Pfaff  <blp@gnu.org>
54
55         Adapt case sources, sinks, and clients of procedure code to the
56         new infrastructure.
57
58         * automake.mk: Add new files.
59         
60         * levene.c: Adapt to new casereaders.  Abstract better.
61
62         * merge.c: New file.
63
64         * merge.h: New file.
65
66         * sort.c: Rewrite in terms of case_ordering, merger.
67
68 2007-05-31  Jason Stover  <jhs@math.gcsu.edu>
69
70         * interaction.c: New file.
71         * interaction.h : New file.
72
73 Mon Feb  5 15:42:14 2007  Ben Pfaff  <blp@gnu.org>
74
75         * moments.c (moments_pass_two): Reduce number of multiplications.
76
77 Thu Dec  7 15:27:49 WST 2006 John Darrington <john@darrington.wattle.id.au>
78
79         * factor-stats.c factor-stats.h: Changed independent values to 
80         be pointers rather than copies.
81
82 Wed Dec  6 21:14:59 2006  Ben Pfaff  <blp@gnu.org>
83
84         * coefficient.c: (pspp_coeff_get_value) Compare variable pointers
85         instead of variable indexes.
86         (pspp_linreg_get_coeff) Ditto.
87         (design_matrix_col_to_var_index) Removed.
88         (design_matrix_col_to_var) Compare variable pointers
89         instead of variable indexes.
90         (cmp_dm_var_index) Ditto.
91         (design_matrix_var_to_column) Ditto.
92         (dm_var_to_last_column) Ditto.
93
94 Sun Nov  5 08:30:32 WST 2006 John Darrington <john@darrington.wattle.id.au>
95
96         * levene.c levene.h Changed to use the new casefilter structure.
97
98 2006-07-15  Jason Stover  <jhs@math.gcsu.edu>
99
100         * coefficient.c (pspp_coeff_init): Make design_matrix arg const.
101
102 2006-07-14  Jason Stover  <jhs@math.gcsu.edu>
103
104         * coefficient.c (pspp_coeff_init): Removed use of
105         pspp_linreg_cache to make the routines more generally useful.
106
107 2006-05-19  Jason Stover  <jhs@math.gcsu.edu>
108
109         * coefficient.h: Renamed pspp_linreg_coeff to pspp_coeff.
110
111         * coefficient.c: Moved to src/math.
112
113         * coefficient.h: Moved to src/math.
114
115 Tue May  9 21:09:37 2006  Ben Pfaff  <blp@gnu.org>
116
117         * sort.c (sort_active_file_to_casefile): Check return value of
118         multipass_procedure().
119
120 Wed May  3 23:06:43 2006  Ben Pfaff  <blp@gnu.org>
121
122         Continue reforming procedure execution.  In this phase, get rid of
123         many global variables, consolidating procedure execution in
124         procedure.c.  Encapsulate transformations in new "struct
125         trns_chain".  Also, change implementation of N OF CASES, FILTER,
126         and PROCESS IF from special cases to transformations.
127          
128         * sort.c: (prepare_to_sort_active_file) Don't run a procedure
129         here.
130         (sort_active_file_in_place) Rewrite to run a procedure, capture
131         the output, sort the output, and set that as the source for the
132         next procedure.
133         (struct sort_to_casefile_cb_data) New structure.
134         (sort_to_casefile_callback) New function.
135         (sort_active_file_to_casefile) Rewrite to use
136         multipass_procedure().
137
138 Sat Apr 29 11:09:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
139
140         * removed unused variable.
141
142 Sat Apr 15 18:01:22 2006  Ben Pfaff  <blp@gnu.org>
143
144         * factor-stats.c (metrics_postcalc): Add casts to fix warnings.
145
146 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
147         
148         * Moved files from src directory