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: |
1.0.1 |
Depends: |
R (≥ 4.3.0) |
Imports: |
TMB (≥ 1.9.6), sf (≥ 1.0.14), fmesher, Matrix, ggplot2 (≥
3.4.3), dplyr (≥ 1.1.3), gridExtra (≥ 2.3) |
LinkingTo: |
TMB, RcppEigen |
Suggests: |
testthat (≥ 3.1.10), rmarkdown, parallel, spatstat.utils, spatstat.geom, hawkesbow, covr, knitr |
Published: |
2023-10-24 |
DOI: |
10.32614/CRAN.package.stelfi |
Author: |
Charlotte M. Jones-Todd
[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 gmail.com> |
BugReports: |
https://github.com/cmjt/stelfi/issues |
License: |
GPL (≥ 3) |
URL: |
https://github.com/cmjt/stelfi/ |
NeedsCompilation: |
yes |
Materials: |
NEWS |
CRAN checks: |
stelfi results |