Learn R Programming

ibr (version 2.0-2)

kernelSx: 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.

See Also

ibr