Package: sps 0.7.0.9003

sps: Sequential Poisson Sampling

Sequential Poisson sampling is a variation of Poisson sampling for drawing probability-proportional-to-size samples with a given number of units, and is commonly used for price-index surveys. This package gives functions to draw stratified sequential Poisson samples according to the method by Ohlsson (1998, ISSN:0282-423X), as well as other order sample designs by Rosén (1997, <doi:10.1016/S0378-3758(96)00186-3>), and generate approximate bootstrap replicate weights according to the generalized bootstrap method by Beaumont and Patak (2012, <doi:10.1111/j.1751-5823.2011.00166.x>).

Authors:Steve Martin [aut, cre, cph], Justin Francis [ctb]

sps_0.7.0.9003.tar.gz
sps_0.7.0.9003.zip(r-4.7-any)sps_0.7.0.9003.zip(r-4.6-any)sps_0.7.0.9003.zip(r-4.5-any)
sps_0.7.0.9003.tgz(r-4.6-any)sps_0.7.0.9003.tgz(r-4.5-any)
sps_0.7.0.9003.tar.gz(r-4.7-any)sps_0.7.0.9003.tar.gz(r-4.6-any)
sps_0.7.0.9003.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sps/json (API)

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

Bug tracker:https://codeberg.org/marberts/sps

On CRAN:

Conda:

5.36 score 17 scripts 384 downloads 11 exports 0 dependencies

Last updated from:7f8ea97249. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK98
source / vignettesOK208
linux-releaseOK86
macos-releaseOK71
macos-oldrelOK86
windows-develOK62
windows-releaseOK70
windows-oldrelOK61
wasm-releaseOK83

Exports:becomes_tadivisor_methodexpected_coverageinclusion_probmin_tauorder_samplingprop_allocationpsspssps_iteratorsps_repweights

Dependencies:

Drawing a Sequential Poisson Sample
Drawing a sample of businesses | Coordinating samples | Topping up | Bias in the Horvitz-Thompson estimator

Last update: 2026-09-13
Started: 2023-06-07

Take-all units
Generalizing the usual approach

Last update: 2026-09-13
Started: 2025-04-06

Performance
Calculating inclusion probabilities | Partial sorting | Iteratively drawing a sample

Last update: 2026-09-10
Started: 2026-08-16