{"size":{"Width":500,"Height":500},"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 - NBD Regression","outputs":{"warning":"Unusual observations detected. The largest hat value is 0.0779, which is higher than the threshhold of 0.00577 = 2 * (k + 1) / n.\n","htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-061f7bced06947a33d9a\" 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-061f7bced06947a33d9a\">{\"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\\\">Quasi-Poisson Regression: Fast-food Occassions<\\/h3>\\n<caption style=\\\"caption-side:bottom;font-style:italic; font-size:90%;\\\">n = 4,853 cases used in estimation; R-squared: 0.01101; Correct predictions: 18.24%; McFadden's rho-squared: 0.0112; 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\\\">1.38<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.04 <\\/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\\\">34.39<\\/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: 19 to 24 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>0.03<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.03 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #e7f1fc\\\">0.93<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.353<\\/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>0.04<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.04 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #e1edfc\\\">1.16<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.245<\\/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>-0.03<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.04 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #feedeb\\\">-0.77<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.439<\\/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>-0.05<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.04 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #fddfda\\\">-1.42<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.156<\\/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>-0.06<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.04 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #fddad5\\\">-1.63<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.102<\\/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:red\\\">-0.10<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.04 <\\/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: #fcc1b9\\\">-2.76<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">.006<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> S2 Gender: Female <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:red\\\">-0.04<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.02 <\\/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: #fdc9c2\\\">-2.40<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">.016<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C2 Work Status: Full time employment <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>0.04<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.03 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #d6e7fb\\\">1.59<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.111<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C2 Work Status: Part time employment <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>0.01<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.03 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #f7fafe\\\">0.31<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.754<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C2 Work Status: Unemployed <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"color:red\\\">-0.11<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.05 <\\/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: #fdcec7\\\">-2.17<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"font-weight: bold\\\">.030<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C2 Work Status: Student/not working <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>-0.01<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.03 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #fef8f7\\\">-0.29<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.770<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"vertical-align:middle; text-align:left;\\\"> C2 Work Status: Retired <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>0.01<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> 0.15 <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #fcfdfe\\\">0.09<\\/span> <\\/td>\\n <td style=\\\"vertical-align:middle; text-align:right;\\\"> <span>.929<\\/span> <\\/td>\\n <\\/tr>\\n<\\/tbody>\\n<\\/table>\"},\"evals\":[],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-061f7bced06947a33d9a\">{\"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":2.018,"updated":"2019-11-14T18:12:11.8336498Z","lastUpdatedMessage":null,"executedCode":null,"lastSavedCode":null,"highlightedCodeSpans":[{"start":63,"length":11,"index":0},{"start":77,"length":2,"index":0},{"start":82,"length":2,"index":0},{"start":87,"length":2,"index":0},{"start":139,"length":13,"index":4},{"start":200,"length":17,"index":6},{"start":228,"length":7,"index":6},{"start":283,"length":11,"index":4},{"start":305,"length":10,"index":4},{"start":332,"length":9,"index":4},{"start":2096,"length":10,"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}}