Scholay

学术搜索 · AI 审稿 · LaTeX 协作

Visualization of Regression Models Using visreg

作者:Patrick Breheny, Woodrow Burchett · 发表于:The R Journal · 年份:2017 · DOI:10.32614/rj-2017-046 · 被引用次数:1133 · 研究领域:Statistical Methods and Inference、Advanced Statistical Methods and Models、Hydrology and Drought Analysis

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.S. N. Wood.