文献:
Nakagawa S , Johnson P C D , Schielzeth H . The coefficient of determination R(2) and intra-class correlation coefficient from generalized linear mixed-effects models revisited and expanded.[J]. Journal of the Royal Society Interface, 2017, 14(134):20170213.
marginal r-squared values, 计算仅仅考虑固定因子的R2
conditional r-squared values, 同时考虑固定因子和随机因子的R2
具体解释如下:
Nakagawa et al. (2017) proposed a method to compute marginal and conditional r-squared values, which is implemented in the r2()-function. For mixed models, the marginal r-squared considers only the variance of the fixed effects, while the conditional r-squared takes both the fixed and random effects into account. r2() can be used with models fitted with the functions of the lme4 and glmmTMB packages.
相关阅读
网友评论