Learn R Programming

qrnn (version 2.0.1)

tilted.approx: Approximation to the tilted absolute value function

Description

Approximation to the tilted absolute value function.

Usage

tilted.approx(x, tau, eps)

Arguments

x

numeric vector.

tau

desired tau-quantile.

eps

epsilon value used in the approximation.

See Also

tilted.abs, tilted.approx.prime, huber

Examples

Run this code
# NOT RUN {
x <- seq(-2, 2, length=200)
plot(x, tilted.approx(x, tau=0.75, eps=1))
# }

Run the code above in your browser using DataLab