The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

prnsamplr: Permanent Random Number Sampling

Survey sampling using permanent random numbers (PRN's). A solution to the problem of unknown overlap between survey samples, which leads to a low precision in estimates when the survey is repeated or combined with other surveys. The PRN solution is to supply the U(0, 1) random numbers to the sampling procedure, instead of having the sampling procedure generate them. In Lindblom (2014) <doi:10.2478/jos-2014-0047>, and therein cited papers, it is shown how this is carried out and how it improves the estimates. This package supports two common fixed-size sampling procedures (simple random sampling and probability-proportional-to-size sampling) and includes a function for transforming the PRN's in order to control the sample overlap.

Version: 1.0.0
Depends: R (≥ 4.2)
Imports: rlang (≥ 1.1.0), stats (≥ 4.2)
Suggests: data.table (≥ 1.0.0), stringr (≥ 1.4.0), testthat (≥ 3.0.0), tibble (≥ 3.0.0)
Published: 2024-11-20
DOI: 10.32614/CRAN.package.prnsamplr
Author: Kira Coder Gylling ORCID iD [aut, cre]
Maintainer: Kira Coder Gylling <kira.gylling at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: prnsamplr results

Documentation:

Reference manual: prnsamplr.pdf

Downloads:

Package source: prnsamplr_1.0.0.tar.gz
Windows binaries: r-devel: prnsamplr_1.0.0.zip, r-release: prnsamplr_0.3.0.zip, r-oldrel: prnsamplr_0.3.0.zip
macOS binaries: r-release (arm64): prnsamplr_1.0.0.tgz, r-oldrel (arm64): prnsamplr_1.0.0.tgz, r-release (x86_64): prnsamplr_1.0.0.tgz, r-oldrel (x86_64): prnsamplr_1.0.0.tgz
Old sources: prnsamplr archive

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.