Re: [R] Conditional Autoregressive (CAR) model simulation

2008-02-19 Thread Dae-Jin Lee
Thanks for your suggestion, Henrique Here I attach a link to some notes by Robert Bivand, with a SAR model, see page 30 www.bias-project.org.uk/ASDARcourse/unit6_slides.pdf The difference with CAR is in the covariance structure, I run and example: #

[R] Conditional Autoregressive (CAR) model simulation

2008-02-15 Thread Dae-Jin Lee
Hi all ! I would like to simulate spatial lattice/areal data with a conditional autoregressive (CAR) structure, for a given neighbouring matrix and for a autocorrelation rho. Is there any package or function in R to perform it ? I found the function CARsimu in the hdeco library, but this is not

Re: [R] Conditional Autoregressive (CAR) model simulation

2008-02-15 Thread Henrique Dallazuanna
See spautolm function in spdep package On 15/02/2008, Dae-Jin Lee [EMAIL PROTECTED] wrote: Hi all ! I would like to simulate spatial lattice/areal data with a conditional autoregressive (CAR) structure, for a given neighbouring matrix and for a autocorrelation rho. Is there any package