powered by
Robust regression using Huber's psi-function or Hampel's redescending psi-function without P-values
frrg(y,x,cn=1,cnr=c(1,2,4),sg=0,scale=T,inr=T,xinr=F,red=F)
Dependent variable
Covariates
Tuning parameter for Huber's psi-function
Tuning constants for Hampel's three part redescending psi function
Scale
Logical, if TRUE calculates sg simultaneously, otherwise keeps initial sg
Logical if TRUE to include intercept
Logical if TRUE intercept already included
Logical If TRUE Hampel's three part redescending psi function
beta Regression coefficients
res Residuals
sg Scale
rho Sums of rho, psi and psi1 functions.
# NOT RUN { data(boston) a<-frrg(boston[,14],boston[,1:13]) # }
Run the code above in your browser using DataLab