NonProbEst
0.2.4Estimation in Nonprobability Sampling
Overview
Different inference procedures are proposed in the literature to correct for selection bias that might be introduced with non-random selection mechanisms. A class of methods to correct for selection bias is to apply a statistical model to predict the units not in the sample (super-population modeling). Other studies use calibration or Statistical Matching (statistically match nonprobability and probability samples). To date, the more relevant methods are weighting by Propensity Score Adjustment (PSA). The Propensity Score Adjustment method was originally developed to construct weights by estimating response probabilities and using them in Horvitz–Thompson type estimators. This method is usually used by combining a non-probability sample with a reference sample to construct propensity models for the non-probability sample. Calibration can be used in a posterior way to adding information of auxiliary variables. Propensity scores in PSA are usually estimated using logistic regression models. Machine learning classification algorithms can be used as alternatives for logistic regression as a technique to estimate propensities. The package 'NonProbEst' implements some of these methods and thus provides a wide options to work with data coming from a non-probabilistic sample.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-06-099 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-089 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-05-029 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-257 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1010 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 88%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- 75%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 6 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
17 0 exported
Complexity
1.9 avg / 6 max
Call network
17 nodes / 8 edges
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| population | data.frame | 50,000 × 6 | – |
| sampleNP | data.frame | 1,000 × 9 | – |
| sampleP | data.frame | 500 × 5 | – |
People & History
Author records are not tracked yet for this package.
6 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.2.4Latest
- RR 4.0.0 released · 2020-04-24
- 0.2.32019-12-17 · diff ↗
- 0.2.22019-11-29 · diff ↗
- 0.2.12019-09-30 · diff ↗
- 0.2.02019-09-07 · diff ↗
- 0.1.02019-06-18
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-06-18
- Total releases
- 6 / 7 yrs
- License
- GPL (>= 2) OSI
- Bundled data
- 124 KB / 3 files
- Download size
- 138 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet