View source: R/tube_hist.R View source: R/Annex_functions.R
tube_hist | R Documentation |
At each step, this function takes a new set of data, builds a histogram,predicts and aggregates.
tube_hist(data, nbr = 50, B = 10, conf = c(0.05, 0.95))
data |
ata of test sample and learning (data$learn and data$test). test sample must be sorted (sort(data$test)). |
nbr |
number of sub-intervals of the initial partition |
B |
Number of bootstrap replication |
conf |
vector of the confidence threshold |
The vector of values of the aggregated version of a kernel density estimator, a matrix of predictions of kernel density estimator, matrix of the lower edge and the upper edge of a variability band.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.