Questions tagged [geographically-weighted-regression]

GWR or Geographically Weighted Regression is a local version of spatial regression that generates parameters disaggregated by the spatial units of analysis.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Is it possible to get identical local R2 values for different regions in GWR?

I am running GWR using Oshan's python code. I tried to adapt it to a temporal variation of GWR, iterating over different months in my dataset. My study area is divided into NUTS3 regions To extract ...
user208856's user avatar
0 votes
0 answers
44 views

Regarding Geographically Weighted Regression (GWR) for non-linear problems

I am new to this topic. I am referring to this Geographically Weighted Regression tutorial. From my understanding, GWR does a weighted regression to model the dependencies between exploratory and ...
gis_grad_student's user avatar
2 votes
1 answer
619 views

Run a Geographically Weighted Logistic Regression in R

I have the following data set containing socioeconomic variables: > glimpse(df) Rows: 730,099 Columns: 9 $ id <int> 25500, 25501, 25502, 25503, 25504, 25505, 25506, 25507, 25508, 25509, ...
Saïd Maanan's user avatar
0 votes
0 answers
69 views

Coordinate System - South America - GWR4

I'm doing a regression in GWR4, and after selecting my X and Y coordinates / lat-long, I need to specify the spherical or projected option. My data comes from QGis, which are in the EPSG 4674 SIRGAS ...
Lays Silva de Azevedo's user avatar
1 vote
0 answers
144 views

GWR model not working [closed]

I am trying to build a GWR regression model. The context is a study about air pollution and children+families. The error is new data matrix rows mismatch I'm not sure what is wrong with my data. # ...
GeographyGo's user avatar
0 votes
1 answer
90 views

Spatial statistics -- geographically weighted regression

I have some count data (electric vehicle chargers). I'm trying to model its relationship with % of cars that are electric within an area. They show linear correlation. Normally I would use Poisson ...
Lord_Verulam's user avatar
1 vote
2 answers
120 views

Golden section bandwidth seach in GWR always returning nearly all neightbors

I'm running binary GWR models in MGWR and GWR4, and regardless of the optimization criterion (AICc, BIC, CV) for adaptative KNN, the softwares are always choosing N-1 nearest neighbors, or close ...
Pedro Caliari's user avatar
0 votes
1 answer
160 views

Adding kriging results back to a GWR model in R?

How can I add the kriging results of a downscaling process back to a GWR model? Basically, I have 2 raster, 1 at 400m (let's call it x1) resolution and 1 at 100m resolution. I upscaled the latter to ...
Dolby's user avatar
  • 91
1 vote
1 answer
335 views

Geographically weighted area-to-area Regression CoKriging for raster downscaling in R?

this will be probable a series of questions, so in this one I will try to set the big picture. I want to perform geographically weighted area-to-area regression Cokriging (GWATARCoK) to downscale 1 ...
Dolby's user avatar
  • 91
0 votes
2 answers
157 views

R: Automatic selection of covariates in GWR

I am performing geographically weighted regression (GWR) and I have 4 covariates and 1 dependent variable. I want to find the best combination of covariates that yields the lowest AIC score. But ...
Dolby's user avatar
  • 91
3 votes
1 answer
740 views

Interpreting Geographically Weighted Regression (GWR)

I have a question. As you know, we use Geographically Weighted Regression (GWR) to discover the association between exploratory and dependent variables. Now the question: Do the standardized residual ...
Alireza's user avatar
  • 61
0 votes
1 answer
304 views

Big data and spatial regression: how to make spml more efficient in R?

I am running a spatial panel regression in R using spml from package splm. When I conduct this on about 1/200th of my data, the program executes. But when I try to do so on a third of my data, R uses ...
C. Ashley's user avatar
  • 405
3 votes
1 answer
975 views

Interpreting results of GWR - what do the values mean?

I used R to run a Geographically Weighted Regression (GWR) model. The resulting model comes with a bunch of values that are given in a table. These are: sum.w X.Intercept, X.Intercept_se (standard ...
the_chimp's user avatar
  • 883
1 vote
0 answers
187 views

Difference between GWR in GTWR addin and GWR tool in ArcGIS

I implemented geographically-weighted-regression (GWR) by GWR tool in ArcGIS and bandwidth result is 20307 and next again implement GWR by GTWR addin in ArcGIS and bandwidth result is 0.188 what is ...
saeedzali's user avatar
1 vote
0 answers
890 views

GWR: "Local R2" vs R2

GWR: What is the difference between "Local R2" and R2 is the result of GWR. In the output table, I have an R2=%70 but in another table, the maximum Local R2 has been reported as %21.
user287963's user avatar
1 vote
0 answers
478 views

Is there an R function for creating spatial weight matrix for “spatial difference in differences” method?

I am trying to apply "spatial difference in differences" method in R for a US county's block groups (n block groups) over 2 different times (2000 and 2015). In order to do this spatial ...
Faizeh Hatami's user avatar
1 vote
0 answers
349 views

What is the difference between spatial heterogeneity and spatial nonstationarity?

Until recently I though both terms refer to the same concept. Most scientific literature seems to use these terms also interchangibly. However, here the authors say: Spatial heterogeneity refers ...
Funkwecker's user avatar
0 votes
0 answers
27 views

Joining points to polygons (Tobacco Retailers to census tracts)

I'm attempting to join points to polygons but I fear it is severely skewing my analysis. I did a spatial join to join the retailers to their respective tracts. However, when I do spatial analysis ...
Michael C's user avatar
1 vote
0 answers
56 views

How to include duplicate samples (same locations, different temporal sampling) in Geographically Weighted Logistic Regression? [closed]

I want to assess local most important predictors for a specific event within a region. The same locations (grid) were all sampled in two different time occasions. I am assuming predictors to be ...
lcz13pt's user avatar
  • 11
2 votes
1 answer
220 views

Geographically Weighted Regression with overlapping polygons

Is it statistically correct (or possible at all) to calculate a spatial regression with (partly) overlapping spatial areas? I have market areas as the spatial unit with different sociodemographic, ...
Mapos's user avatar
  • 567
1 vote
1 answer
384 views

Generate spatial weight matrix from file in ArcGIS

I am trying to create a spatial weight matrix from an existing file in ArcGIS. I need to use another file, as opposed to generate the weights in Arc, because I define non-standard weights. The ...
Doon_Bogan's user avatar
1 vote
1 answer
2k views

Problem with aes and ggplot2 while plotting gwr/aes length

Having trouble with the following code while doing a Geo-regression MF <- read.csv("MF.csv", sep=",") modelo1 <- lm(MF$MFALC_15_2 ~ MF$MFEFF2015+MF$agro1315+MF$MEDALC+MF$density) summary(...
Pedro Iora's user avatar
1 vote
0 answers
80 views

Google maps: weighting of data

When you create a map in Google Fusion Tables, there's an option to weight your geographical data points against data in another column. What is the math behind this weighting?
user47498's user avatar
0 votes
1 answer
137 views

What is the W_{variablename} variable in GeoDa's spatial lag model?

What is the W_{variablename} variable in GeoDa's spatial lag model output? The geoda workbook does not give any explanation. As far as my knowledge goes a spatial lag regression model does not need ...
LMB's user avatar
  • 1,166
1 vote
1 answer
266 views

Could the result of GWR regression be valid when the number of feature class used in the analysis is not up to 30

I am using Spatial Statistics tool (GWR regression)of the ArcGIS 10.3 for my PhD research, the smallest geographical area in the study is called a ward. There are 27 wards in the study area, these ...
Salisu Abubakar's user avatar
0 votes
1 answer
383 views

GWR with dependent and explanatory variables in different files

I have a point shapefile (let's say A) with pollution measures (let's say Y). My hypothesis is that pollution at theses locations is primarily driven by nearby industrial units and not by activities ...
DotPi's user avatar
  • 779
1 vote
1 answer
501 views

Estimating kernel bandwidth function with cross-validation gwrr package?

I am relatively new to R. I am attempting to use the gwrr package because I suspect that local collinearity may be an issue in my geographic weighted regression model. If I am not mistaken, I first ...
Smky29's user avatar
  • 11
1 vote
0 answers
458 views

Small sample size for geographically weighted regression; limitations

I am studying West Nile Virus risk factors in a specific county using mosquito surveillance data over a ten year study period. The highest resolution of the mosquito data that could be obtained was at ...
Elizabeth Anne's user avatar
1 vote
1 answer
2k views

Using R to do logistic geographically weighted regression(GWR) prediction

I'm using the R package "GWmodel" to do the logistic GWR, but this package doesn't provide the prediction function for generalized GWR(Binomial/Poisson). How can I do the Logistic GWR prediction using ...
hiyu's user avatar
  • 11
2 votes
0 answers
475 views

Exploring the association between two variables on QGIS

I am doing a project on primate electrocutions. I have primate population density data - in the form of point data for each troop, and in the attribute table I have the total number of monkeys for ...
Lydia Katsis's user avatar
1 vote
1 answer
215 views

Assesing covariate significance in geographically weighted logistic regression?

In a logistic regression the significance (p) of each covariate can be calculated. For the case of a geographically weighted logistic regression (GWLR), I currently am working on a model for event ...
LMB's user avatar
  • 1,166
3 votes
1 answer
4k views

How to plot output from GWR in R

Although I've a regular r user I have only ever computed GWR in arcgis, and now I'm using R I'm just a little confused. I seem to have got my GWR results and now need to go about plotting them on a ...
Henry Cann's user avatar
1 vote
0 answers
664 views

Interpolating geographically weighted regression (GWR) - fit to raster?

Using the spgwr package I followed this tutorial and found a way to interpolate the result to a raster layer (gwr on pixel/raster data using the meuse data set, further down the script). But the ...
parallax's user avatar
  • 1,482
1 vote
1 answer
4k views

Geographically weighted regression with QGIS / R / etc? [closed]

I have a small project where I'd like to investigate the relationship between number of events (many thousand x-y points) in a city and the rent of each neighbourhood (around 50 x-y centroid points of ...
the_t_test_1's user avatar
3 votes
2 answers
1k views

Exporting Spatial Data Frame of GWR results from R

To export Spatial Data Frame of GWR results from R do I need to use readShapeSpatial? bg<-readShapeSpatial("BG_Div_NO2_Solar_Nozero.shp") df.bg <- as.data.frame(bg) df.bg.spdf <- ...
bkGeog's user avatar
  • 79
1 vote
1 answer
1k views

Geographically Weighted Regression - Problem to run model with floating explanatory variables

Can anybody tell me please why I cannot run the GWR model in ArcGIS 10.3 with a floating explanatory variable? When I convert the floating explanatory variable in an integer variable, then, the ...
Kazi Masel 's user avatar
1 vote
0 answers
557 views

GWR- interpreting standard residual and local R-square

I have run GWR for a layer with polygons. For some features the Std Residual has high value as well as the local R-square. How is this possible? If std residual is high, the predicted value will ...
Ilias Machairas's user avatar
3 votes
2 answers
3k views

Interpreting result of Geographically Weighted Regression (GWR)?

I want to use the Geographically Weighted Regression (GWR) to model local relationships between my dependent variable and a set of independent variables. When running GWR in ArcGIS, the coefficients ...
the_chimp's user avatar
  • 883
4 votes
1 answer
2k views

GWR - "significant" local regions?

I ran a Geographically Weighted Regression (GWR) model to find out, in which local regions my independent variables have a strong, moderate or weak relationship. After doing so, I only want to focus ...
the_chimp's user avatar
  • 883
1 vote
1 answer
917 views

Interpreting GWR Result - Issue

I used the Geographically Weighted Regression (GWR) to find out which independent variables lead to crime and how they vary over the space. After a literature review, I ran a global Ordinary Least ...
the_chimp's user avatar
  • 883
1 vote
0 answers
105 views

Performing Geographic Weighted Regression (GWR) in Java?

Is there any existing GWR (Geographic Weighted Regression) packages in Java? The packages should be able to conduct the basic GWR, the bandwidth optimation and some significance test.
seifer_08ms's user avatar
4 votes
2 answers
153 views

Creating georeferenced random data in Python/R? [closed]

I'm writing a dissertation on different parameter settings in GWR . In order to perform tests I'd need the availability of geo-referenced data that show some sort of spatial correlation (i.e. values ...
Arslan's user avatar
  • 41
1 vote
1 answer
1k views

Normality, Ordinary Least Squares (OLS) and Geographically Weighted Regression (GWR)

Most of the publications I have reviewed, conduct both OLS and GWR for comparison, and prior to analysis, ensure dependent and explanatory variables are normally distributed. Can someone explain why ...
I Heart Beats's user avatar
3 votes
1 answer
697 views

Determining degrees of freedom for Geographically Weighted Regression (GWR) in ArcMap?

I'm doing Geographically Weighted Regression (GWR) analysis in ArcMap and need the degrees of freedom for the model in order to calculate p values. The summary does not list degrees of freedom, but ...
Zoe's user avatar
  • 39
2 votes
0 answers
933 views

R geographically weighted regression with negative binomial distribution

I'm trying to find a R package that allows me to do geographically weighted negative binomial regression. I'm aware there's 'spgwr' and 'glm.nb' package. But is there a package that combines the two? ...
Sui's user avatar
  • 21
2 votes
1 answer
1k views

Geographically Weighted Regression Steps

I am looking for either an answer or a resource that will outline the steps I need to take to perform a GWR, including screening variables and the interpretation. I have access to ArcMap with all ...
I Heart Beats's user avatar
2 votes
0 answers
136 views

Ordinary Least Squares Checks Prior to Geographically Weighted Regression and what to do when the Jarque–Bera Test is Significant

I have read that the following 6 criteria need to be met for the OLS model with respect to variables prior to performing a GWR on them: (Is this correct?) and ... 1) Spatial Autocorrelation (my ...
I Heart Beats's user avatar
3 votes
1 answer
2k views

Geographically Weighted Regression Using the Poisson Distribution

From my reading so far, GWR uses the Gaussian or bisquare distribution. My dependent and explanatory variables are rates. I was reading Chapter 12 of Spatial Statistical Data Analysis for GIS Users by ...
I Heart Beats's user avatar
2 votes
1 answer
196 views

Screening Variables for GWR?

I was wondering if there is a list of steps I can take to screen my variables for assumption violations prior to using them in my GWR. I have watched this video tutorial : https://www.youtube.com/...
I Heart Beats's user avatar
12 votes
1 answer
685 views

Null values in Geographically Weighted Regression Analysis

Some of my explanatory variables have a few null values for certain polygons. Can Geographically Weighted Regression Analysis handle these, or should I remove the whole polygon and all data (...
I Heart Beats's user avatar