kf: Discrete associated kernel function

Description Usage Arguments Details Value Author(s) References Examples

View source: R/kf.R

Description

This function computes the discrete associated kernel function.

Usage

1
kf(x, t, h, ker, a = 1, c = 2)

Arguments

x

The target.

t

A single value or the grid where the discrete associated kernel function is computed.

h

The bandwidth or smoothing parameter.

ker

The associated kernel: "dirDU" DiracDU,"bino" Binomial, "triang" Discrete Triangular kernel.

a

The arm in Discrete Triangular kernel. The default value is 1.

c

The number of categories in DiracDU kernel. The default value is 2.

Details

The associated kernel is one of the three which have been defined in the sections above : DiracDU, Binomial and Discrete Triangular; see Kokonendji and Senga Kiessé (2011), and also Kokonendji et al. (2007).

Value

Returns the value of the discrete associated kernel function at t according to the target and the bandwidth.

Author(s)

W. E. Wansouwé, C. C. Kokonendji and D. T. Kolyang

References

Kokonendji, C.C. and Senga Kiessé, T. (2011). Discrete associated kernel method and extensions, Statistical Methodology 8, 497 - 516.

Kokonendji, C.C., Senga Kiessé, T. and Zocchi, S.S. (2007). Discrete triangular distributions and non-parametric estimation for probability mass function, Journal of Nonparametric Statistics 19, 241 - 254.

Examples

1
2
3
4
x<-4
h<-0.1
t<-0:10
kf(x,t,h,"bino")

Disake documentation built on May 29, 2017, 8:37 p.m.