Skip to content

Problems with lm.LMtests and lm.morantest

2 messages · laurence delattre, Roger Bivand

7 days later
#
On Tue, 7 Aug 2012, laurence delattre wrote:

            
Here you have thrown away the general weights implied in your initial 
representation, use the glist= argument to pass them through. I guess that 
LISTW$neighbours includes all observations except i as neighbours of i, 
flattening out the lagged variable completely, and leading to an expected 
absence of spatial autocorrelation.

Moran's I is known to work for asymmetric general weights (weights are 
made symmetric internally), but the LM tests were developed assuming row 
standardisation (but not symmetry), so their properties are not well known 
when the weights are not row standardised, hence the warning - not error.

Roger