Weights the check function

weighted.checkfun(q, cvec, tau, weights)

Arguments

q

the value to check

cvec

vector of data to compute quantiles for

tau

between 0 and 1, ex. .5 implies get the median

weights

the weights, weighted.checkfun normalizes the weights to sum to 1.

Value

numeric