2006-05-19 Jason Stover * coefficient.c: Moved to src/math. * coefficient.h: Moved to src/math. 2006-05-11 Jason Stover * linreg.h: Made linreg_cache's coeff a pspp_linreg_coeff**. 2006-04-28 Jason Stover * linreg.c (pspp_linreg_get_vars): New function. Fills an array with pointers to the variables used in the model. * linreg.h: Add a pointer called get_vars to pspp_linreg_get_vars() to access variables in a model. * coefficient.c (pspp_linreg_coeff_init): Set the variable associated with the intercept term to NULL. 2006-04-26 Jason Stover * linreg.h: Added a pointer to predicted values. * linreg.c (pspp_linreg_cache_alloc): Initialized pointer to predicted values. 2006-04-22 Jason Stover * predict.c (pspp_linreg_residual): Removed unnecessary cast of c_ to pspp_linreg_cache. 2006-04-18 Jason Stover * linreg.h: Added a pointer to a variable to store the resduals. * linreg.c (pspp_linreg_cache_alloc): Initialize the residual variable pointer to NULL. 2006-04-17 Jason Stover * linreg.c (pspp_linreg_cache_free): Accept a pointer of type void to match definition of trns_proc_func. 2006-04-17 Jason Stover * linreg.c (pspp_linreg_cache_free): Return a bool. Sat Apr 15 18:03:01 2006 Ben Pfaff * predict.c (pspp_linreg_predict): Change prototype to match struct pspp_linreg_cache_struct's predict member. * predict.c (pspp_linreg_residual): Change prototype to match struct pspp_linreg_cache_struct's residual member. Sat Apr 15 18:01:39 2006 Ben Pfaff * coefficient.c (pspp_linreg_get_coeff): Compare n_indeps against 0, instead of NULL, because it's an integer type. Mon Apr 3 13:20:54 2006 Ben Pfaff * linreg.c (pspp_linreg): Move declaration before code for C90 compliance. 2006-04-09 Jason Stover * predict.c (pspp_linreg_predict): Do something sensible even with bad input. 2006-04-07 Jason Stover * predict.c (pspp_linreg_predict): Improved handling of null pointer args. * predict.c (pspp_linreg_residuals): New function. * coefficient.c: Improved handling of null pointer args. 2006-04-05 Jason Stover * predict.c: New file. pspp_linreg_predict() uses a linear model to return a predicted value of the dependent variable. * coefficient.c: Added pspp_linreg_coeff_get_est() and pspp_linreg_coeff_get_std_err() to access estimated values of coefficients and standard errors. 2006-04-03 Jason Stover * coefficient.c: Added pspp_linreg_get_coeff() to find a coefficient corresponding to a variable/value combination. Thu Mar 2 08:40:33 WST 2006 John Darrington * Moved files from src directory