#ifndef REG_EXPORT_COMMENTS_H
#define REG_EXPORT_COMMENTS_H
+const char reg_preamble[] = "/*\n This program contains functions which return estimates\n"
+" and confidence intervals for a linear model. The EXPORT subcommand\n"
+" of the REGRESSION procedure of GNU PSPP generated this program.\n*/\n\n";
const char reg_mean_cmt[] = "/*\n Estimate the mean of Y, the dependent variable for\n"
" the linear model of the form \n\n"
" Y = b0 + b1 * X1 + b2 * X2 + ... + bk * Xk + error\n\n"
assert (model_file != NULL);
assert (fp != NULL);
fp = fopen (handle_get_filename (model_file), "w");
+ fprintf (fp, "%s", reg_preamble);
fprintf (fp, "#include <string.h>\n\n");
fprintf (fp, "%s", reg_mean_cmt);
fprintf (fp, "double\npspp_reg_estimate (const double *var_vals, const char *var_names[])\n{\n\tchar *model_depvars[%d] = {", c->n_indeps);