Learn R Programming

Rfit (version 0.14)

rstudent.rfit: Studentized Residuals for Rank-Based Regression

Description

Returns the Studentized residuals based on rank-based estimation.

Usage

## S3 method for class 'rfit':
rstudent(model,...)

Arguments

model
an object of class rfit
...
additional arguments to be passed to fitting routines

References

Hettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.

See Also

rfit

Examples

Run this code
x<-runif(47)
y<-rcauchy(47)
qqnorm(rstudent(fit<-rfit(y~x)))
plot(x,rstudent(fit)) ; abline(h=c(-2,2))

Run the code above in your browser using DataLab