tilted.abs: Tilted absolute value function

Description Usage Arguments See Also Examples

View source: R/tilted.abs.R

Description

Tilted absolute value function. Also known as the check function, hinge function, or the pinball loss function.

Usage

1
tilted.abs(x, tau)

Arguments

x

numeric vector.

tau

desired tau-quantile.

See Also

huber, tilted.huber

Examples

1
2
x <- seq(-10, 10, length = 100)
plot(x, tilted.abs(x, tau = 0.75))

qrnn documentation built on May 30, 2017, 3:24 a.m.

Search within the qrnn package
Search all R packages, documentation and source code