gausscov (version 0.0.4)

frobregp: Robust regression using Huber's psi-function providing P-values

Description

Robust regression using Huber's psi-function which provides P-values

Usage

frobregp(y,x,cn=1,sg=0,q=-1,ind=0,inr=T,xinr=F)

Arguments

y

Dependent variable

x

Covariates

cn

Tuning parameter for Huber's psi-function

sg

Scale

q

The number of covariates available

ind

The subset of covariates for which the results are required

inr

Logical, TRUE to include intercept

xinr

Logical TRUE if x already includes intercept

Value

ppi In order the subset ind, the regression coefficients, the P-values, the standard P-values

res Residuals

sig Scale

Examples

Run this code
# NOT RUN {
data(boston)
a<-frobregp(boston[,14],boston[,1:13])
# }

Run the code above in your browser using DataLab