hbrwts | R Documentation |
Returns the weights for HBR regression.
hbrwts(x, y, percent = 0.95, ehat0 = ltsreg(x, y)$residuals)
x |
n by p design matrix |
y |
n by 1 vector of responses |
percent |
percentile of chi^2 dist to be used as a cut-off |
ehat0 |
initial residuals |
Used internally in hbrfit. For details see references below.
Jeff Terpstra, Joe McKean, John Kloke
Chang, W. McKean, J.W., Naranjo, J.D., and Sheather, S.J. (1999), High breakdown rank-based regression, Journal of the American Statistical Association, 94, 205-219.
Hettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.
Terpstra, J. and McKean, J.W. (2005), Rank-based analyses of linear models using R, Journal of Statistical Software, 14(7).
hbrfit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.