rstudent.jrfit: Studentized residuals for the JR fit.

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Computes studentized residuals based on jrfit. Assumes compound symmetric errors.

Usage

1
2
## S3 method for class 'jrfit'
rstudent(model,...)

Arguments

model

object of class jrfit, the result of a call to jrfit

...

additional arguments. currently not used.

Details

Estimates of the variance components are based on MAD of the prediction. See Kloke, McKean, Rashid (2009) for details.

Value

A vector of length n containing the studentized residuals.

Author(s)

John Kloke kloke@biostat.wisc.edu

References

Kloke, J.D., McKean, J.W., Rashid, M. (2009), Rank-based estimation and associated inferences for linear models with cluster correlated errors, Journal of the American Statistical Association, 104, 384-390.

See Also

jrfit

Examples

1
2
3
# a simple simulated example w/ 4 equal sized blocks #
x<-matrix(rnorm(40),ncol=2); y<-rnorm(20) ; g<-rep(1:4,each=5)
# rstudent(jrfit(x,y,g))

kloke/jrfit documentation built on May 20, 2019, 12:34 p.m.