Learn R Programming

palm: A package to fit point process models via the Palm likelihood

First proposed by Tanaka, Ogata, and Stoyan (2008), maximisation of the Palm likelihood can provide computationally efficient parameter estimation for point process models in situations where the full likelihood is intractable. This package contains functions to fit a variety of point process models, but is chiefly concerned with Neyman-Scott point processes (NSPPs).

The development of this package was motivated by the analysis of capture-recapture surveys on which individuals cannot be identified---the data from which can conceptually be seen as a NSPP (Fewster, Stevenson, and Borchers, 2016). As such, some of the functions in this package are specifically for the estimation of cetacean density from two-camera aerial surveys; see Stevenson, Borchers, and Fewster (2019).

This package can also fit void processes, which, along with NSPPs, have been fitted to patterns of colon cancer and stroma cell locations (Jones-Todd et al., 2019).

Installation

The stable version of this package can be installed from CRAN:

install.packages("palm")

References

Fewster, R. M., Stevenson, B. C., and Borchers, D. L. (2016) Trace-contrast methods for capture-recapture without capture histories. Statistical Science, 31: 245--258.

Jones-Todd, C. M., Caie, P., Illian, J. B., Stevenson, B. C., Savage, A., Harrison, D. J., and Bown, J. L. (2019). Identifying prognostic structural features in tissue sections of colon cancer patients using point pattern analysis. Statistics in Medicine, 38: 1421--1441.

Stevenson, B. C., Borchers, D. L., and Fewster, R. M. (2019) Cluster capture-recapture to account for identification uncertainty on aerial surveys of animal populations. Biometrics, 75: 326--336.

Tanaka, U., Ogata, Y., and Stoyan, D. (2008) Parameter estimation and model selection for Neyman-Scott point processes. Biometrical Journal, 50: 43--57.

Copy Link

Version

Install

install.packages('palm')

Monthly Downloads

314

Version

1.1.6

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Ben Stevenson

Last Published

July 25th, 2025

Functions in palm (1.1.6)

sim.ns

Simulating points from a Neyman-Scott point process
summary.palm

Summarising palm model fits
palm-package

palm: A package to fit point process models via the Palm likelihood
example.1D

1-dimensional example data
fit.twocamera

Estimation of animal density from two-camera surveys.
fit.ns

Fitting a Neyman-Scott point process model
fit.void

Fitting a model to a void point process
confint.palm

Extracts Neyman-Scott point process parameter confidence intervals.
boot.palm

Bootstrapping for fitted models
coef.palm

Extract parameter estimates.
plot.palm

Plotting an estimated Palm intensity function.
sim.void

Simulating points from a void point process.
example.2D

2-dimensional example data
example.twocamera

Two-camera example data.
porpoise.data

Two-camera porpoise data.
sim.twocamera

Simulating data from two-camera aerial surveys.