int n_indep = 0;
struct ccase c;
const struct variable **indep_vars;
- struct variable **all_vars;
+ const struct variable **all_vars;
struct design_matrix *X;
struct moments_var **mom;
struct casereader *reader;
categorical, and has more than one coefficient, use the VAL to find
its coefficient.
*/
-const struct pspp_coeff *
+struct pspp_coeff *
pspp_coeff_var_to_coeff (const struct variable *v, struct pspp_coeff **coefs,
size_t n_coef, const union value *val)
{
coefficient found. Note that in this case, the result will depend on
the order of COEFS.
*/
-const struct pspp_coeff *
+struct pspp_coeff *
pspp_coeff_var_to_coeff (const struct variable *, struct pspp_coeff **, size_t, const union value *);
/*
size_t i;
double y;
double tmp;
- union value *tmp_val;
+ const union value *tmp_val;
col = design_matrix_var_to_column (cov, v);
for (i = 0; i < cat_get_n_categories (v) - 1; i++)
size_t col;
size_t i;
double x;
- union value *tmp_val;
+ const union value *tmp_val;
if (var_is_alpha (v1))
{
Which coefficient is associated with V? The VAL argument is relevant
only to categorical variables.
*/
-const struct pspp_coeff *
+struct pspp_coeff *
pspp_linreg_get_coeff (const pspp_linreg_cache * c,
const struct variable *v, const union value *val)
{
*/
int pspp_linreg_get_vars (const void *, const struct variable **);
-const struct pspp_coeff *pspp_linreg_get_coeff (const pspp_linreg_cache
+struct pspp_coeff *pspp_linreg_get_coeff (const pspp_linreg_cache
*,
const struct variable
*,