[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #23567] Standardized regression coefficients reported inc
From: |
Jason H Stover |
Subject: |
PSPP-BUG: [bug #23567] Standardized regression coefficients reported incorrectly |
Date: |
Sun, 15 Jun 2008 16:37:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 |
Update of bug #23567 (project pspp):
Severity: 5 - Average => 7 - Major
Status: None => In Progress
Assigned to: None => jstover
_______________________________________________________
Follow-up Comment #1:
The way to fix this is to change linreg.c to store some more information in
the struct coeff in the linreg cache, then to make linreg.c able to use this
information. This should take a few days.
The particular problem is on line 256 of regression.q, where reg_stats_coeff
must call gsl_vector_get to get the standard deviation for a variable in the
model. To get the right value, reg_stats_coeff must know which subscript in
the gsl_vector corresponds to the coefficient and variable in question. I
could fix only the particular problem here, but that will leave the general
problem of requiring code for a procedure to access stats for a model by
directly accessing the internal data of the model struct.
The procedure code should be able to get values like this out of the linreg
cache without knowing which subscript holds that value.
This fix will also make it easier for other models (besides those for linear
regression) that use struct pspp_coeff's to get the necessary values without
reaching into obscure arrays inside the model structure.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23567>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/