powered by
Tilted absolute value function. Also known as the check function, hinge function, or the pinball loss function.
tilted.abs(x, tau)
numeric vector.
desired tau-quantile.
tilted.approx
x <- seq(-2, 2, length=200) plot(x, tilted.abs(x, tau=0.75), type="l")
Run the code above in your browser using DataLab