VarCorr: Extract Variance-Covariance Matrix

Description Usage Arguments Details Author(s) References See Also

Description

This function extracts the variance-covariance matrix of the random effects from a fitted lqmm object.

Usage

1
2
## S3 method for class 'lqmm'
VarCorr(x, sigma = NULL, rdig = NULL)

Arguments

x

an object of class "lqmm".

sigma, rdig

not used.

Details

This function returns the variance or the variance-covariance matrix of the random effects. It calls covHandling to manage the output of lqmm.fit.gs or lqmm.fit.df. A post-fitting approximation to the nearest positive (semi)definite matrix (Higham, 2002) is applied if necessary. The generic function VarCorr is imported from the nlme package (Pinheiro et al, 2014).

Author(s)

Marco Geraci

References

Higham N (2002). Computing the Nearest Correlation Matrix - A Problem from Finance. IMA Journal of Numerical Analysis, 22, 329-343.

Pinheiro J, Bates D, DebRoy S, Sarkar D and R Core Team (2014). nlme: Linear and Nonlinear Mixed Effects Models. R package version 3.1-117, http://CRAN.R-project.org/package=nlme.

See Also

lqmm coef.lqmm



Search within the lqmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.