简体   繁体   English

线性网络上泊松聚类过程的模拟

[英]Simulation of Poisson cluster process on linear network

On pp. 73-74 in "“Stationary” point processes are uncommon on linear networks" * by Adrian Baddeley, Gopolan Nair, Suman Rakshit, and Greg McSwiggan, the authors introduce a Poisson cluster process on a linear network and subsequently demonstrate a simulation.在 Adrian Baddeley、Gopolan Nair、Suman Rakshit 和 Greg McSwiggan 所著的““线性网络上的“平稳”点过程不常见”的第 73-74 页中,作者介绍了线性网络上的泊松聚类过程,随后演示了一个模拟.

Unfortunately, I cannot find related code.不幸的是,我找不到相关的代码。 Does {spatstat} provide an algorithm to simulate such a process? {spatstat}是否提供了一种算法来模拟这样的过程?

On pp. 24-25 in "Analysing point patterns on networks — A review" * by the aforementioned authors and Tilman M. Davies one can read:在上述作者和 Tilman M. Davies 的“分析网络上的点模式 - 评论”中的第 24-25 页上,可以阅读:

"Point process models which exhibit clustering (positive association between points), such as Poisson cluster processes and Cox processes [...], can easily be constructed on a linear network, [...]". “表现出聚类(点之间的正关联)的点过程模型,例如 Poisson 聚类过程和 Cox 过程 [...],可以很容易地在线性网络上构建,[...]”。

__ __

*You need sth. *你需要某事。 like an academic vpn to view and download the pdf without any expense.像学术 VPN 一样免费查看和下载 pdf。

It would be easier to ask the authors directly.直接询问作者会更容易。

Here is some code (written by Greg McSwiggan) to generate a Thomas cluster process on a network.这是一些代码(由 Greg McSwiggan 编写)用于在网络上生成 Thomas 集群进程。

rThomaslpp <- function(L, kappa, mu, sigma) {
 X <- rpoislpp(kappa, L)
 Y <- density(X, sigma)
 Y <- eval.linim(Y * mu)
 Z <- rpoislpp(Y, L)
 return(Z)
}

The network is L .网络是L The parent intensity is kappa (points per unit length), the mean number of offspring per parent is mu (dimensionless), and the cluster size is sigma (length units).父级强度是kappa (每单位长度的点数),每个父级的平均后代数是mu (无量纲),簇大小是sigma (长度单位)。

Example:例子:

require(spatstat)
X <- rThomaslpp(simplenet, 4, 6, 0.07)
plot(X)

This code will be added to the next version of the package spatstat.linnet .此代码将添加到 package spatstat.linnet的下一版本中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM