poids | R Documentation |
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)
kernelx |
Character string which allows to choose between gaussian kernel
( |
X |
Matrix of explanatory variables, size n, p. |
bx |
The vector of different bandwidths, length |
valx |
The vector of length |
n |
Number of rows of X. |
p |
Number of columns of X. |
Returns a vector which coordinates are the values of the product kernel at the given coordinate
Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.
ibr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.