Creates a kernel density estimation model for non-parametric forecasting.

KDEModel(bandwidth = NULL, kernel = "gaussian")

Arguments

bandwidth

Bandwidth for KDE (default: NULL for automatic selection)

kernel

Kernel function to use (default: "gaussian")

Value

A KDEModel object

Examples

if (FALSE) { # \dontrun{
model <- KDEModel()
model <- KDEModel(bandwidth = 0.5)
} # }