deconv_kde: Measurement-error deconvolution KDE (rounding as...

View source: R/baselines.R

deconv_kdeR Documentation

Measurement-error deconvolution KDE (rounding as Uniform(-D/2, D/2) error).

Description

Divides the empirical characteristic function by sinc(wD/2) inside the grid band with a fixed Silverman Gaussian cutoff and a ridge cap; the classical deconvolution baseline.

Usage

deconv_kde(y, D, grid)

Arguments

y

heaped (rounded) sample.

D

grid width.

grid

evaluation grid (equally spaced).

Value

Density values on grid.

Examples

grid <- seq(-6, 6, length.out = 1024)
f <- deconv_kde(0.5 * round(rnorm(2000) / 0.5), 0.5, grid)

adheaping documentation built on Sept. 18, 2026, 1:06 a.m.