Skip to content
Prev 23571 / 29559 Next

R: R: R: R: Spatial Durbin Model with regimes in a cross section framework

I am using Windows 10
Loredana

-----Messaggio originale-----
Da: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
Inviato: mercoled? 21 ottobre 2015 15:26
A: Loredana Mirra
Cc: r-sig-geo at r-project.org
Oggetto: Re: R: R: R: [R-sig-Geo] Spatial Durbin Model with regimes in a
cross section framework
On Wed, 21 Oct 2015, Loredana Mirra wrote:

            
library(spdep)
sessionInfo() # spdep >=0.5-88
load("chow_error.RData")
ONE <- rep(1, nrow(highways))
NOC_Nord <- as.integer(!highways$C_Nord) durb<-lagsarlm(GR5101m~ 0+
(ONE+LVAPC51):(C_Nord+NOC_Nord),
  data=highways, listw, type="mixed")
summary(durb)

works for me (I'm using the development version of spdep, which seems to be
the reason for the difference). There was an indexing error in
create_WX() that is corrected in the development version but not in 0.5-88
on CRAN. Which OS are you using - there are reasons for not releasing the
development version yet?

Roger
hint about this?
antivirus.
--
Roger Bivand
Department of Economics, Norwegian School of Economics, Helleveien 30,
N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 91 00
e-mail: Roger.Bivand at nhh.no


---
Questa e-mail ? stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus