+ /*
+ Now that we know the number of coefficients, allocate space
+ and store pointers to the variables that correspond to the
+ coefficients.
+ */
+ coeff_init (models[k], X);
+
+ /*
+ Find the least-squares estimates and other statistics.
+ */
+ pspp_linreg ((const gsl_vector *) Y, X->m, &lopts, models[k]);
+ compute_moments (models[k], mom, X, n_variables);
+ subcommand_statistics (cmd.a_statistics, models[k]);
+ subcommand_export (cmd.sbc_export, models[k]);
+
+ gsl_vector_free (Y);
+ design_matrix_destroy (X);
+ free (indep_vars);
+ free (lopts.get_indep_mean_std);
+ casereader_destroy (r);
+ }
+ else
+ {
+ msg (SE, gettext ("No valid data found. This command was skipped."));