Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.resid.grouped

Summary method for resid.grouped objects


Description

The main use of this function is for identification of outliers.

Usage

## S3 method for class 'resid.grouped'
summary(object, K = 2, observed = NULL, ...)

Arguments

object

an object of class resid.grouped.

K

the cutoff point to identify outliers

observed

a numeric vector of possible observed data, e.g., the mean of the interval in which the true data lie.

...

additional arguments; currently none is used.

Details

Taking into advantage the realizations of the standardized residuals r_i provided by the Multiple Imputation scheme, we can estimate the probability

Pr(|r_i| > K), i = 1,…,n,

which can be regarded as the probability of the ith sample unit being an outlier.

Value

a numeric matrix with columns, the fitted values, the estimated residuals, and the percentage of each sample unit having an absolute residual greater than the value given by K. If !is.null(observed) its value is given as the first column of the matrix.

Author(s)

Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl

See Also

Examples

m <- grouped(cbind(lo, up) ~ treat * x, link = "logit", data = Sdata)
summary(resid(m, TRUE))

grouped

Regression Analysis of Grouped and Coarse Data

v0.6-0
GPL (>= 2)
Authors
Dimitris Rizopoulos <d.rizopoulos@erasmusmc.nl> and Spyridoula Tsonaka <s.tsonaka@lumc.nl>
Initial release
2009-10-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.