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

residuals.lqmm

Residuals from an lqmm Object


Description

The residuals at level 0 correspond to population residuals (based only on the fixed effects estimates). The residuals at level 1 are obtained by adding the best linear predictions of the random effects to the predictions at level 0 and the subtracting these from the model response.

Usage

## S3 method for class 'lqmm'
residuals(object, level = 0, ...)

Arguments

object

an lqmm object.

level

an optional integer vector giving the level of grouping to be used in obtaining the predictions. Level zero corresponds to the population residuals.

...

not used.

Value

a matrix of residuals.

Author(s)

Marco Geraci

References

Geraci M and Bottai M (2014). Linear quantile mixed models. Statistics and Computing, 24(3), 461–479. doi: 10.1007/s11222-013-9381-9.

See Also


lqmm

Linear Quantile Mixed Models

v1.5.5
GPL (>= 2)
Authors
Marco Geraci
Initial release
2019-12-12

We don't support your browser anymore

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