第 25 章 案例研究

提升回归模型的10个提示 10 quick tips to improve your regression modeling

tidymodelseasystats 都是基于 tidyverse (Wickham et al. 2019) 的统计模型套件,strengejackemlr3verse 目的和 tidymodels 差不多,都是提供做数据建模的完整解决方案,区别在于它不基于 tidyverse 这套东西。

easystats 包含 insight (Lüdecke, Waggoner, and Makowski 2019)bayestestR (Makowski, Ben-Shachar, and Lüdecke 2019) 等共 9 个R 包,tidymodels 也包含差不多量的 R 包。

rms Regression Modeling Strategies

modelsummary 整理模型输出,提供丰富的格式输出,如 PDF, Text/Markdown, LaTeX, MS Word, RTF, JPG, and PNG.

DrWhy

R for Data Science Online Learning Community 在线学习社区以 tidytuesday 闻名遐迩。

图 25.1: 模型

统计建模:两种文化 (Breiman 2001)

这些案例来自 Kaggle、 Tudesday 或者自己找的数据集,而不是论文里,或者 R 包里的小数据集,应该更加真实,贴近实际问题,考虑更多细节

参考文献

Breiman, Leo. 2001. “Statistical Modeling: The Two Cultures (with Comments and a Rejoinder by the Author).” Journal of the American Statistical Association 16 (3): 199–231. https://doi.org/10.1214/ss/1009213726.
Lüdecke, Daniel, Philip Waggoner, and Dominique Makowski. 2019. insight: A Unified Interface to Access Information from Model Objects in r.” Journal of Open Source Software 4 (38): 1412. https://doi.org/10.21105/joss.01412.
Makowski, Dominique, Mattan Ben-Shachar, and Daniel Lüdecke. 2019. bayestestR: Describing Effects and Their Uncertainty, Existence and Significance Within the Bayesian Framework.” Journal of Open Source Software 4 (40): 1541. https://doi.org/10.21105/joss.01541.
Wickham, Hadley, Mara Averick, Jennifer Bryan, Winston Chang, Lucy D’Agostino McGowan, Romain François, Garrett Grolemund, et al. 2019. “Welcome to the tidyverse.” Journal of Open Source Software 4 (43): 1686. https://doi.org/10.21105/joss.01686.