[R-sig-Geo] Autologistic regression

2012-10-28 Thread Mitra Devkota
such data set (if possible, I would prefer a dataset that has not been analyzed yet).Thanks Mitra Devkota [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org

Re: [R-sig-Geo] Autologistic regression

2012-10-17 Thread Mitra Devkota
Dear List,I want to learn Auto logistic regression in R. Do any one of you have a spatial data with binary response that I can use to learn it. If you have the one not used yet, that will be just awesome, if not, let me use the data set that you used, and I will not misuse it.Thanks,Mitra..

Re: [R-sig-Geo] SAR, CAR and autlogistic models

2012-10-08 Thread Mitra Devkota
Sorry: I put wrong subject in my previous mail..Dear list,I have a data set with 3 columns (crop yield, temperature, precipitation). I fitted CAR and SAR model using yield as dependent variable and the rest two as independent variables. Now, does it make sense if I include the interaction term

Re: [R-sig-Geo] finding CRS from latitude/longitude

2012-10-08 Thread Mitra Devkota
Dear list,I have a data set with 3 columns (crop yield, temperature, precipitation). I fitted CAR and SAR model using yield as dependent variable and the rest two as independent variables. Now, does it make sense if I include the interaction term temperature*precipitation as well as a predictor

[R-sig-Geo] interpreting SAR and CAR outputs

2012-06-26 Thread Mitra Devkota
Hi, when I run CAR or SAR model (yield~temperature+precipitation)and I get a small p value,(SAR and CAR output given below) I reject null hypothesis concluding that there is significant spatial correlation in the residuals. What does this mean in terms of our actual data and variables(yie

[R-sig-Geo] Interpretation of simultaneous and conditional autoregressive models

2012-06-18 Thread Mitra Devkota
Hi,i have a data set and I modeled the response, Y~X1+X2 (where Y=yield, X1=temperature, X2=Precipitation) using SAR and CAR models.. Under both models, it seems that there is significant spatial correlation in the residuals because the estimated value of lambda is 0.12087 and the p-value of th

Re: [R-sig-Geo] How to get started with matrix data read into R

2012-06-17 Thread Mitra Devkota
<-krige.conv(coords=res.geo$coords,data=res.geo$data,loc=res.grid,krige=krige.control(obj.m=exp.vg))summary(res.krige.exp)image(res.krige.exp,loc=res.grid,xlim=c(30.38,30.60),ylim=c(-91.20,-91),main="Ordinary kriging using residuals for exponential model")contour(res.krige.exp,loc=res.grid,lev

[R-sig-Geo] HI

2012-06-09 Thread Mitra Devkota
Dear all,In my spatial modeling of SAR, I got an error. I found that nrow(data)[1] 66length(SD_queenW$neighbours)[1] 67I am sure that my state has 66 counties. How can fix this problem? Any help ion this regard would highly be appreciated.Thanks Mitra DevkotaBrookings, SD 57006571 242 6140"

[R-sig-Geo] Spatial modeling

2012-06-09 Thread Mitra Devkota
Dear all, When I run the SAR model, I get the error like this. Can u suggest me how can I solve this issue? or what could be the cause of this problem?> sar<-spautolm(yield~Temp+precept, data=data, listw=SD_queenW)Error in t(IlW) : error in evaluating the argument 'x' in selecting a method fo