Skip to content

lexcomber/GW-dists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

GW distance metric paper - code and data

This analysis is described in a paper soon to be submitted. The code and data are all described in the file GWDists_paper_code.R. Some of the file paths (setwd()) may have to be changed to reflect your local directory.

Paper Title: Distance metric choice can both reduce and induce collinearity in geographically weighted regression

Alexis Comber1, Khanh Chi2, Man Quang Huy3, Quan Nguyen4, Binbin Lu5, Hoang Huu Phe6 and Paul Harris7

1School of Geography, University of Leeds, LS2 9JT, UK
2GeoViet Consulting Co., Ltd, Hanoi, Vietnam
3Vietnam National University Hanoi
4National University of Civil Engineering, Hanoi, Vietnam
5Wuhan University, Wuhan, China
6Vinaconex R&D, Hanoi, Vietnam
7Rothamsted Research, North Wyke, EX20 2SB, UK\

Abstract

This paper explores the impact of different distance metrics on collinearity in local regression models such as Geographically Weighted Regression (GWR). Using a case study of house price data collected in Hà Nội, Vietnam, and by fully varying both power and rotation parameters to create different Minkowski distances, the analysis shows that local collinearity can be both negatively and positively affected by distance metric choice. The Minkowski distance that maximised collinearity in GWR was approximate to a Manhattan distance with (power = 0.70) with a rotation of 30, and that which minimised collinearity was parameterised with power = 0.05 and a rotation of 70. The results indicate that distance metric choice can provide a useful extra tuning component to address local collinearity issues in spatially varying coefficient modelling and that understanding the interaction of distance metric and collinearity can provide insight into the nature and structure of the data relationships. The discussion considers first, the exploration and selection of different distance metrics to minimise collinearity as an alternative to localised ridge regression, lasso and elastic net approaches. Second, it discusses the how distance metric choice could extend the methods that additionally optimise local model fit (lasso and elastic net) by selecting a distance metric that further helped minimise local collinearity. Third, it identifies the need to investigate the relationship between kernel bandwidth, distance metrics and collinearity as an area of further work. Keywords: GWR; distance metrics; model fit; collinearity.

November 2017

About

GW distance metric paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages