Please also provide the following information in addition to your question:
- Operating System: Windows10
- brms Version: 2.9.0
Hi. I am rather new to brms and trying to fit models with spatial autocorrelation. It is my understanding that CAR and SAR require spatial information as areal units whereas I’d like to model the covariance of observations as a distance (i.e. continuous variable) between the locations. I have two questions: 1) can I fit spatial autocorrelation using distance between the locations in brms, and 2) is there a way in brms to test autocorrelation in residuals in the first place? Thank you.