
Log-linear Poisson point process: Berman-Turner fit and simulation
Source:R/PoissonProcessFit.R
PoissonProcessFit.Rd\(\log \lambda(u) = \theta^\top z(u)\) with z the monomials in the
coordinates up to degree (degree = 0 is the homogeneous
process). The likelihood is approximated by the Berman-Turner quadrature
(data points plus the nx by ny grid of tile centres, each
weighted by its tile's area shared among the quadrature points in that
tile) and maximised by Newton's method; this is
spatstat.model::ppm on the same quadrature scheme. With
simulate > 0, patterns are drawn by Lewis-Shedler thinning of a
homogeneous process at the largest fitted intensity over the corners and
quadrature points (Philox streams, identical to the Python arm).
Usage
PoissonProcessFit(
points,
window,
degree = 1L,
nx = 12L,
ny = 12L,
simulate = 0L,
seed = 0,
max_iter = 100L
)