Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

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

See Also


ibr

Iterative Bias Reduction

v2.0-3
GPL (>= 2)
Authors
Pierre-Andre Cornillon, Nicolas Hengartner, Eric Matzner-Lober
Initial release
2017-04-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.