Package: stelfi 1.0.2

Charlotte M. Jones-Todd

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

Authors:Charlotte M. Jones-Todd [aut, cre, cph], Alec van Helsdingen [aut], Xiangjie Xue [ctb], Joseph Reps [ctb], Marsden Fund 3723517 [fnd], Asian Office of Aerospace Research & Development FA2386-21-1-4028 [fnd]

stelfi_1.0.2.tar.gz
stelfi_1.0.2.tar.gz(r-4.7-arm64)stelfi_1.0.2.tar.gz(r-4.7-x86_64)stelfi_1.0.2.tar.gz(r-4.6-arm64)stelfi_1.0.2.tar.gz(r-4.6-x86_64)
stelfi_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
stelfi/json (API)
NEWS

# Install 'stelfi' in R:
install.packages('stelfi', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cmjt/stelfi/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

cppopenmp

2.00 score 6 scripts 470 downloads 19 exports 49 dependencies

Last updated from:08eaacde16. Checks:2 ERROR, 4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR285
linux-devel-x86_64OK306
source / vignettesOK390
linux-release-arm64ERROR298
linux-release-x86_64OK302
wasm-releaseOK200

Exports:compensator_differencesfit_hawkesfit_hawkes_cbffit_lgcpfit_mhawkesfit_mlgcpfit_stelfiget_coefsget_fieldsget_weightsmesh_2_sfmeshmetricsshow_fieldshow_hawkesshow_hawkes_GOFshow_lambdashow_multivariate_hawkessim_hawkessim_lgcp

Dependencies:classclassIntclicpp11DBIdplyre1071farverfmeshergenericsggplot2gluegridExtragtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixpillarpkgconfigproxypurrrR6RColorBrewerRcppRcppEigenrlangs2S7scalessfspsplancsstringistringrtibbletidyrtidyselectTMBunitsutf8vctrsviridisLitewithrwk

stelfi

Rendered fromstelfi.Rmdusingknitr::rmarkdownon Jun 12 2026.

Last update: 2025-09-15
Started: 2023-04-06