heaping
Correction of Heaping on Individual Level
Provides methods for correcting heaping (digit preference) in survey data at the individual record level. Age heaping, where respondents disproportionately report ages ending in 0 or 5, is a common phenomenon that can distort demographic analyses. Unlike traditional smoothing methods that only correct aggregated statistics, this package corrects individual values by replacing a calculated proportion of heaped observations with draws from fitted truncated distributions (log-normal, normal, or uniform). Supports 5-year and 10-year heaping patterns, single heap correction, and optional model-based adjustment to preserve covariate relationships.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.0 |
rolling source/ R- | heaping_0.1.0.tar.gz |
455.5 KiB |
0.1.0 |
rolling linux/jammy R-4.5 | heaping_0.1.0.tar.gz |
527.2 KiB |
0.1.0 |
rolling linux/noble R-4.5 | heaping_0.1.0.tar.gz |
527.2 KiB |
0.1.0 |
latest source/ R- | heaping_0.1.0.tar.gz |
455.5 KiB |
0.1.0 |
latest linux/jammy R-4.5 | heaping_0.1.0.tar.gz |
527.2 KiB |
0.1.0 |
latest linux/noble R-4.5 | heaping_0.1.0.tar.gz |
527.2 KiB |
0.1.0 |
2026-04-23 source/ R- | heaping_0.1.0.tar.gz |
455.5 KiB |
0.1.0 |
2026-04-09 windows/windows R-4.5 | heaping_0.1.0.zip |
531.8 KiB |