Kernelheaping
2.3.0Kernel Density Estimation for Heaped and Rounded Data
Overview
In self-reported or anonymised data the user often encounters heaped data, i.e. data which are rounded (to a possibly different degree of coarseness). While this is mostly a minor problem in parametric density estimation the bias can be very large for non-parametric methods such as kernel density estimation. This package implements a partly Bayesian algorithm treating the true unknown values as additional parameters and estimates the rounding parameters to give a corrected kernel density estimate. It supports various standard bandwidth selection methods. Varying rounding probabilities (depending on the true value) and asymmetric rounding is estimable as well: Gross, M. and Rendtel, U. (2016) (doi:10.1093/jssam/smw011). Additionally, bivariate non-parametric density estimation for rounded data, Gross, M. et al. (2016) (doi:10.1111/rssa.12179), as well as data aggregated on areas is supported.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Dependencies
Code & Tests
- Cyclomatic complexity
- 3.0 median / 22 max
- Documented parameters
- 100%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
32 11 exported
Complexity
6.3 avg / 22 max
Call network
32 nodes / 32 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
13 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
- 2.3.0Latest
- RR 4.1.0 released · 2021-05-18
- 2.2.82021-05-11 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.2.22020-02-21 · diff ↗
- 2.2.12019-08-02 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.2.02018-07-31 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.1.82017-10-10 · diff ↗
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2015-01-27
- Total releases
- 13 / 11 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 2.15.0
- Bundled data
- 4.0 KB / 1 file
- Download size
- 29 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet