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:
prnsamplr_1.0.0.tar.gz
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://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- ExampleData - ExampleData
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 5 days agofrom:666407f570. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 25 2024 |
R-4.5-linux | OK | Nov 25 2024 |
Exports:ppssampsrstransformprn
Dependencies:rlang
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Permanent Random Number Sampling in R | prnsamplr-package prnsamplr |
ExampleData | ExampleData |
Stratified probability-proportional-to-size sampling | pps |
Stratified permanent random number sampling | samp |
Stratified simple random sampling | srs |
Permanent random number transformation | transformprn |