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.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')) |
Bug tracker:https://github.com/kirajcg/prnsamplr/issues
- ExampleData - ExampleData
Last updated 2 days agofrom:1d97bed51a. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | OK | Nov 21 2024 |
R-4.5-linux | OK | Nov 21 2024 |
R-4.4-win | OK | Nov 21 2024 |
R-4.4-mac | OK | Nov 21 2024 |
R-4.3-win | OK | Nov 21 2024 |
R-4.3-mac | OK | Nov 21 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 |