{"size":{"Width":350,"Height":512},"appearance":{"background":null,"padding":14,"font":{"family":"Courier New","size":10.0,"bold":false,"italic":false,"underline":false,"strikeout":false,"color":"rgb(0,72,168)"},"border":{"on":true,"size":0.0,"style":"solid","color":"#666"},"text":{"wrap":false,"hAlign":"left","vAlign":"top"}},"outputType":"WIDGET","widgetState":null,"wikiPageTitle":"Regression - Stepwise","outputs":{"warning":"Unusual observations detected. The largest studentized residual is 6.59, which is significant, with a Bonferroni-corrected p-value of 0.0000001.\n\nThe largest hat value is 0.0646, which is higher than the threshhold of 0.0253 = 2 * (k + 1) / n.\n\r\nThe Variance Inflation Factor of the coefficients are: C1 Household description: Single over 40: 2.3; C1 Household description: Couple under 40: 2.3; C1 Household description: Couple over 40: 8; C1 Household description: Mix of adults: 6; C1 Household description: Young family: 1.1; C1 Household description: Middle family: 1.1; C1 Household description: Older family: 2.3; C1 Household description: Empty nesters: 2.3; S1 Age: 19 to 24: 8; S1 Age: 25 to 29: 6; S1 Age: 30 to 34: 1.1; S1 Age: 35 to 39: 1.1; S1 Age: 40 to 44: 2.3; S1 Age: 45 to 49: 2.3. A value of 4 or more indicates the confidence interval for the coefficient is\n twice as wide as they would be for uncorrelated predictors. A value of 10 or more\n indicates high multicollinearity.\r\nA Breusch Pagan Test for non-constant variance has failed (p = < 0.000000000001). A plot of the residuals versus the fitted values of the\n outcome variable may be useful (Regression > Diagnostic > Plot > Residuals vs Fitted).\n A transformation of the outcome or predictor variables may solve this problem. Or, consider using Robust Standard Errors.\n","htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-b3bd7887647f1d9431dd\" class=\"formattable_widget html-widget\" style=\"width:100%;height:500px;\" width=\"100%\" height=\"500\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-b3bd7887647f1d9431dd\">{\"x\":{\"html\":\"<table class = \\\"table table-condensed\\\"style = \\\"margin:0; border-bottom: 2px solid; border-top: 2px solid; font-size:90%;\\\">\\n<h3 class=\\\".h3\\\" style=\\\"color:#3E7DCC; text-align:left; margin-top:0px; margin-bottom:0\\\">Linear Regression: Q13 Total Spend<\\/h3>\\n<h5 class=\\\".h5\\\" style=\\\"color:#888888; text-align:left; margin-top:5px; margin-bottom:0\\\">Variables excluded: S1, S2, S3, C1, C2, C3, C4<\\/h5>\\n<caption style=\\\"caption-side:bottom;font-style:italic; font-size:90%;\\\">n = 1,265 cases used in estimation of a total sample size of 4,853; cases containing missing values have been excluded; R-squared: 0.07926; Correct predictions: 15.42%; AIC: 10,128; multiple comparisons correction: None<\\/caption>\\n <thead>\\n <tr>\\n <th style=\\\"text-align:left;\\\"> <\\/th>\\n <th style=\\\"text-align:right;\\\"> Estimate <\\/th>\\n <th style=\\\"text-align:right;\\\"> Standard Error <\\/th>\\n <th style=\\\"text-align:right;\\\"> <span style='font-style:italic;'>t<\\/span> <\\/th>\\n <th style=\\\"text-align:right;\\\"> <span style='font-style:italic;'>p<\\/span> <\\/th>\\n <\\/tr>\\n <\\/thead>\\n<tbody>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> (Intercept) <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">12.16<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.45 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">8.37<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">< .001<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Single over 40 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:red\\\">-5.89<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 2.30 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #fcc6bd\\\">-2.56<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">.010<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Couple under 40 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>-0.37<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.41 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #fef9f8\\\">-0.26<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.792<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Couple over 40 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>2.92<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 2.26 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #deebfc\\\">1.29<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.196<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Mix of adults <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>-0.93<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.36 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #feefed\\\">-0.69<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.493<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Young family <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>2.03<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.41 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #dae9fb\\\">1.44<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.151<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Middle family <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">4.79<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.45 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #abcdf7\\\">3.30<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">< .001<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Older family <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>2.66<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.47 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #d0e3fb\\\">1.81<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.070<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C1 Household description: Empty nesters <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>6.52<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 3.34 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #cde1fa\\\">1.95<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.052<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S1 Age: 19 to 24 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>1.37<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.53 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #e8f1fd\\\">0.90<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.370<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S1 Age: 25 to 29 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">5.04<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.73 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #b5d3f8\\\">2.91<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">.004<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S1 Age: 30 to 34 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">5.50<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.65 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #aaccf7\\\">3.34<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">< .001<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S1 Age: 35 to 39 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">5.87<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.59 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #a1c7f6\\\">3.69<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">< .001<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S1 Age: 40 to 44 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">7.07<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.59 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #8ebcf5\\\">4.44<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">< .001<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S1 Age: 45 to 49 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:blue\\\">5.94<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 1.62 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #a2c8f6\\\">3.66<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">< .001<\\/span> <\\/td>\\n <\\/tr>\\n<\\/tbody>\\n<\\/table>\"},\"evals\":[],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-b3bd7887647f1d9431dd\">{\"viewer\":{\"width\":\"100%\",\"height\":350,\"padding\":15,\"fill\":false},\"browser\":{\"width\":\"100%\",\"height\":500,\"padding\":0,\"fill\":false}}</script>","htmlwidget-head":"{\"stylesheets\":[\"https://widget-cdn.displayr.com/bootstrap.min-b0b695267332b70caf873ac5fdb1979f.css\"],\"javascript\":[\"https://widget-cdn.displayr.com/jquery.min-91a24ea414e8c447d647cecab86866c2.js\",\"https://widget-cdn.displayr.com/bootstrap.min-326d184c3c13feede563e4adcb5ff2a0.js\",\"https://widget-cdn.displayr.com/html5shiv.min-e70767555a95c48c08833356d362ccef.js\",\"https://widget-cdn.displayr.com/respond.min-4255ee1a060b15cb2432d0a497a6d510.js\",\"https://widget-cdn.displayr.com/htmlwidgets-62110aac48e210c7e8a9b92efed27a2d.js\",\"https://widget-cdn.displayr.com/formattable_widget-d2927ec9dec4a568bd3f4a62041c0ddb.js\"],\"attachments\":[],\"widget-cannot-re-render\":true,\"package\":\"formattable\",\"package_version\":\"0.2.1\"}"},"secondsTaken":11.052999999999999,"updated":"2019-11-14T19:10:11.7146679Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":37,"length":17,"index":6},{"start":221,"length":7,"index":6},{"start":487,"length":17,"index":4},{"start":537,"length":9,"index":4},{"start":548,"length":10,"index":4},{"start":560,"length":13,"index":4},{"start":591,"length":12,"index":4}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":true,"calculating":"Idle","showDebug":false,"layout":"OutputOnly","vSplit":0.25,"hSplit":0.45,"updateWarnings":true,"updateMode":"Automatic","warnSlow":true,"Options":{"debugconsole":false,"codeposition":"OutputOnly","splitH":0.45,"splitV":0.25,"update warnings":true,"updating":"Automatic","warn slow":true}}