Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

poids

Product kernel evaluation


Description

Evaluate the product of kernel function at (X-valx)/bx: Gaussian, Epanechnikov, Uniform, Quartic. This function is not intended to be used directly.

Usage

poids(kernelx,X,bx,valx,n,p)

Arguments

kernelx

Character string which allows to choose between gaussian kernel ("g"), Epanechnikov ("e"), uniform ("u"), quartic ("q").

X

Matrix of explanatory variables, size n, p.

bx

The vector of different bandwidths, length p.

valx

The vector of length p at which the product kernel is evaluated.

n

Number of rows of X.

p

Number of columns of X.

Value

Returns a vector which coordinates are the values of the product kernel at the given coordinate

Author(s)

Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.

See Also


ibr

Iterative Bias Reduction

v2.0-3
GPL (>= 2)
Authors
Pierre-Andre Cornillon, Nicolas Hengartner, Eric Matzner-Lober
Initial release
2017-04-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.