/*! For license information please see dll.248.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[248],{3405:function(e,t,a){"use strict";a.r(t);var n=a(202),l=a.n(n),u=a(0),i=a.n(u),o=a(1),r=a.n(o),d=a(88),c=a(77),s=a(69),f=a(968),m=a(206),p=a(204),E=a(365),g=a(1826),v=a(200),h=a(966),w=function(e){var t=e.data,a=e.showDecision,n=e.quantitative,o=e.t,r=Object(u.useState)("T Test"),w=l()(r,2),b=w[0],y=w[1],T=Object(u.useState)(null),S=l()(T,2),O=S[0],C=S[1],q=Object(u.useState)(0),_=l()(q,2),j=_[0],D=_[1],R=Object(u.useState)("two-sided"),A=l()(R,2),V=A[0],k=A[1],M=Object(u.useState)(.05),P=l()(M,2),N=P[0],x=P[1],z=Object(u.useState)(null),H=l()(z,2),J=H[0],Z=H[1];return i.a.createElement(d.default,{style:{fontSize:"14px"}},i.a.createElement(d.default.Header,{as:"h4"},o("One-Sample Mean Test"),i.a.createElement(h.default,{title:o("One-Sample Mean Test"),content:o("One-Sample Mean Test-description")})),i.a.createElement(d.default.Body,null,i.a.createElement(p.default,{legend:o("type-of-test"),defaultValue:b,options:["T Test","Z Test"],onChange:y}),i.a.createElement(p.default,{legend:o("variable"),defaultValue:null,options:n,onChange:C}),"Z Test"===b?i.a.createElement(m.default,{legend:o("Standard Deviation"),defaultValue:J,step:"any",min:0,onChange:Z,inputStyle:{width:140}}):null,i.a.createElement(f.default,null,i.a.createElement(s.default,null,i.a.createElement(m.default,{legend:i.a.createElement("span",null,i.a.createElement(E.default,{raw:"H_0"})," mean value (",i.a.createElement(E.default,{raw:"\\mu_0"}),")"),defaultValue:j,step:"any",onChange:D})),i.a.createElement(s.default,null,i.a.createElement(m.default,{legend:i.a.createElement("span",null,o("significance-level"),i.a.createElement(E.default,{raw:"\\alpha"})),defaultValue:N,min:0,max:1,tooltipPlacement:"left",step:"any",onChange:x}))),i.a.createElement(p.default,{legend:o("direction"),defaultValue:V,options:["less","greater","two-sided"],onChange:k,menuPlacement:"top"}),i.a.createElement(c.default,{variant:"primary",block:!0,onClick:function(){var n=i.a.createElement(g.default,{data:t,variable:O,showDecision:a,mu0:j,direction:V,stdev:J,type:b,alpha:N});e.logAction(v.DATA_EXPLORER_TESTS_MEAN,{variable:O,mu0:j,direction:V,alpha:N,type:b,stdev:J,showDecision:a}),e.onCreated(n)},disabled:!O},o("calculate"))))};w.defaultProps={logAction:function(){},showDecision:!0},w.propTypes={quantitative:r.a.array.isRequired,data:r.a.object.isRequired,logAction:r.a.func,onCreated:r.a.func.isRequired,showDecision:r.a.bool},t.default=w},966:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),u=a(1),i=a.n(u),o=a(77),r=a(974),d=a(971),c=a(970),s=a(998),f=function(e){var t=l.a.createElement(r.default,{id:"popover-positioned-right"},l.a.createElement(d.default,null,e.title),l.a.createElement(c.default,null,e.content));return l.a.createElement(s.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:t},l.a.createElement(o.default,{size:"sm",variant:"outline-secondary",className:"question-button"},l.a.createElement("div",{className:"fa fa-question"})))};f.propTypes={content:i.a.oneOfType([i.a.string,i.a.node]).isRequired,title:i.a.string.isRequired},t.default=f}}]);