0
$\begingroup$

Do anyone know a R function (or another way) to get the proportion of explained variance by each one of the fixed effect factors in a linear mixed-effects model?

$\endgroup$

2 Answers 2

2
$\begingroup$

This is actually a very complex question. Defining what the proportion of explained variance means in these models is a non-trivial exercise. I would start with chapter 7 of Tom Snijders & Roel Bosker (1999) "Multilevel Analysis: An introduction to basic and advanced multilevel modeling" Thousand Oaks: Sage.

$\endgroup$
2
  • $\begingroup$ Thank you very much for you answer.The only issue is that I do not have access to this chapter of this book. $\endgroup$
    – user30158
    Sep 16, 2013 at 15:11
  • $\begingroup$ Even if the book is not in your local library, many libraries offer the option to borrow from other libraries through your own local library at no or nominal cost. $\endgroup$ Sep 16, 2013 at 16:17
2
$\begingroup$

Nakagawa and Schielzeth (2013) has become the standard approach to this problem (currently cited almost 2000 times). See R2 for mixed models with multiple fixed and random effects.

Note, however, that the encyclopedic GLMM FAQ highlights that this is a complex issue and does not outright endorse the Nakagawa and Schielzeth approach, instead highlighting it among various other approaches and emphasizing that

'you have to think carefully about what information you want to get out of the coefficient of determination’, because no recipe will have all of the properties of R2 in the simple linear model case.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.