tube_fp: Construction of a variability band with frquency polygons.

View source: R/tube_fp.R View source: R/Annex_functions.R

tube_fpR Documentation

Construction of a variability band with frquency polygons.

Description

At each step, this function takes a new set of data, builds a frquency polygon,predicts and aggregates.

Usage

tube_fp(data, nbr = 50, B = 10, conf = c(0.05, 0.95))

Arguments

data

data 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 replications

conf

vector of the confidence threshold

Value

The vector of values of the aggregated version of a frquency polygon, a matrix of predictions of frquency polygon, matrix of the lower edge and the upper edge of a variability band.


cugliari/bagdenest documentation built on April 6, 2022, 4:52 p.m.