Function for calculating Pseudo-R^2 values Evaluates the check objective function (possibly weighted) for QREG

rho(u, tau = 0.5, weights = NULL)

Arguments

u

vector of residuals

tau

probability index parameter (quantile of interest)

weights

optional vector of weights

Value

Sum of absolute residuals