在Geoda中做Space>Univariate Moran’I分析时,只需要一个变量。
在matlab中下载的jplv7包中的moran m中却需要两个变量啊
function result = moran(y,x,W);
% PURPOSE: computes Moran's I-statistic for spatial correlation
% in the residuals of a regression model
% ---------------------------------------------------
% USAGE: result = moran(y,x,W)
% where: y = dependent variable vector
% x = independent variables matrix
% W = contiguity matrix (standardized or unstandardized)
X和Y分别表示什么啊?
求大神指点、、、