fitPS: Fit Probability Models to Forensic Survey Data

Fits probability models to P- and S-type count data arising from forensic surveys of clothing for the background presence of glass, paint, and related trace material. Built-in models include zeta, zero-inflated zeta, and logarithmic distributions, with a public extension interface for additional models. Inference is available by maximum likelihood, parametric Bayesian methods, the ordinary nonparametric bootstrap, and Rubin's Bayesian Bootstrap. The clothing-survey setting is described by Coulson, Buckleton, Gummer, and Triggs (2001) <doi:10.1016/S1355-0306(01)71847-3>.

Version: 1.1.4
Depends: R (≥ 4.1.0)
Imports: cubature, doParallel, dplyr, foreach, Hmisc, iterators, knitr, ks, methods, pbapply, Rdpack, readxl, VGAM
Suggests: rmarkdown, sp, testthat (≥ 3.0.0), xtable
Published: 2026-08-27
DOI: 10.32614/CRAN.package.fitPS
Author: James Curran [aut, cre]
Maintainer: James Curran <j.curran at auckland.ac.nz>
BugReports: https://github.com/jmcurran/fitPS/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/jmcurran/fitPS
NeedsCompilation: no
Citation: fitPS citation info
Materials: README, NEWS
CRAN checks: fitPS results

Documentation:

Reference manual: fitPS.html , fitPS.pdf
Vignettes: Getting started with fitPS (source, R code)
Adding a new model to fitPS (source, R code)
Model comparison with fitPS (source, R code)
Quantifying uncertainty with fitPS (source, R code)

Downloads:

Package source: fitPS_1.1.4.tar.gz
Windows binaries: r-devel: fitPS_1.0.6.zip, r-release: fitPS_1.0.6.zip, r-oldrel: fitPS_1.0.6.zip
macOS binaries: r-release (arm64): fitPS_1.0.6.tgz, r-oldrel (arm64): fitPS_1.0.6.tgz, r-release (x86_64): fitPS_1.0.6.tgz, r-oldrel (x86_64): fitPS_1.0.6.tgz
Old sources: fitPS archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fitPS to link to this page.