Distance Based Spatial Weights Matrix, condition on time

版本 1.0.0.0 (2.4 KB) 作者: Patrick Walsh
Creates either an inverse distance or distance-based SWM, which also excludes neighbors by date.
474.0 次下载
更新时间 2012/12/21

查看许可证

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.

引用格式

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0