Package: nonprobsampling 0.1.0
nonprobsampling: Inference for Nonprobability Samples Using Multiple Reference Surveys
Provides pseudo-weighted estimates of means and prevalences for finite population inference from nonprobability samples using auxiliary information from one or multiple probability reference surveys. The package supports estimation with multiple reference surveys, allowing auxiliary information to be combined when no single survey contains all variables relevant to participation. Optional cumulative precalibration can be applied to align weighted totals of shared variables across surveys. Methods are based on the generalized estimating equations framework of Landsman et al. (2026) <doi:10.1002/sim.70403> for correcting participation bias. For a single reference survey, the package implements the raking ratio calibration method and includes the adjusted logistic propensity (ALP) method of Wang, Valliant, and Li (2021) <doi:10.1002/sim.9122>, as well as the Chen-Li-Wu (CLW) method of Chen, Li, and Wu (2020) <doi:10.1080/01621459.2019.1677241>. Analytic variance estimation uses Taylor linearization and accounts for complex sampling designs in the reference surveys via integration with the 'survey' package.
Authors:
nonprobsampling_0.1.0.tar.gz
nonprobsampling_0.1.0.tar.gz(r-4.7-any)nonprobsampling_0.1.0.tar.gz(r-4.6-any)
nonprobsampling_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
nonprobsampling/json (API)
| # Install 'nonprobsampling' in R: |
| install.packages('nonprobsampling', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jiakun0611/nonprobsampling/issues
Pkgdown/docs site:https://jiakun0611.github.io
- sc - Nonprobability Sample
- sp1 - Probability Reference Sample 1
- sp1_bootstrap - Probability Reference Sample 1 with Bootstrap Replicate Weights
- sp2 - Probability Reference Sample 2
Last updated from:68691a5c99. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 166 | ||
| source / vignettes | OK | 195 | ||
| linux-release-x86_64 | OK | 193 | ||
| wasm-release | OK | 119 |
Exports:est_pwpw_solver_controlpwmean
Dependencies:DBIlatticeMatrixminqamitoolsnleqslvnumDerivRcppRcppArmadillosurveysurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Estimate Pseudo-Weights for Nonprobability Samples | est_pw |
| Extract NA action from a pw_fit object | na.action.pw_fit |
| Extract NA action from a pwmean object | na.action.pwmean |
| Print method for pw_fit objects | print.pw_fit |
| Print method for pw_na_summary | print.pw_na_summary |
| Print method for pwmean objects | print.pwmean |
| Print method for pwmean objects with categorical outcomes | print.pwmean_factor |
| Control Solver Settings for Pseudo-Weight Estimation | pw_solver_control |
| Estimate Pseudo-Weighted Means, Prevalences, and Standard Errors | pwmean |
| Nonprobability Sample (sc) | sc |
| Probability Reference Sample 1 (sp1) | sp1 |
| Probability Reference Sample 1 with Bootstrap Replicate Weights (sp1_bootstrap) | sp1_bootstrap |
| Probability Reference Sample 2 (sp2) | sp2 |
| Summarize a Pseudo-Weight Fit | summary.pw_fit |
| Summary method for pwmean objects | summary.pwmean |
| Summary method for pwmean objects with categorical outcomes | summary.pwmean_factor |
