On Fri, 8 Oct 2021, maria jesus herrerias wrote:
Dear list,
I have a panel data and I would like to test if the spatial dependence is
an issue. However, I am getting this error:
#ERROR
Error in nb2listw(sub.queen.nb$neighbours, style = "W", zero.policy = TRUE)
:
Not a neighbours list
Most li
Hi Maria,
At some point you create an object called “sub.queen.listw”. You can try to use
this one with the test function.
lmLMtests <- lm.LMtests(ols.eq1, sub.queen.listw, test=c("LMerr","LMlag",
"RLMerr", "RLMlag", "SARMA”))
Kind regards,
Raphael Saldanha
> Em 8 de out. de 2021, à(s) 1
Dear list,
I have a panel data and I would like to test if the spatial dependence is
an issue. However, I am getting this error:
#ERROR
Error in nb2listw(sub.queen.nb$neighbours, style = "W", zero.policy = TRUE)
:
Not a neighbours list
Below I report my code to see if somebody can help me on th