powered by
Andrew's sine function for use when fitting a linear model by robust regression using an M-estimator.
psi.andrew(u, k=1.339, deriv=0)
Numeric vector of evaluation points.
Tuning constant. The suggested default value is 1.339.
0 or 1: to compute values of this function or of its first derivative.
psi.andrew returns a vector of points evaluated using Andrew's sine function.
psi.andrew
Andrew, D. F. (1974), A Robust Method for Multiple Linear Regression, Technometrics, 16, 523--531.
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
rlm
# NOT RUN { ## Robust fit of the stackloss dataset. require(MASS) data(stackloss, package="datasets") out <- rlm(stack.loss ~ ., data = stackloss, psi = psi.andrew) out # }
Run the code above in your browser using DataLab