Evaluate the product of kernel function at (X-valx)/bx: Gaussian, Epanechnikov, Uniform, Quartic. This function is not intended to be used directly.
poids(kernelx,X,bx,valx,n,p)
Returns a vector which coordinates are the values of the product kernel at the given coordinate
Character string which allows to choose between gaussian kernel
("g"
), Epanechnikov ("e"
), uniform ("u"
),
quartic ("q"
).
Matrix of explanatory variables, size n, p.
The vector of different bandwidths, length \(p\).
The vector of length \(p\) at which the product kernel is evaluated.
Number of rows of X.
Number of columns of X.
Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.
ibr