How it works...

When working with maximum likelihood, we derive the estimated coefficients by taking the partial derivatives of it and equating them to zero. We then find the expression for each coefficient in terms of the data. These derivatives are called scoring equations, and robustlmm works by making these equations more robust. This package uses several tricks to ensure that the impact of abnormal observations on these equations is small.

A detailed explanation of the algorithm can be found at https://cran.r-project.org/web/packages/robustlmm/vignettes/rlmer.pdf.

Get R Statistics Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.