Package: stelfi 1.0.1

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], Marsden Fund 3723517 [fnd], Asian Office of Aerospace Research & Development FA2386-21-1-4028 [fnd]

stelfi_1.0.1.tar.gz
stelfi_1.0.1.zip(r-4.5)stelfi_1.0.1.zip(r-4.4)stelfi_1.0.1.zip(r-4.3)
stelfi_1.0.1.tgz(r-4.5-x86_64)stelfi_1.0.1.tgz(r-4.5-arm64)stelfi_1.0.1.tgz(r-4.4-x86_64)stelfi_1.0.1.tgz(r-4.4-arm64)stelfi_1.0.1.tgz(r-4.3-x86_64)stelfi_1.0.1.tgz(r-4.3-arm64)
stelfi_1.0.1.tar.gz(r-4.5-noble)stelfi_1.0.1.tar.gz(r-4.4-noble)
stelfi_1.0.1.tgz(r-4.4-emscripten)stelfi_1.0.1.tgz(r-4.3-emscripten)
stelfi.pdf |stelfi.html
stelfi/json (API)
NEWS

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

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

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

archivedpackagesr-universecpp

2.70 score 5 stars 183 downloads 17 exports 46 dependencies

Last updated 2 days agofrom:afbc5fec62 (on package/stelfi). Checks:12 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKApr 02 2025
R-4.5-win-x86_64OKApr 02 2025
R-4.5-mac-x86_64OKApr 02 2025
R-4.5-mac-aarch64OKApr 02 2025
R-4.5-linux-x86_64OKApr 02 2025
R-4.4-win-x86_64OKApr 02 2025
R-4.4-mac-x86_64OKApr 02 2025
R-4.4-mac-aarch64OKApr 02 2025
R-4.4-linux-x86_64OKApr 02 2025
R-4.3-win-x86_64OKApr 02 2025
R-4.3-mac-x86_64OKApr 02 2025
R-4.3-mac-aarch64OKApr 02 2025

Exports:fit_hawkesfit_hawkes_cbffit_lgcpfit_mhawkesfit_mlgcpfit_stelfiget_coefsget_fieldsget_weightsmesh_2_sfmeshmetricsshow_fieldshow_hawkesshow_hawkes_GOFshow_lambdasim_hawkessim_lgcp

Dependencies:classclassIntclicolorspaceDBIdplyre1071fansifarverfmeshergenericsggplot2gluegridExtragtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigproxyR6RColorBrewerRcppRcppEigenrlangs2scalessftibbletidyselectTMBunitsutf8vctrsviridisLitewithrwk

stelfi

Rendered fromstelfi.Rmdusingknitr::rmarkdownon Apr 02 2025.

Last update: 2025-04-02
Started: 2025-04-02