Package: prnsamplr 1.0.0

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.

Authors:Kira Coder Gylling [aut, cre]

prnsamplr_1.0.0.tar.gz
prnsamplr_1.0.0.zip(r-4.5)prnsamplr_1.0.0.zip(r-4.4)prnsamplr_1.0.0.zip(r-4.3)
prnsamplr_1.0.0.tgz(r-4.4-any)prnsamplr_1.0.0.tgz(r-4.3-any)
prnsamplr_1.0.0.tar.gz(r-4.5-noble)prnsamplr_1.0.0.tar.gz(r-4.4-noble)
prnsamplr_1.0.0.tgz(r-4.4-emscripten)prnsamplr_1.0.0.tgz(r-4.3-emscripten)
prnsamplr.pdf |prnsamplr.html
prnsamplr/json (API)

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

Peer review:

Bug tracker:https://github.com/kirajcg/prnsamplr/issues

Datasets:

On CRAN:

3.48 score 1 stars 7 scripts 256 downloads 4 exports 1 dependencies

Last updated 2 days agofrom:1d97bed51a. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:ppssampsrstransformprn

Dependencies:rlang