Skip to main content
4 votes

How to plot output from GWR in R

I've recently started working with GWR in R as well. This is what I've been doing demonstrated with a reproducible example. Hopefully it is correct and useful for others. You will also find good ...
rafa.pereira's user avatar
  • 1,267
3 votes
Accepted

Run a Geographically Weighted Logistic Regression in R

I am going to go ahead a speak up here and apologize in advance for being a wet blanket. First, I find it quite dubious to use a logistic model for GWR (as with the method itself but, that is another ...
Jeffrey Evans's user avatar
3 votes

Geographically Weighted Regression with overlapping polygons

Most spatial weight matrix schemes are ad-hoc structures and don't have much bearing on the final model. So you could try various things, as long as they have the right properties. For examples: ...
Spacedman's user avatar
  • 64.6k
3 votes

Exporting Spatial Data Frame of GWR results from R

There are write functions in maptools, which is the package that I assuming you are using since you did not provide this information, including the exact corollary, "writeSpatialShape". However, I ...
Jeffrey Evans's user avatar
2 votes

GWR - "significant" local regions?

It looks like ESRI has purposefully removed p-values from the software due to the dubious nature of a p-value when it comes to GWR. "I do know that our consultant's GWR software (Fotheringham, ...
bwp8nt's user avatar
  • 335
2 votes

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

No, it is not the same thing. This question has gone unanswered so I dug into it a bit, Based on the below excerpt from the ESRI website coupled with an excerpt from Fotheringham. It seems to me that ...
bwp8nt's user avatar
  • 335
2 votes

Interpreting results of GWR - what do the values mean?

I had the same doubt myself, and contrary to what some other people suggested you to do in the answers above, from the source code it is not straightforward what all those concepts mean. However, ...
Perla Rivadeneyra's user avatar
2 votes

Exporting Spatial Data Frame of GWR results from R

Since you are using maptools to read the data, the appropriate export function is writeSpatialShape: library(maptools) library(GWmodel) bg <- readShapeSpatial("BG_Div_NO2_Solar_Nozero.shp") ...
Lee Hachadoorian's user avatar
1 vote
Accepted

Golden section bandwidth seach in GWR always returning nearly all neightbors

The article below helped me understand better this topic. FOTHERINGHAM, A. S.; YU, H.; WOLF, L. J.; OSHAN, T. M.; LI, Z. On the notion of ‘bandwidth’ in geographically weighted regression models of ...
Pedro Caliari's user avatar
1 vote
Accepted

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

Check the correlation of covariates with your target variable. According to Rossiter, 2018, (Technical Note: Co-kriging with the gstat package of the R environment for statistical computing): ...
Nikos's user avatar
  • 1,033
1 vote

R: Automatic selection of covariates in GWR

Here is a riff on @Spacedman's approach that provides an all parameters combination formula object that can be passed to lapply to iterate models. p <- names(block.data)[-which(names(block.data) %...
Jeffrey Evans's user avatar
1 vote
Accepted

R: Automatic selection of covariates in GWR

You can construct and manipulate formulae as character objects and convert them to formulae. Here's something: covars = names(block.data)[-1] L = unlist(sapply(1:4, function(n)combn(covars, n, ...
Spacedman's user avatar
  • 64.6k
1 vote

Interpreting Geographically Weighted Regression (GWR)

The high negative and positive StdResiduals are areas that the model poorly fits the data. They do not indicate positive or negative association. See the ArcGIS documentation here, where you will see ...
jgm_GIS's user avatar
  • 640
1 vote

Geographically weighted regression with QGIS / R / etc?

Have you tried the standalone GWR4 app? It was developed by Fotheringham et al. It seems that it is missing a permanent home on the web right now, but I found this link: https://gwrtools.github.io/...
RT Davis's user avatar
1 vote
Accepted

Generate spatial weight matrix from file in ArcGIS

It seems as though the table must be formatted with the unique ID field in order (or at least grouped). In the Weights.py script which is throwing the error there is a function that reads the table ...
Jacob F's user avatar
  • 964
1 vote

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

Sorry to spoil the party but, there are several issues with the modeling approach that you are describing. 1) It is unlikely that you have enough observations to adequately represent global or ...
Jeffrey Evans's user avatar
1 vote

GWR with dependent and explanatory variables in different files

Geographic Weighted Regression is used to look at how a process may vary across space, shown by the varying regression coefficients. So you can use this to potentially look at how your dependent ...
Liam G's user avatar
  • 2,156
1 vote

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

Is the gwmodel$SDF object not populated? The model object should contain a SpatialPixelsDataFrame object with the model estimates. It is very difficult to provide advice when you do not show us what ...
Jeffrey Evans's user avatar
1 vote

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

If there is a high level of spatial homogeneity in your data, you can have multicolinearity within a single variable. Since GWR is, in effect, a local moving window regression, the multicolinearity ...
Jeffrey Evans's user avatar
1 vote

Null values in Geographically Weighted Regression Analysis

You can try to guess the 'null' values from the surrounding data. That would be better than leaving them out, because that way you wont lose data. Of course you have to be carefull in how you guess ...
LMB's user avatar
  • 1,166

Only top scored, non community-wiki answers of a minimum length are eligible