Evaluate the trace of the product of kernel smoother (Gaussian, Epanechnikov, Uniform, Quartic). This function is not intended to be used directly.
tracekernel(X,bx,kernelx,n,p)
Evaluate the trace (effective degree of freedom) of the product kernel smoother.
Matrix of explanatory variables, size n, p.
The vector of different bandwidths, length \(p\).
Character string which allows to choose between gaussian kernel
("g"
), Epanechnikov ("e"
), uniform ("u"
),
quartic ("q"
).
Number of rows of X.
Number of columns of X.
Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.
ibr