Learn R Programming

errint (version 1.0)

error_interval.default: Error Intervals

Description

error_interval.default creates an object of class c("error_interval", "list").

Usage

"error_interval"(phi, s = 0.05, dist = "n", tol = 10^-6, ...)

Arguments

phi
a vector with residual values used to compute the error interval.
s
confidence level, e,g. s=0.05 for the standard 95 percent confidence interval.
dist
assumed distribution for the noise in the data.
tol
used to normalize residual values to (0,1) when beta is the assumed distribution. The formula used is abs(phi)/(max(abs(phi))+tol).
...
additional arguments to be passed to the low level error_interval building functions (see below).

Value

Returns an object of class c("error_interval","list") with information regarding the error intervals built.

References

Link to the scientific paper

Prada, Jesus, and Jose Ramon Dorronsoro. "SVRs and Uncertainty Estimates in Wind Energy Prediction." Advances in Computational Intelligence. Springer International Publishing, 2015. 564-577,

with theoretical background for this package is provided below.

http://link.springer.com/chapter/10.1007/978-3-319-19222-2_47

Examples

Run this code
error_interval(rnorm(10))

error_interval(rnorm(10),s=0.1,dist="lm")

Run the code above in your browser using DataLab