InvSWM_F(xcoord,ycoord,lower,upper,RowStdOpt)
Uses x,y coordinates to produce distance-based spatial weight matrices useful for spatial econometric regressions. The user is asked to input x and y coordinates, as well as a lower and upper bound threshold for the neighborhood.
The code is adapted from a previous version by Shawn Bucholtz of the USDA. A correction is made to set the (i,i) th elements (the diagonals) equal to zero.
Unlike other similar programs, this one can be used on very large datasets.
Citar como
Patrick Walsh (2024). InvSWM_F(xcoord,ycoord,lower,upper,RowStdOpt) (https://www.mathworks.com/matlabcentral/fileexchange/27526-invswm_f-xcoord-ycoord-lower-upper-rowstdopt), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
Etiquetas
Agradecimientos
Inspiración para: Inverse and determinant of square matrix
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.