Regression - Diagnostic - StandardRPlot - Multicollinearity Table (VIF)
Jump to navigation
Jump to search
Create a table containing variance inflation factors (VIF) to diagnose multicollinearity
Code
var heading_text = "Multicollinearity Table (VIF)";
if (!!form.setObjectInspectorTitle)
form.setObjectInspectorTitle(heading_text);
else
form.setHeading(heading_text);
form.dropBox({name: "formInput", label: "Regression:",
types: ["RItem:LinearRegression, PoissonRegression, BinaryLogitRegression, OrderedLogitRegression, QuasiPoissonRegression, NBDRegression"],
prompt: "Select a Regression output to show diagnostics for"});
multicollinearity <- car::vif(formInput)