X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fmath%2Flinreg.h;h=17fe3c733c990e45df1b3a4012baf6b84a3d9608;hp=f6c7e2e8c43d3f37d4fa451e1fb2e835fede9d4c;hb=e385eeb8a2ea75fb2d9c1c628619baa03c914dae;hpb=b3ec9f11b5ebe965d2233870ced536a75709451d diff --git a/src/math/linreg.h b/src/math/linreg.h index f6c7e2e8..17fe3c73 100644 --- a/src/math/linreg.h +++ b/src/math/linreg.h @@ -151,9 +151,8 @@ struct linreg_struct */ gsl_matrix *hat; - struct variable *resid; struct variable *pred; - + struct variable *resid; }; typedef struct linreg_struct linreg; @@ -199,6 +198,8 @@ double linreg_coeff (const linreg *, size_t); const struct variable * linreg_indep_var (const linreg *, size_t); size_t linreg_n_coeffs (const linreg *); size_t linreg_n_obs (const linreg *); +double linreg_sse (const linreg *); double linreg_ssreg (const linreg *); double linreg_dfmodel (const linreg *); +double linreg_sst (const linreg *); #endif