X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flinreg%2Flinreg.h;h=a7d408af56bde0c605c648963882545d9bec2967;hb=09907ebe926441d6a6834f358844e10358ea86e2;hp=d09752a21b50e272663039fcdcedb9b0c26480af;hpb=a94d5054363ca725a6810780b3621f064956929a;p=pspp-builds.git diff --git a/src/math/linreg/linreg.h b/src/math/linreg/linreg.h index d09752a2..a7d408af 100644 --- a/src/math/linreg/linreg.h +++ b/src/math/linreg/linreg.h @@ -95,7 +95,8 @@ struct pspp_linreg_cache_struct { int n_obs; /* Number of observations. */ int n_indeps; /* Number of independent variables. */ - int n_coeffs; + int n_coeffs; /* The intercept is not considered a + coefficient here. */ /* The variable struct is ignored during estimation. It is here so @@ -105,6 +106,7 @@ struct pspp_linreg_cache_struct gsl_vector *residuals; struct pspp_coeff **coeff; + double intercept; int method; /* Method to use to estimate parameters. */ /* Means and standard deviations of the variables.