Skip to content
Prev 26906 / 29559 Next

Error when performing a spatial eigenvector selection in R

On Wed, 10 Oct 2018, DIEGO CEPEDA GOMEZ wrote:

            
If you are choosing adespatial::mem(), it will probably work differently 
from spdep::SpatialFilering(), based on

      Tiefelsdorf M, Griffith DA. (2007) Semiparametric Filtering of
      Spatial Autocorrelation: The Eigenvector Approach. Environment and
      Planning A, 39 (5) 1193 - 1221.

In that approach, the eigenvectors are chosen to reduce the residual 
spatial autocorrelation.
Use spdep::SpatialFilering() rather than spdep::ME() for the Gaussian 
case. Probably your listwgab8 refers to a different number of observations 
than dataset (any missing values in your variables?).

Roger