pysal.explore.spaghetti.NetworkK

class pysal.explore.spaghetti.NetworkK(ntw, pointpattern, nsteps=10, permutations=99, threshold=0.5, distribution='poisson', lowerbound=None, upperbound=None)[源代码]

计算网络约束k统计量。这需要能够计算两点模式之间的距离矩阵。在这种情况下,将观察到一个,并模拟一个。

笔记

基于 [OY01] .

属性:
lam : 浮动

λ值

方法

computeenvelope () 计算信封的上下限
computeobserved () 计算最近观测值
computepermutations () 计算最近的排列
setbounds (最近) 设置上下限
validatedistribution () 支持统计分布
__init__(ntw, pointpattern, nsteps=10, permutations=99, threshold=0.5, distribution='poisson', lowerbound=None, upperbound=None)

初始化自身。请参阅帮助(键入(self))以获得准确的签名。

方法

__init__ \(ntw,pointpattern[,nsteps,…]) 初始化自身。
computeenvelope () 计算信封的上下限
computeobserved () 计算最近观测值
computepermutations () 计算最近的排列
setbounds (最近) 设置上下限
validatedistribution () 支持统计分布