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), type="l")

Example output



qrnn documentation built on June 29, 2018, 5:04 p.m.