Fix bug 25677
[pspp-builds.git] / src / math / linreg.h
index 3a0b3694d65838901b8e8bd6135376c2f3173ee7..3b19e53a260ff5aa740d69e130200b9e43ac055c 100644 (file)
@@ -96,8 +96,7 @@ struct pspp_linreg_cache_struct
                                   coefficient here. */
 
   /*
-     The variable struct is ignored during estimation. It is here so
-     the calling procedure can find the variable used in the model.
+    Pointer to the dependent variable.
    */
   const struct variable *depvar;
 
@@ -215,4 +214,5 @@ void pspp_linreg_set_indep_variable_sd (pspp_linreg_cache *, const struct variab
  */
 double pspp_linreg_get_indep_variable_mean (pspp_linreg_cache *, const struct variable *);
 void pspp_linreg_set_indep_variable_mean (pspp_linreg_cache *, const struct variable *, double);
+double pspp_linreg_mse (const pspp_linreg_cache *);
 #endif