kernelSx: Evaluates the smoothing matrix at x*

Description Usage Arguments Value Author(s) See Also

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

1
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


ibr documentation built on May 2, 2019, 8:22 a.m.