MerDeriv: Derivative computations for linear mixed effects models with application to robust standard errors

18Citations
Citations of this article
37Readers
Mendeley users who have this article in their library.

Abstract

While likelihood-based derivatives and related facilities are available in R for many types of statistical models, the facilities are notably lacking for models estimated via lme4. This is because the necessary statistical output, including the Hessian, Fisher information and casewise contributions to the model gradient, is not immediately available from lme4 and is not trivial to obtain. In this article, we describe merDeriv, an R package which supplies new functions to obtain analytic output from Gaussian mixed models. We discuss the theoretical results implemented in the code, focusing on calculation of robust standard errors via package sandwich. We also use the sleepstudy data to illustrate the package and to compare it to a benchmark from package lavaan.

Cite

CITATION STYLE

APA

Wang, T., & Merkle, E. C. (2018). MerDeriv: Derivative computations for linear mixed effects models with application to robust standard errors. Journal of Statistical Software, 87. https://doi.org/10.18637/jss.v087.c01

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free