
Object-style wrapper for the semiparametric kernel toolkit
Source:R/semipar_bridge.R
SemiparKernels.RdReturns a list of closures bound to the same backend (always pure R in this port; the Python module additionally supports a C backend).
Value
A list with class morie_semipar_kernels carrying
methods nw_regression, local_linear, kde,
silverman_bandwidth, loocv_bandwidth,
kernel_cond_moments, plus a backend string.
Examples
str(SemiparKernels(), max.level = 1)
#> List of 8
#> $ backend : chr "r"
#> $ available : logi TRUE
#> $ nw_regression :function (x, y, x_eval, bandwidth)
#> $ local_linear :function (x, y, x_eval, bandwidth)
#> $ kde :function (x, x_eval, bandwidth, kernel = "gaussian")
#> $ silverman_bandwidth:function (x)
#> $ loocv_bandwidth :function (x, y, bw_min = NULL, bw_max = NULL, n_grid = 30L)
#> $ kernel_cond_moments:function (x, y, x_eval, bandwidth)
#> - attr(*, "class")= chr [1:2] "morie_semipar_kernels" "list"