powered by
Robust regression using Huber's psi-function or Hampel's three part redescending psi-function providing P-values
frpval(y,x,ind,cn=1,cnr=c(1,3,5),sg=0,q=-1,scale=T,inr=T,xinr=F,red=F)
ppi In order the subset ind, the regression coefficients, the Gaussian P-values, the standard P-values
res Residuals
sg Scale
rho Sums of rho, psi and psi1 functions.
Dependent variable
Covariates
The subset of covariates for which the results are required
Tuning constant for Huber's psi-function
Tuning constants for Hampel's three part redescending psi function
Scale. If 0 the MAD is used
The number of covariates available. If q=-1 the covariates are used.
Logical. If TRUE scale sg recalculated
Logical, TRUE to include intercept
Logical TRUE if x already has intercept
Logical If TRUE Hampel's three part redescending psi function
data(boston) a<-frpval(boston[,14],boston[,1:13],1:6)
Run the code above in your browser using DataLab