⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fsym_neighbors2.m

📁 空间统计工具箱
💻 M
字号:
function [wswnn, wwsnn, wmatnn]=fsym_neighbors2(m, rho)
%
%[wswnn, wwsnn, wmatnn]=fsym_neighbors2(m, rho)
%
%This function takes the individual neighbor matrices and manipulates
%these to form  symmetric, normalized weight matrices based on m nearest
%neighbors.
%
%INPUT:
%
%The scalar m which gives how many neighbors to use
%
%The scalar rho which sets the geometric weighting (1-rho)=decay
%
%The file smats.mat on disk from a previous invocation of fneighbors2.
%
%OUTPUT:
%
%wswnn is a symmetric n by n spatial matrix similar to (same eigenvalues) the asymmetric row-stochastic wwsnn
%
%wwsnn is a asymmetric row-stochastic weight matrix
%
%wmat is the n by n diagonal matrix so that wmat*wmat*s is row-stochastic
%and wmat*s*wmat is a symmetric matrix.
%
%NOTES:
%
%One can optimize the likelihood over neighbors and weighting of neighbors
%as in:
%
%Pace, R. Kelley and Ronald Barry, O.W. Gilley, C.F. Sirmans, 
%揂 Method for Spatial-temporal Forecasting with an Application to Real Estate Prices,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -