stelfi: Hawkes and Log-Gaussian Cox Point Processes Using Template Model Builder

Fit Hawkes and log-Gaussian Cox process models with extensions. Introduced in Hawkes (1971) <doi:10.2307/2334319> a Hawkes process is a self-exciting temporal point process where the occurrence of an event immediately increases the chance of another. We extend this to consider self-inhibiting process and a non-homogeneous background rate. A log-Gaussian Cox process is a Poisson point process where the log-intensity is given by a Gaussian random field. We extend this to a joint likelihood formulation fitting a marked log-Gaussian Cox model. In addition, the package offers functionality to fit self-exciting spatiotemporal point processes. Models are fitted via maximum likelihood using 'TMB' (Template Model Builder). Where included 1) random fields are assumed to be Gaussian and are integrated over using the Laplace approximation and 2) a stochastic partial differential equation model, introduced by Lindgren, Rue, and Lindström. (2011) <doi:10.1111/j.1467-9868.2011.00777.x>, is defined for the field(s).

Version: 0.0.1
Depends: R (≥ 4.1.0)
Imports: TMB (≥ 1.7.20), sf (≥ 1.0.8), Matrix, ggplot2 (≥ 3.3.6), dplyr (≥ 1.0.8), gridExtra (≥ 2.3)
LinkingTo: TMB, RcppEigen
Suggests: INLA (≥ 21.08.31), testthat (≥ 3.0.0), rmarkdown, maptools, parallel, spatstat.utils, spatstat.geom, rgdal, hawkesbow
Published: 2022-11-03
Author: Charlotte M. Jones-Todd ORCID iD [aut, cre, cph] (Charlotte Jones-Todd wrote and continued developmend of the main code.), Alec van Helsdingen [aut] (Alec van Helsdingen wrote the Hawkes templates and extended self-exciting TMB templates), Xiangjie Xue [ctb] (Xiangjie Xue worked the early spatio-temporal self-exciting TMB templates), Marsden Fund 3723517 [fnd], Asian Office of Aerospace Research & Development FA2386-21-1-4028 [fnd]
Maintainer: Charlotte M. Jones-Todd <cmjonestodd at>
License: GPL (≥ 3)
NeedsCompilation: yes
Materials: NEWS
CRAN checks: stelfi results


Reference manual: stelfi.pdf


Package source: stelfi_0.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): stelfi_0.0.1.tgz, r-oldrel (arm64): stelfi_0.0.1.tgz, r-release (x86_64): stelfi_0.0.1.tgz, r-oldrel (x86_64): stelfi_0.0.1.tgz


Please use the canonical form to link to this page.