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

📄 fnn_mex2.m

📁 空间统计工具箱
💻 M
字号:
function tnnmat=fnn_mex2(xcoord, ycoord, ms, n, istart)
%
%tnnmat=fnn_mex2(xcoord, ycoord, ms, n, istart)
%
%This function computes m spatiotemporal nearest neighbors for each observation from observation 1 to (n-istart). 
%This matlab function calls a Fortran 90 Mex function, tnmex4.dll. For other platforms, the fortran source code is
%available in a subdirectory within the space_time subdirectory under the examples subdirectory.
%
%INPUT:
%
%xcoord, ycoord are n by 1 vectors ordered by time with observation 1 the most recent and observation n the oldest.
%
%ms is the number of nearest neighbors previous in time
%
%n is the number of observations
%
%istart is where to begin computing temporal nearest neighbors. This allows istart observations to exist before beginning, 
%and istart>ms.
%
%
%OUTPUT:
%
%tnnmat is a n by ms matrix of spatiotemporal nearest neighbors.
%
%
%NOTES:
%
%
%A similar function was used 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 + -