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

📄 fclosest_ar2.m

📁 空间统计工具箱
💻 M
字号:
function [bmax, srds, prhigher,emax, maxlik]=fclosest_ar2(x, y, clo)
%
%[alphamax, loglik, emax, bmax, srds, prhigher]=fclosest_ar2(x, y, closest)
%
%INPUTS:
%
%The matrix x represents n observations on k independent variables.
%
%The vector y represents n observations on the dependent variable.
%
%closest represents either a list of closest neighbor indices such as from fclosest_nn2 
%or a sparse adjacency matrix (s1 when loading smats.mat from fneighbors2).
%
%OUTPUT:
%
%alphamax is a scalar measuring spatial dependence 
%
%maxlik is a scalar giving the maximum of the profile log-likelihood
%
%emax is a n by 1 vector of closest neighbor residuals
%
%bmax is a k by 1 vector of regression parameter estimates
%
%srds is a k by 1 vector of the signed root deviances associated with bmax
%
%prhigher is the probability in repeated sampling of observing a higher srd
%
%NOTES:
%
%Closest neighbor dependence was studied in:
%
%Pace, R. Kelley, and Dongya Zou, 
%揅losed-Form Maximum Likelihood Estimates of Nearest Neighbor Spatial Dependence,

⌨️ 快捷键说明

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