kernelSx {ibr}R Documentation

Evaluates the smoothing matrix at x*

Description

The function evaluates the matrix of design weights to predict the response at arbitrary locations x. This function is not intended to be used directly.

Usage

kernelSx(kernelx="g",X,Xetoile,bx)

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.
Xetoile Matrix of new design points x* at which to predict the response variable, size n*, p.
bx The vector of different bandwidths, length p.

Value

Returns the matrix denoted in the paper by Sx, n*, n.

Author(s)

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

See Also

ibr


[Package ibr version 1.2 Index]