|Authors:||Ting Wang, Edgar C. Merkle|
|Title:||merDeriv: Derivative Computations for Linear Mixed Effects Models with Application to Robust Standard Errors|
|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.|
Page views:: 1302. Submitted: 2016-12-14. Published: 2018-11-30.
merDeriv: Derivative Computations for Linear Mixed Effects Models with Application to Robust Standard Errors
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.