Visualization of Regression Models Using visreg

Visualization of Regression Models Using visreg
复制标题

DOI:
10.32614/rj-2017-046
复制
发表时间:
2017-12-01
期刊:
影响因子:
2.1
通讯作者:
Burchett, Woodrow
Burchett, Woodrow
中科院分区:
计算机科学4区
文献类型:
--
作者:
Breheny, Patrick;Burchett, Woodrow

文献摘要

被引文献

相似文献

回归模型允许在其他变量保持不变的情况下,隔离结果和解释变量之间的关系。在这里,我们引入一个R包visreg,用于通过简短、简单的函数调用方便地可视化这种关系。除了对这一关系的估计外,该一揽子计划还提供了逐点置信带和部分残差,以便能够评估变异性以及离群值和与建模假设的其他偏差。该包提供了几个用于可视化带有交互的模型的选项,包括点阵图、等高线图以及静态和交互透视图。该包的实现设计为完全面向对象,并与R丰富的模型类集合无缝对接,不仅允许可视化线性模型,还允许可视化广义线性模型、比例风险模型、广义加性模型、稳健回归模型等。
Regression models allow one to isolate the relationship between the outcome and an explanatory variable while the other variables are held constant. Here, we introduce an R package, visreg, for the convenient visualization of this relationship via short, simple function calls. In addition to estimates of this relationship, the package also provides pointwise confidence bands and partial residuals to allow assessment of variability as well as outliers and other deviations from modeling assumptions. The package provides several options for visualizing models with interactions, including lattice plots, contour plots, and both static and interactive perspective plots. The implementation of the package is designed to be fully object-oriented and interface seamlessly with R's rich collection of model classes, allowing a consistent interface for visualizing not only linear models, but generalized linear models, proportional hazards models, generalized additive models, robust regression models, and many more.