bwchoice | R Documentation |
Perform a search for the bandwidths in the given grid. For each explanatory variable, the bandwidth is chosen such that the trace of the smoothing matrix according to that variable (effective degree of freedom) is equal to a prescribed value. This function is not intended to be used directly.
bwchoice(X,objectif,kernelx="g",itermax=1000)
X |
A matrix with |
objectif |
A numeric vector of either length 1 or length equal to the
number of columns of |
kernelx |
String which allows to choose between gaussian kernel
( |
itermax |
A scalar which controls the number of iterations for that search. |
Returns a vector of length d, the number of explanatory variable, where each coordinate is the value of the selected bandwidth for each explanatory variable
Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.
ibr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.