Displaying 1 result from an estimated 1 matches for "lrincome".
Did you mean:
lnincome
2012 Sep 27
0
error while estimating spatial Durbin (mixed) model
...geoda
software ,here is my Command and error,really hope your help ,thank you!
#??gal
library(spdep)
w<- read.gal("E:/splm/zj.GAL",override.id=TRUE)
ww<-nb2listw(w,zero.policy=TRUE)
#????
library(foreign)
mydata<-read.dta("E:/splm/merge.dta")
#??
library(splm)
fm<-lrincome~ishare+mgdp+tinput
ssss<-lagsarlm(fm, data = mydata,listw =ww,zero.policy=TRUE,type="mixed")
summary(ssss)
error:Input data and weights have different dimensions
--
View this message in context: http://r.789695.n4.nabble.com/error-while-estimating-spatial-Durbin-mixed-model-tp4644...