Skip to contents

Gaussian-kernel KDE on a uniform grid. Bandwidth defaults to Silverman's 1.06 * sd(x) * n^{-1/5}.

Usage

morie_dsp_parzen_pdf(x, bandwidth = NULL, n_points = 100L)

Arguments

x

Numeric vector.

bandwidth

Optional kernel bandwidth.

n_points

Grid size. Default 100.

Value

List with grid and density.

References

Rangayyan & Krishnan (2015), Ch. 5, sec. 5.6; Parzen (1962); Silverman (1986).