Last data update: 2014.03.03

R: Studentized Residuals for Rank-Based Regression
rstudent.rfitR Documentation

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. currently not used.

Author(s)

John Kloke kloke@biostat.wisc.edu

References

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

See Also

rfit

Examples

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

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Rfit)
Loading required package: quantreg
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Rfit/rstudent.rfit.Rd_%03d_medium.png", width=480, height=480)
> ### Name: rstudent.rfit
> ### Title: Studentized Residuals for Rank-Based Regression
> ### Aliases: rstudent.rfit
> 
> ### ** Examples
> 
> x<-runif(47)
> y<-rcauchy(47)
> qqnorm(rstudent(fit<-rfit(y~x)))
> plot(x,rstudent(fit)) ; abline(h=c(-2,2))
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>