Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-12-14 Thread Robert R
Sent: Monday, December 9, 2019 12:14 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Sun, 8 Dec 2019, Robert R wrote: > Dear Roger, > > Thank you for your answer. Regarding the sparse matrix, you're right - I > tested cr

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-12-09 Thread Roger Bivand
___ From: Roger Bivand Sent: Wednesday, December 4, 2019 09:07 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Wed, 4 Dec 2019, Robert R wrote: Dear Roger, Again, thank you for your answer. What do you mean by "zip code random

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-12-08 Thread Robert R
a zip code random effect. I would certainly drop all > attempts to examine spatial dependency until you get an aspatial multilevel > hedonic model working. > > Roger > > -- > Roger Bivand > Norwegian School of Economics > Helleveien 30, 5045 Bergen, Norway > roger.biv

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-12-04 Thread Roger Bivand
nd to improving the signal-noise ratio before trying to scale up. Roger Thank you and best regards, Robert From: Roger Bivand Sent: Wednesday, November 27, 2019 13:53 To: Robert R Cc: r-sig-geo@r-project.org Subject: SV: [R-sig-Geo] Spatial Autocorrel

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-12-03 Thread Robert R
ed")) And any other methodology in dealing with large weight matrices in spatialreg::lagsarlm? Thank you and best regards, Robert From: Roger Bivand Sent: Wednesday, November 27, 2019 13:53 To: Robert R Cc: r-sig-geo@r-project.org Subject: SV: [R-si

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-27 Thread Roger Bivand
Fra: Robert R Sendt: tirsdag 26. november 2019 21.04 Til: Roger Bivand Kopi: r-sig-geo@r-project.org Emne: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method Dear Roger, Thank you for your e-mail. Actually there is less noise that it seems. Rental prices are

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-26 Thread Roger Bivand
nd Sent: Monday, November 11, 2019 11:31 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Sun, 10 Nov 2019, Robert R wrote: Dear Roger, Again, thank you for your answer. I read the material provided and decided that Hierarchical Spatial Aut

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-16 Thread Robert R
_ From: Roger Bivand Sent: Monday, November 11, 2019 11:31 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Sun, 10 Nov 2019, Robert R wrote: > Dear Roger, > > Again, thank you for your answer. I read the material provided a

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-11 Thread Roger Bivand
ed by me? Or would you recommend me another approach to avoid the above mentioned error? Thank you and best regards, Robert ____________ From: Roger Bivand Sent: Thursday, November 7, 2019 10:13 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorre

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-10 Thread Robert R
m = 1, thinning = 1, parameters.start = pars) ## Thank you and best regards Robert From: Roger Bivand Sent: Friday, November 8, 2019 13:29 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Fri, 8

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-08 Thread Roger Bivand
and best regards, Robert From: Roger Bivand Sent: Thursday, November 7, 2019 10:13 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Thu, 7 Nov 2019, Robert R wrote: Dear Roger, Many thanks for your help. I have an additional que

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-07 Thread Robert R
would you recommend me another approach to avoid the above mentioned error? Thank you and best regards, Robert From: Roger Bivand Sent: Thursday, November 7, 2019 10:13 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-07 Thread Roger Bivand
, collapse = " + ")), data=listings, model="pooling", index="id") Some of my id's repeat in multiple time periods. I use NYC's zip codes to left join my data with the neighborhood zip code specific characteristics, such as income per capita to that specific zip code, etc. Now

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-06 Thread Robert R
ert From: Roger Bivand Sent: Wednesday, November 6, 2019 15:07 To: Robert R Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method On Tue, 5 Nov 2019, Robert R wrote: > Dear Roger, > > Thank you for your reply

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-06 Thread Roger Bivand
quot;pooling", index="id") Some of my id's repeat in multiple time periods. I use NYC's zip codes to left join my data with the neighborhood zip code specific characteristics, such as income per capita to that specific zip code, etc. Now I want to apply the hedonic model with th

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-05 Thread Robert R
quot;)), data=listings, model="pooling", index="id") Some of my id's repeat in multiple time periods. I use NYC's zip codes to left join my data with the neighborhood zip code specific characteristics, such as income per capita to that specific zip code, etc.

Re: [R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-05 Thread Roger Bivand
On Tue, 5 Nov 2019, Robert R wrote: I have a large pooled cross-section data set. ​I would like to estimate/regress using spatial autocorrelation methods. I am assuming for now that spatial dependence is present in both the dependent variable and the error term.​ ​My data set is over a period

[R-sig-Geo] Spatial Autocorrelation Estimation Method

2019-11-04 Thread Robert R
I have a large pooled cross-section data set. ​ I would like to estimate/regress using spatial autocorrelation methods. I am assuming for now that spatial dependence is present in both the dependent variable and the error term.​ ​ My data set is over a period of 4 years, monthly data (54 periods)

Re: [R-sig-Geo] spatial autocorrelation in GAM residuals for large data set

2019-08-21 Thread Roger Bivand
M To: Elizabeth Webb Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] spatial autocorrelation in GAM residuals for large data set On Tue, 20 Aug 2019, Elizabeth Webb wrote: Hello, I have a large data set (~100k rows) containing observations at points (MODIS pixels) across the northern hemis

Re: [R-sig-Geo] spatial autocorrelation in GAM residuals for large data set

2019-08-20 Thread Elizabeth Webb
ds, what is an appropriate variant in this context? Elizabeth ___From: Roger Bivand Sent: Tuesday, August 20, 2019 4:43 PM To: Elizabeth Webb Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] spatial autocorrelation in GAM residuals for large data set On T

Re: [R-sig-Geo] spatial autocorrelation in GAM residuals for large data set

2019-08-20 Thread Roger Bivand
On Tue, 20 Aug 2019, Elizabeth Webb wrote: Hello, I have a large data set (~100k rows) containing observations at points (MODIS pixels) across the northern hemisphere. I have created a GAM using the bam command in mgcv and I would like to check the model residuals for spatial autocorrelatio

[R-sig-Geo] spatial autocorrelation in GAM residuals for large data set

2019-08-20 Thread Elizabeth Webb
Hello, I have a large data set (~100k rows) containing observations at points (MODIS  pixels) across the northern hemisphere.  I have created a GAM using the bam command in mgcv and I would like to check the model residuals for spatial autocorrelation.   One idea is to use the DHARMa package (

Re: [R-sig-Geo] Spatial autocorrelation help

2018-07-12 Thread Dechen Lham
Hi Orcun I am not quite sure if im doing this correctly but I do understand that i first need to check spatial autocorrelation occurs in my data. so i did this below steps and after that checked it again in best model residuals # Another approach to find SAC by creating neighbors first, then ge

Re: [R-sig-Geo] Spatial autocorrelation help

2018-07-11 Thread Orcun Morali
Hi Dechen, As for measuring spatial autocorrelation, one thing I noticed about your output is that you are using the randomization assumption in spdep::moran.test. Randomization assumption is not appropriate for Moran's I of regression residuals and spdep::lm.morantest is the function to corr

Re: [R-sig-Geo] Spatial autocorrelation help

2018-07-10 Thread Dechen Lham
Hi Patrick Thank you for your quick response and i went through your thesis and its very useful information. One thing that i was wondering was, you could potentially also use quadratic terms of the predictors which may have non-linear relation with the response variable right? rather than to u

Re: [R-sig-Geo] Spatial autocorrelation help

2018-07-10 Thread Patrick Schratz
Hi Dechen, it is very important to account for SAC in any model. This can be done in various ways. In log.reg it is common to include spatial autocorrelation structures that describe the underlying SAC. To do so, you can use mixed models, e.g. MASS::glmmPQL(). Also have a look at Wood (2017) Ge

[R-sig-Geo] Spatial autocorrelation help

2018-07-10 Thread Dechen Lham
Hello all, I would like some help in my problem below: I am running a logistic regression and my best model residuals has spatial autocorrelation (SAC) when checked as below and also on the raw data of the response type. My response is binary 0 and 1 (type of prey and to be predicted by sever

Re: [R-sig-Geo] spatial autocorrelation for categorical data.

2013-03-13 Thread Roger Bivand
On Wed, 13 Mar 2013, Lilis Husna wrote: Is there any spatial autocorrelation chek (like Moran's I) for categorical data? See joincount.test() joincount.multi() in spdep, and do read the help pages and the references named on the help pages, especially Cliff & Ord (1981) for the background. G

[R-sig-Geo] spatial autocorrelation for categorical data.

2013-03-12 Thread Lilis Husna
Is there any spatial autocorrelation chek (like Moran's I) for categorical data? Best Regards, Lilis Nurul Husna Institute of Statistics  Jakarta [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@r-project.org https://

[R-sig-Geo] Spatial autocorrelation

2012-11-04 Thread Ravichandra MONDRETI
Dear all, I have very recently started using R for analysing my spatial data. Is there any way to split the main transect in to smaller ones to check for autocorrelation at various lags or intervals. For example, I am trying to split the main transect (approximately of 20Km in length) consi

Re: [R-sig-Geo] Spatial autocorrelation

2012-10-30 Thread Ravichandra MONDRETI
Dear all, I have very recently started using R for analysing my spatial data. Is there any way to split the main transect in to smaller ones to check for autocorrelation at various lags or intervals. For example, I am trying to split the main transect (approximately of 20Km in length) consistin

Re: [R-sig-Geo] Spatial autocorrelation on a sphere

2012-07-31 Thread bebber
Edzer Pebesma-2 wrote > > Assuming this is currently not possible, I would try modify nlme::dist > to accept a spherical distance measure option, and have it call > sp::spDists; corSpher has a metric parameter. > I don't know how to access nlme::dist I tried typing nlme::dist into the console b

Re: [R-sig-Geo] Spatial autocorrelation on a sphere

2012-05-15 Thread Edzer Pebesma
Assuming this is currently not possible, I would try modify nlme::dist to accept a spherical distance measure option, and have it call sp::spDists; corSpher has a metric parameter. On 05/15/2012 09:55 PM, Dan Bebber wrote: > In the case where data are sampled on a sphere (e.g. the Earth) and the

[R-sig-Geo] Spatial autocorrelation on a sphere

2012-05-15 Thread Dan Bebber
In the case where data are sampled on a sphere (e.g. the Earth) and the spatial locations are denoted by latitude and longitude, is there a way of generating a spatial autocorrelation structure that can derive Euclidean distances from these coordinates? I imagine that corSpher(form = ~ latitude

[R-sig-Geo] spatial autocorrelation in linear environments

2012-05-13 Thread Maximiliano Sepulveda
Hi group, I am looking for a function and exampling code to run spatial autocorrelation tests but adapted to lineal habitats. My study area is a river where I set camera traps at random locations all in the riverbank. I am using occupancy models for prsence of some mammal species but I need a way t

Re: [R-sig-Geo] Spatial autocorrelation in GLM/GAM/CART binomial family

2011-04-29 Thread Arnaud Mosnier
: Subject: [R-sig-Geo] Spatial autocorrelation in GLM/GAM/CART binomial family Message-ID: Content-Type: text/plain Hi List, I have 1227 data plots regularly sampled in a grid of 1 x 1 Km in which species richness and abundance of 682 vascular plant species have been recorded. I

[R-sig-Geo] Spatial autocorrelation in GLM/GAM/CART binomial family

2011-04-28 Thread Federico Tomasetto
Hi List, I have 1227 data plots regularly sampled in a grid of 1 x 1 Km in which species richness and abundance of 682 vascular plant species have been recorded. I constructed also a database of environmental variables with GIS. My first goal was to compute a GLS model to explain species richn

[R-sig-Geo] Spatial autocorrelation structure

2011-02-03 Thread Arnaud Mosnier
Dear Geo-UseRs, I am trying to fit a linear model in lme considering the spatial autocorrelation structure of my data. I know that the correlation has a half-normal shape, so I use the function corGaus. Observations are coming from several surveys, done at various dates (sometimes several surveys