Skip to main content
Filter by
Sorted by
Tagged with
3 votes
0 answers
53 views

I am trying to estimate a spatial lag model with the package 'spdep' in R. I am using the function 'lagsarlm'. It seems that this function does not natively support regression weights (unlike for ...
Norbert's user avatar
  • 31
4 votes
1 answer
218 views

I'm running a spatial regression (SAR: spatial autoregressive regression) in R using the spmodel package. My dataset is a sf object formed by centroids. This dataset has 100'781 observations, and I ...
Adriana Castillo Castillo's user avatar
0 votes
1 answer
722 views

I'm trying to run a Spatial Durbin Model for a spatial panel data. My idea is to run the dependent variable y over my independent variables x1 and x2. I've tried so many options but all of them give ...
Adriana Castillo Castillo's user avatar
0 votes
0 answers
183 views

I've been trying to do spatial regressions for a paper. Now I have the problem that I need contiguity or inverse distance matrixes for this. I've been using an official shapefile for the communities ...
Timo 's user avatar
  • 31
1 vote
1 answer
555 views

I am fitting a Spatial Error Model using the errorsarlm() function in the spdep library. The Breusch-Pagan test for spatial models, calculated using the bptest.sarlm() function, suggest the presence ...
Orlando Sabogal's user avatar
0 votes
1 answer
2k views

I am trying to fit my data with the stats model OLS method. While following from a tutorial, imported all the necessary libraries; from scipy import stats import statsmodels.formula.api as sm import ...
Winnie Okuta's user avatar
1 vote
1 answer
821 views

My question relates to the functions errorsarlm(), lagsarlm() and sacsarlm() of the "spdep" package. I would like to test the residuals of a regression created by one of the functions above ...
moellivm's user avatar
1 vote
1 answer
229 views

I would like to employ a spatial regression model, using the spreg package in Python. My data consists of numeric variables, but I also have a categorical land cover variable (with 7 classes) that I ...
cordoba27's user avatar
3 votes
0 answers
442 views

I am trying to fit a mixed-effect model with a spatiotemporal correlation structure using lme {nlme}. The data comprises 37936 lon (x) + lat (y) grid-cells (18968 male + 18968 female) with density (...
Sands's user avatar
  • 45
6 votes
1 answer
996 views

I am looking for an R package which can run "Spatial Vector Autoregression". tandfonline.com/doi/full/10.1080/17421770701346689 According to Chen and Conley (2001), this is a "vector ...
Eric's user avatar
  • 501
2 votes
1 answer
795 views

I have a dataset for which I implement a regression model and from which I assume that the coefficients vary locally. If a spatial non-stationarity is given, it makes sense to run a local regression ...
the_chimp's user avatar
  • 265
1 vote
0 answers
1k views

I have not much time left to run my spatial regression model, thus I would be thankful for help. I do not know how to run impacts function for spatial durbin model (.lagsarlm) so that I can see the p-...
MikKleczewski's user avatar
0 votes
0 answers
711 views

I'm running a spatial error model on a large dataset (n=26,000) for a hedonic price analysis. I have built a nearest neighbor (k=10) spatial weights file and listw object. However, when I try running ...
emereif's user avatar
2 votes
1 answer
474 views

I am using a spatial lag and durbin regression models and I would like to estimate the standard errors of the impacts. Any ideas on how to do this? Reproducible example below using a durbin model # ...
rafa.pereira's user avatar
  • 13.9k
3 votes
1 answer
876 views

I am using spdep to run a spatial regression using a Durbin lag model. This type of model returns direct, indirect and total effects for each regression coefficient and their level of significance. Is ...
rafa.pereira's user avatar
  • 13.9k