easystats / performance

:muscle: Models' quality and performance metrics (R2, ICC, LOO, AIC, BF, ...)
https://easystats.github.io/performance/
GNU General Public License v3.0
1k stars 87 forks source link

Proposed Multivariate $R^2$: `r2_mlm` for "mlm" Classed Model Objects #758

Closed jluchman closed 2 weeks ago

jluchman commented 1 month ago

At current, the r2() method for model objects classed c("mlm","lm") returns $R^2$ values for both outcomes separately and describes the proportion of variance in each of the separate outcomes.

There are some applications, in particular for relative importance analysis/dominance analysis, in which it is valuable to obtain one $R^2$ value that integrates across outcomes and provides a single value that describes the proportion of variance explained in the system of outcomes by the predictors.

Two recommended $R^2$ metrics are discussed by Azen and Budescu (2006) for use in dominance analysis that are derived from Van den Berg and Lewis (1988).

Would propose to add a r2_mlm() function that calls both of the recommended $R^2$ metrics for "mlm" classed model objects. I would also be happy to implement this function and submit a pull request if the maintainers are open to this additional set of metrics.

References

Azen, R., & Budescu, D. V. (2006). Comparing predictors in multivariate regression models: An extension of dominance analysis. Journal of Educational and Behavioral Statistics, 31(2), 157-180.

Van den Burg, W., & Lewis, C. (1988). Some properties of two measures of multivariate association. Psychometrika, 53, 109-122.

bwiernik commented 1 month ago

https://www.researchgate.net/profile/Ljubomir-Jacic/post/Any_suggestions_on_comparing_two_different_multivriate_regression_models/attachment/59d639eac49f478072ea653d/AS%3A273722601082882%401442271961127/download/JEBS-2006-+31-p157-p180.pdf