Answers are grounded in this paper and cite their sources.
Many researchers want to report an R² to measure the variance explained by a model. When the model includes correlation among data, such as phylogenetic models and mixed models, defining an R² faces two conceptual problems. (i) It is unclear how to measure the variance explained by predictor (independent) variables when the model contains covariances. (ii) Researchers may want the R² to include the variance explained by the covariances by asking questions such as "How much of the data is explained by phylogeny?" Here, I investigated three R²s for phylogenetic and mixed models. R²resid is an extension of the ordinary least-squares R² that weights residuals by variances and covariances estimated by the model; it is closely related to R²glmm presented by Nakagawa and Schielzeth (2013. A general and simple method for obtaining R2 from generalized linear mixed-effects models. Methods Ecol. Evol. 4:133-142). R²pred is based on predicting each residual from the fitted model and computing the variance between observed and predicted values. R²ₗᵢₖ is based on the likelihood of fitted models, and therefore, reflects the amount of information that the models contain. These three R²s are formulated as partial R²s, making it possible to compare the contributions of predictor variables and variance components (phylogenetic signal and random effects) to the fit of models. Because partial R²s compare a full model with a reduced model without components of the full model, they are distinct from marginal R²s that partition additive components of the variance. I assessed the properties of the R²s for phylogenetic models using simulations for continuous and binary response data (phylogenetic generalized least squares and phylogenetic logistic regression). Because the R²s are designed broadly for any model for correlated data, I also compared R²s for linear mixed models and generalized linear mixed models. R²resid, R²pred, and R²ₗᵢₖ all have similar performance in describing the variance explained by different components of models. However, R²pred gives the most direct answer to the question of how much variance in the data is explained by a model. R²resid is most appropriate for comparing models fit to different data sets, because it does not depend on sample sizes. And R²ₗᵢₖ is most appropriate to assess the importance of different components within the same model applied to the same data, because it is most closely associated with statistical significance tests.
No takes yet. Share an insight, caveat, or question.
Anthony R. Ives (2018) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: