Package: sps 0.6.3

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:
sps_0.6.3.tar.gz
sps_0.6.3.zip(r-4.7)sps_0.6.3.zip(r-4.6)sps_0.6.3.zip(r-4.5)
sps_0.6.3.tgz(r-4.6-any)sps_0.6.3.tgz(r-4.5-any)
sps_0.6.3.tar.gz(r-4.7-any)sps_0.6.3.tar.gz(r-4.6-any)
sps_0.6.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
sps/json (API)
NEWS
| # Install 'sps' in R: |
| install.packages('sps', repos = c('https://marberts.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/marberts/sps/issues
Pkgdown/docs site:https://marberts.github.io
official-statisticssamplingstatisticssurvey-samplingquarto
Last updated from:158b9f4dc8. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 123 | ||
| source / vignettes | OK | 176 | ||
| linux-release-x86_64 | OK | 111 | ||
| macos-release-arm64 | OK | 122 | ||
| macos-oldrel-arm64 | OK | 136 | ||
| windows-devel | OK | 122 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 128 | ||
| wasm-release | OK | 93 |
Exports:becomes_tadivisor_methodexpected_coverageinclusion_probmin_tauorder_samplingprop_allocationpsspssps_iteratorsps_repweights
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Expected coverage | expected_coverage |
| Calculate inclusion probabilities | becomes_ta inclusion_prob |
| Construct a proportional allocation | divisor_method prop_allocation |
| Stratified sequential Poisson sampling | order_sampling ps sps |
| Iteratively draw a sequential Poisson sample | sps_iterator |
| Bootstrap replicate weights for sequential Poisson sampling | min_tau sps_repweights |
