Skip to content

About dnearneight and nb2listw function

1 message · Roger Bivand

#
On Thu, 31 Oct 2019, Let?cia Dal' Canton wrote:

            
This is very unclear. Yes, nb2mat() gives a dense matrix, but you do not 
show how you "visualize the elements whose autocorrelation is not null". 
You need to add a reproducible example using a built-in data set. Note 
that the matrix showing the variance-covariance of the observations is 
dense by definition (I - \rho W)^{-1} - see Melanie Wall's 2004 article.
You do not explain why this makes sense. Of course you can use nb2mat(), 
listw2mat() or coerce a listw object to a sparse matrix, but you need to 
motivate this (best with an example).

Roger