简体   繁体   中英

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.

Unfortunately, I cannot find related code. Does {spatstat} provide an algorithm to simulate such a process?

On pp. 24-25 in "Analysing point patterns on networks — A review" * by the aforementioned authors and Tilman M. Davies one can read:

"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, [...]".

__

*You need sth. like an academic vpn to view and download the pdf without any expense.

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.

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 . 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).

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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