Skip to content
Prev 3636 / 29559 Next

error message when running errorsarlm

On Thu, 22 May 2008, Roger Bivand wrote:

            
To close the part of the thread about differences between the spam and 
Matrix methods, I can report that on Linux (both 2GB and 1GB 32-bit), 
there is no difference for the original model using the 2500m distance 
criterion, and both line searches reach a lambda of 0.9165158. The same 
applies to Windows 32-bit. R version 2.7.0 using R-generic BLAS, spdep 
0.4-21, Matrix 0.999375-9, spam 0.13-3, in all cases.

The sparser weights cases described below run with adequate speed, but the 
semi-dense weights (average # neighbours 280) run more slowly, but the 
time is mostly spent in making sure that the weights are exactly symmetric 
- now in R functions similar.listw() and listw2U(), both of which will be 
re-written to hand out the time consuming parts to compiled C.

The data were 10055 house prices, the objective to fit a hedonic 
regression. Conclusion: using a more sparse neighbour representation is 
advisable; the computational problems could not be reproduced, but looked 
initially like a package version issue - Matrix is moving fast, and spdep 
is trying to keep up with it.

Roger