[R-sig-Geo] help for spdep

2012-12-19 Thread Saman Monfared
Dear all. I try to fit conditional auto regressive models (CAR and SAR) in package spdep. Also, I have fitted some other models like GLM, Empirical Bayes and ... My program to CAR and SAR is: esar1f1 - spautolm(IMR.m~ 0+PCFP+Sup+B.F,data =data1, listw=nb2listw(nb6, style=W), family=SAR,

[R-sig-Geo] Help for spdep package

2012-12-18 Thread Saman Monfared
Dear all. I try to fit conditional auto regressive models (CAR and SAR) in package spdep. Also, I have fitted some other models like GLM, Empirical Bayes and ... My program to CAR and SAR is: esar1f1 - spautolm(IMR.m~ 0+PCFP+Sup+B.F,data =data1, listw=nb2listw(nb6, style=W), family=SAR,

[R-sig-Geo] Help for spdep package

2012-12-18 Thread Saman Monfared
Dear all. I try to fit CAR and SAR model. I have fitted these model by spatulm but I don't understand the mean of lambda??? I couldn't find good renascences to distinct the difference between SAR and CAR. What is the difference between BYM and CAR model?? Hw can I predict results of spatulm for

Re: [R-sig-Geo] Help for spdep package

2012-12-18 Thread Roger Bivand
On Tue, 18 Dec 2012, Saman Monfared wrote: Dear all. I try to fit conditional auto regressive models (CAR and SAR) in package spdep. Also, I have fitted some other models like GLM, Empirical Bayes and ... My program to CAR and SAR is: esar1f1 - spautolm(IMR.m~ 0+PCFP+Sup+B.F,data =data1,