powered by
Robust regression using Huber's psi-function or Hampel's three part redescending psi-function providing P-values
frrgp(y,x,cn=1,cnr=c(1,2,4),sg=0,q=-1,ind=0,scale=T,inr=T,xinr=F,red=F)
Dependent variable
Covariates
Tuning constant for Huber's psi-function
Thuning constants for Hampel's three part redescending psi function
Scale
The number of covariates available
The subset of covariates for which the results are required
Logical. If TRUE sclae sg recaculted
Logical, TRUE to include intercept
Logical TRUE if x already includes intercept
Logical It true Hampel's three part redescending psi function
ppi In order the subset ind, the regression coefficients, the P-values, the standard P-values
res Residuals
sig Scale
rho Sums of rho, psi and psi1 functions.
# NOT RUN { data(boston) a<-frrgp(boston[,14],boston[,1:13]) # }
Run the code above in your browser using DataLab