discrete_binomial {kernopt} | R Documentation |
Discrete binomial kernel
Description
Discrete binomial kernel
Usage
discrete_binomial(x, z, h)
Arguments
x |
the target point at which the density is calculated |
z |
the vector of observations |
h |
the bandwidth (or smoothing parameter) which should match the condition 0<= h < 1 |
Value
Returns the value of the associated kernel function according to the target x and the bandwidth h.
Examples
# Basic usage of discrete_binomial() to compute a Discrete Binomial Kernel
discrete_binomial(x = 25, z = 1:50, h = 0.5)
[Package kernopt version 1.0.0 Index]