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

tilted.approx

Examples

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

qrnn documentation built on Dec. 6, 2017, 1:07 a.m.