GithubHelp home page GithubHelp logo

gw-dists's Introduction

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

gw-dists's People

Contributors

lexcomber avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.