/*! For license information please see dll.249.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[249],{3381:function(e,t,a){"use strict";a.r(t);var n=a(0),i=a.n(n),l=a(1),r=a.n(l),o=a(1122),u=a.n(o),c=a(364),s=a.n(c),d=a(203),f=a.n(d),p=a(204),m=a(209),g=a(373),E=a(1835),v=a(200),R=a(966),q=function(e){var t=e.data,a=e.categorical,n=e.quantitative,l=e.t;return i.a.createElement(g.default,{title:i.a.createElement("span",null,l("Multiple Linear Regression"),i.a.createElement(R.default,{title:l("Multiple Linear Regression"),content:l("Multiple Linear Regression-description")})),autoStart:!1,onGenerate:function(a,l,r,o){var u=i.a.createElement(E.default,{x:l,y:a,intercept:r,omitMissing:o,data:t,quantitative:n,onPredict:function(a,i,l){var r=s()(t,1),o=n.slice(),u="pred_lm"+l;r[u]=a,f()(o,u)||o.push(u),u="resid_lm"+l,f()(o,u)||o.push(u),r[u]=i,e.onGenerate(o,r)},onDiagnostics:e.onCreated}),c={y:a,x:l,intercept:r};e.logAction(v.DATA_EXPLORER_MULTIPLE_REGRESSION,c),e.onCreated(u)}},i.a.createElement(p.default,{legend:l("outcome-y"),options:n,defaultValue:n[0]}),i.a.createElement(p.default,{legend:l("predictors-x"),multi:!0,options:u()(n.concat(a)),defaultValue:n[1],closeMenuOnSelect:!1}),i.a.createElement(m.default,{legend:l("include-intercept"),defaultValue:!0}),i.a.createElement(m.default,{legend:l("omit-missing"),defaultValue:!1}))};q.defaultProps={logAction:function(){}},q.propTypes={categorical:r.a.array.isRequired,quantitative:r.a.array.isRequired,data:r.a.object.isRequired,logAction:r.a.func,onGenerate:r.a.func.isRequired,onCreated:r.a.func.isRequired},t.default=q},966:function(e,t,a){"use strict";a.r(t);var n=a(0),i=a.n(n),l=a(1),r=a.n(l),o=a(77),u=a(974),c=a(971),s=a(970),d=a(998),f=function(e){var t=i.a.createElement(u.default,{id:"popover-positioned-right"},i.a.createElement(c.default,null,e.title),i.a.createElement(s.default,null,e.content));return i.a.createElement(d.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:t},i.a.createElement(o.default,{size:"sm",variant:"outline-secondary",className:"question-button"},i.a.createElement("div",{className:"fa fa-question"})))};f.propTypes={content:r.a.oneOfType([r.a.string,r.a.node]).isRequired,title:r.a.string.isRequired},t.default=f}}]);