Description Usage Arguments Value Author(s)
View source: R/smoothing_utilities.R
Function to calculate the ridge regression bandwidth
1 | bandwidth_lpridge(t, s, h.range = c(0.01, 1), seed = 12345)
|
t |
Numeric vector |
s |
Numeric vector |
h.range |
values |
seed |
Random seed |
This function returns a list with the following entries:
h: bandwidth values
cverror: Crossvalidation error
Oscar Garcia-Cabrejo khaors@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.