struct pspp_linreg_coeff *coeff;
c->coeff = xnmalloc (X->m->size2 + 1, sizeof (*c->coeff));
+ c->coeff->v_info = NULL; /* Intercept has no associated variable. */
for (i = 0; i < X->m->size2; i++)
{
j = i + 1; /* The first coefficient is the intercept. */
}
/*
- Which variable does this coefficient match?
+ Which variable does this coefficient match? I should be
+ 0 unless the coefficient refers to an interaction term.
*/
const struct variable *
pspp_linreg_coeff_get_var (struct pspp_linreg_coeff *c, int i)