spatstat.model: Parametric Statistical Modelling and Inference for the 'spatstat' Family

Functionality for parametric statistical modelling and inference for spatial data, mainly spatial point patterns, in the 'spatstat' family of packages. (Excludes analysis of spatial data on a linear network, which is covered by the separate package 'spatstat.linnet'.) Supports parametric modelling, formal statistical inference, and model validation. Parametric models include Poisson point processes, Cox point processes, Neyman-Scott cluster processes, Gibbs point processes and determinantal point processes. Models can be fitted to data using maximum likelihood, maximum pseudolikelihood, maximum composite likelihood and the method of minimum contrast. Fitted models can be simulated and predicted. Formal inference includes hypothesis tests (quadrat counting tests, Cressie-Read tests, Clark-Evans test, Berman test, Diggle-Cressie-Loosmore-Ford test, scan test, studentised permutation test, segregation test, ANOVA tests of fitted models, adjusted composite likelihood ratio test, envelope tests, Dao-Genton test, balanced independent two-stage test), confidence intervals for parameters, and prediction intervals for point counts. Model validation techniques include leverage, influence, partial residuals, added variable plots, diagnostic plots, pseudoscore residual plots, model compensators and Q-Q plots.

Version: 3.2-11
Depends: R (≥ 3.5.0), (≥ 3.0-4), spatstat.geom (≥ 3.2-9), spatstat.random (≥ 3.2-3), spatstat.explore (≥ 3.2-7), stats, graphics, grDevices, utils, methods, nlme, rpart
Imports: spatstat.utils (≥ 3.0-4), spatstat.sparse (≥ 3.0-3), mgcv, Matrix, abind, tensor, goftest (≥ 1.2-2)
Suggests: sm, gsl, locfit, spatial, fftwtools (≥ 0.9-8), nleqslv, glmnet, spatstat.linnet (≥ 3.1-4), spatstat (≥ 3.0-7)
Published: 2024-03-22
DOI: 10.32614/CRAN.package.spatstat.model
Author: Adrian Baddeley ORCID iD [aut, cre, cph], Rolf Turner ORCID iD [aut, cph], Ege Rubak ORCID iD [aut, cph], Kasper Klitgaard Berthelsen [ctb], Achmad Choiruddin [ctb, cph], Jean-Francois Coeurjolly [ctb], Ottmar Cronie [ctb], Tilman Davies [ctb], Julian Gilbey [ctb], Yongtao Guan [ctb], Ute Hahn [ctb], Martin Hazelton [ctb], Kassel Hingee [ctb], Abdollah Jalilian [ctb], Frederic Lavancier [ctb], Marie-Colette van Lieshout [ctb], Bethany Macdonald [ctb], Greg McSwiggan [ctb], Tuomas Rajala [ctb], Suman Rakshit [ctb, cph], Dominic Schuhmacher [ctb], Rasmus Plenge Waagepetersen [ctb], Hangsheng Wang [ctb]
Maintainer: Adrian Baddeley <Adrian.Baddeley at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: spatstat.model citation info
Materials: NEWS
CRAN checks: spatstat.model results


Reference manual: spatstat.model.pdf


Package source: spatstat.model_3.2-11.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): spatstat.model_3.2-11.tgz, r-oldrel (arm64): spatstat.model_3.2-11.tgz, r-release (x86_64): spatstat.model_3.2-11.tgz, r-oldrel (x86_64): spatstat.model_3.2-11.tgz
Old sources: spatstat.model archive

Reverse dependencies:

Reverse depends: spatstat, spatstat.gui, spatstat.Knet, spatstat.linnet, spatstat.local
Reverse imports: binspp, ecespa, geocausal, NTSS, ppmlasso, rcarbon, selectspm, shar, SpatialVx, stopp, ttbary
Reverse suggests: GET,, spatstat.explore, spatstat.geom, spatstat.random, spatstat.utils


Please use the canonical form to link to this page.