Distance Based Spatial Weights Matrix, condition on time

Creates either an inverse distance or distance-based SWM, which also excludes neighbors by date.
471 Downloads
Aktualisiert 21. Dez 2012

Lizenz anzeigen

uses x,y coordinates to produce distance-based spatial weight matrices useful for spatial econometric regressions. Also conditions on time, so is particularly useful for hedonic regression. So, for
instance, if you are using a dataset of sales with a time horizon of a few years, you could say that homes sold over a
year before are not considered neighbors. Helps mimic the "comparable sales" approach to appraisal.
The user is asked to input x and y coordinates, as well as a lower and upper bound threshold for the neighborhood and the time window.

Zitieren als

Patrick Walsh (2024). Distance Based Spatial Weights Matrix, condition on time (https://www.mathworks.com/matlabcentral/fileexchange/39525-distance-based-spatial-weights-matrix-condition-on-time), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0