# NOT RUN {
data(Produc, package = "plm")
data(usaww)
GM <- spgm(log(gsp)~log(pcap)+log(pc)+log(emp)+unemp, data=Produc,
listw=usaww, moments = "fullweights", spatial.error = TRUE)
summary(GM)
# }
Run the code above in your browser using DataLab