+
    0iE                     Z    ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIH	t	H
t
  ! R R4      tR# )    N)assert_allclose)stats)_pvalue_dunnettDunnettResultc                     a  ] tR t^t o . R\O. R]O. R^OR
R.R..t. RNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR
NR	NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NRNRNR
NRNR	NRNRNRNRNRNRNRNt. R_Ot. R`Ot. RaOt. RbOt	. RcOt
. RdO. ReO.t. RfOt. RgOt]! ]]	]R!7      t]! ]]]R!7      t]! ]]]
]]R"7      t. RhO. RiO.t. RjOtR#R$.tR%R&.tR'R(.tR)R*.tR+R,.tRkR-.R.R/..tRlR0.tR1R2.t]! ]]]R!7      t]! ]]]R!7      t]! ]]]]]R"7      t. RmO. RnO. RoO.t. RpOt . RqOt!. RrOt". RsOt#. RtOt$. RuOt%. RvO. RwO.t&. RxOt'. RyOt(]! ]"]$]#R!7      t)]! ]&](]'R!7      t*]! ]] ]%])]*R"7      t+. RzO. R{O.t,. R|Ot-R3R4.t.R5R6.t/R7R8.t0R9R:.t1R;R}.t2R~R.R<R=..t3RR.t4R>R?.t5]! ]/]1]0R!7      t6]! ]3]5]4R!7      t7]! ],]-]2]6]7R"7      t8]9Pt                  Pw                  R@RRRRRRRRRA^^<RERF.RDRB.RC3RRRRRRRRRA^^<RHRI.RDRB.RG3.4      RJ 4       t<]9Pt                  Pw                  RK]]]]
3]]]]3]] ]!]%3],]-].]23.4      RL 4       t=]9Pt                  Pw                  RM. RO4      RO 4       t>]9Pt                  Pw                  RPRN^ ^.3RC^^ .3RG^ ^ .3.4      RQ 4       t?]9Pt                  Pw                  RR]]]+]8.4      ]9Pt                  Pw                  RM. RO4      RS 4       4       t@]9Pt                  Pw                  RM. RO4      RT 4       tARU tBRV tC]9Pt                  P                  RW4      ]9Pt                  Pw                  RX. RO4      RY 4       4       tERZtFV tGR[# )TestDunnett      8@      ;@      @@      <@      ?@      B@      A@      C@      :@      9@      =@     0@g      4@g      2@g      .@g      0@g      1@g      ,@g      6@g      5@g      $@g      &@g      "@g     1@g      /@g      -@g     6@g     8@g     2@g     :@g      *@g      7@)twosidedlessgreater)samplescontrol	statisticpvaluescisg?gw?gE&?g$_w?g8n?gǥ&g?gHV?gqt?g-l?ǧ@gSE/:?g(s@g=pF]@glvm?gЬ̺$@g}Q@g?g[ A?g(D!T?g77',?gMbX?g=,Ԛ?g_Fj?g )"*?gGz?g{Ug[?gxk|?gH0K?gC7v?z1rho, n_groups, df, statistic, pvalue, alternative      ?皙?r   {Gz?(\@gGz@	two-sidedQ	@gffffff@c                   \         P                  P                  R 4      p\         P                  ! W"3V4      p\         P                  ! V^4       \         P
                  ! V4      p\        WVVVR7      p\        WRR7       R# )l	   <~(zh.W)| )rhodfr   alternativerng{Gzt?atolN)nprandomdefault_rngfullfill_diagonalarrayr   r   )	selfr$   n_groupsr%   r   pvaluer&   r'   ress	   &&&&&&&  ^/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/stats/tests/test_multicomp.pytest_critical_values TestDunnett.test_critical_values   sk    : ii##$KLggx*C0
a HHY'	i#

 	$/    z#samples, control, pvalue, statisticc                   \         P                  P                  R 4      p\        P                  ! VRVRV/ p\        V\        4      '       g   Q h\        VP                  VRR7       \        VP                  VRRR7       R# )	l	   suVP}v*d r   r'   g-C6
?)rtolr   -C6?r:   r*   N)
r+   r,   r-   r   dunnett
isinstancer   r   r   r3   )r1   r   r   r3   r   r'   r4   s   &&&&&  r5   
test_basicTestDunnett.test_basic   sf     ii##$JKmmW?g?3?#}----yt<

FDAr8   r&   r   c                   \         P                  P                  R 4      p\        ^
4       F  pVP	                  R^dR	R7      pVP	                  R^dR	R7      p\
        P                  ! WEWR7      p\
        P                  ! WEVR7      p\        VP                  VP                  RRR7       \        VP                  VP                  RRR7       K  	  R# )
	   Qyp^\j.sU size)r   r&   random_state)r&   gMbP?h㈵>r<   N
   )r+   r,   r-   rangeintegersr   r=   	ttest_indr   r   r3   )r1   r&   r'   _sampler   r4   refs   &&      r5   test_ttest_indTestDunnett.test_ttest_ind   s     ii##$KLrA\\$%\8Fll45l9G --'C //'C
 CMM3==t$OCJJ

DI r8   zalternative, pvaluec                   \         P                  P                  R 4      pVP                  ^ ^R	R7      pVP                  ^P^dR	R7      pVP                  ^^R	R7      p\        P
                  ! WFVWR7      p\        VP                  VRR7       VP                  4       pVR8X  d   \         P                  ! VP                  4      P                  4       '       g   Q hR
VP                  ^ ,          u;8  d	   R8  g   Q h Q h^<VP                  ^,          u;8  d	   ^d8  g   Q h Q hR# VR8X  d   R
VP                  ^ ,          u;8  d	   R8  g   Q h Q h^<VP                  ^,          u;8  d	   ^d8  g   Q h Q h\         P                  ! VP                  4      P                  4       '       g   Q hR# VR8X  d   R
VP                  ^ ,          u;8  d	   R8  g   Q h Q h^<VP                  ^,          u;8  d	   ^d8  g   Q h Q hR
VP                  ^ ,          u;8  d	   R8  g   Q h Q h^<VP                  ^,          u;8  d	   ^d8  g   Q h Q hR# R# )rB   rC   )r   r&   r'   gHz>r)   r   r   r!   NrH   rG   i)r+   r,   r-   rK   r   r=   r   r3   confidence_intervalisneginflowallhighisposinf)	r1   r&   r3   r'   sample_lessr   sample_greaterr4   cis	   &&&      r5   test_alternativesTestDunnett.test_alternatives   s    ii##$KL ll1bul5,,r3U,3c3U;mm#
 	

F6$$&& ;;rvv&**,,,,"''!**s*****
(S(((((I%"&&))c)))))q	'C''''';;rww'++----K'"&&))c)))))q	'C'''''"''!**s*****
(S(((((	 (r8   casec           	        \         P                  P                  R 4      pVR,          pVR,          pRRRRRR/pVR,          VP                  RR	4      ,          p\        P
                  ! VRVR
VRV/ p\        VP                  VRRR7       VR,          Wb,          ,          p	VR8X  d   V	\         P                  .p	MVR8X  d   \         P                  ) V	.p	VP                  e   Q hVP                  e   Q hVP                  RR7      p
\        V
P                  V	^ ,          RRR7       \        V
P                  V	^,          RRR7       VP                  V
J g   Q hVP                  R8X  g   Q hVP                  RR7      pWJ g   Q hR# )	   ><Fl&\z]	a# r   r   r   r   r!   r   r   - r&   r'   r(   r;   r<   r   Ngffffff?confidence_levelrF   )r+   r,   r-   replacer   r=   r   r3   inf_ci_ci_clrS   rU   rW   )r1   r^   r&   r'   r   r   alternativesp_refr4   ci_refr[   ci_s   &&&         r5   test_against_R_multicomp_glht)TestDunnett.test_against_R_multicomp_glht&  sr    ii##$KLy/y/	9#Z1Y 3 3C <=mmW %g %; % #% 	

E4@e\67)#bff%FF"vvgv&Fwwzz!!!$$d$;q	4@DA ww"}}zzT!!!%%t%<yyr8   c           	     j   \         P                  P                  R 4      p\        P                  ! V P
                  RV P                  RVRV/ p\        V4      pRV9   g   Q hRV9   g   Q hVR8X  d   RV9   g   Q hRV9   g   Q hR# VR	8X  d   R
V9   g   Q hRV9   g   Q hR# R
V9  g   Q hRV9   g   Q hR# )r`   r   r&   r'   z(Sample 2 - Control)z95.0%r   z-infz19.r   rf   z-13.z21.N)r+   r,   r-   r   r=   	samples_3	control_3str)r1   r&   r'   r4   res_strs   &&   r5   test_strTestDunnett.test_strF  s    ii##$KLmm^^
%)^^
AL

 c(%000'!!!& W$$$G###I%G###W$$$'''G###r8   c                F   \         P                  P                  R 4      p\        P                  ! V P
                  RV P                  RV/ pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  RR7       RRR4       R#   + '       g   i     R# ; i)r`   r   r'   z7Computation of the confidence interval did not convergematchrF   )tolN)r+   r,   r-   r   r=   rp   rq   pytestwarnsUserWarning
_allowance)r1   r'   r4   msgs   &   r5   test_warningsTestDunnett.test_warnings^  sv    ii##$KLmm^^
%)^^
9<
 I\\+S11NNtN$ 2111s   2BB 	c           	        V P                   V P                  r!\        P                  ! \        R R7      ;_uu_ 4        \
        P                  ! VRVRR/  RRR4       \        P                  ! V4      pV^ ,          .V^ &   \        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! VRV/  RRR4       \        P                  ! V4      pV.p\        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! VRV/  RRR4       \        P                  ! V4      p. V^&   \        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! VRV/  RRR4       . p\        P                  ! \        RR7      ;_uu_ 4        \
        P                  ! VRV/  RRR4       \
        P                  ! VRV/ p\        P                  ! \        RR7      ;_uu_ 4        VP                  ^R	7       RRR4       R#   + '       g   i     EL; i  + '       g   i     EL{; i  + '       g   i     EL3; i  + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R# ; i)
zalternative must berw   r   r&   bobNzmust be 1D arrayszat least 1 observationzConfidence level mustrc   )
rp   rq   rz   raises
ValueErrorr   r=   copydeepcopyrS   )r1   r   r   samples_control_r4   s   &     r5   test_raisesTestDunnett.test_raisesh  s   >>4>> ]]:-BCCMM7GGGG D ==){m]]:-@AAMM85W5 B ==):]]:-@AAMM75H5 B ==)]]:-EFFMM85W5 G ]]:-EFFMM75H5 G mmW6g6]]:-DEE##Q#7 FE7 DCC BAA BAA GF
 GF FEEsG   H$H- II#I(<I;H*	-H>	I	I%	(I8	;J	z$ignore:Computation of the confidence	n_samplesc                   \         P                  P                  R 4      pVP                  V^
3R7      pVP                  ^
R7      p\        P
                  ! VRVRV/ pVP                  P                  V38X  g   Q hVP                  P                  V38X  g   Q hVP                  4       pVP                  P                  V38X  g   Q hVP                  P                  V38X  g   Q hR# )l   V=0(LrC   r   r'   N)r+   r,   r-   normalr   r=   r   shaper3   rS   rU   rW   )r1   r   r'   r   r   r4   r[   s   &&     r5   test_shapesTestDunnett.test_shapes  s     ii##$67**9b/*2**"*%mmW?g?3?}}""yl222zzI<///$$&vv||	|+++ww}},,,r8    N)r	   r
   g     @@r   r         3@g     B@r   r   r   r   r   r   r   r   )	r   r	   r   r   r   g     =@r   r   g      F@)r   r
   r   )gCRݓ>gG!ɬ?g0[wT?@ޫV&?gۅ:?)r;   geI)?g
pU?r   gi?)r;   gmFA?gd;O?g9x&?gφ3x?)   r   g1%?g`|?r   )g @g>yX5M@gezFw?gQH?g:ǀ?)g#t@gX?gw퉥 g@Rr'g')gg!O$/@gj
s+@g"4P*@g@RrI-@g9@)gS@g.Ĩf?gbHgڨ%g61#)g@y.@g 4r*@gy.ꕯ(@g*@g]f7@)gQ#@g!@gQ@gQ"@)g)@g\(\#@gRQ(@gffffff"@g%@)g@g      !@g@g{Gz @gGz#@gp=
ף @g,CgQ)7   @   r   )r   1   4   )2   ,   )   )r   /   0   )g&S?g{?gX2ı.?)g4?gZՒr?gڧ1?)gr4?g(?gnŨk?)gAJi?gŬC9?gT?)g vй@g$~?g&lscz)gv:?gX~ gX~.)gI,A?5@gX~(@g$8@)gB8@g_cg/1+)ga33@gO7f2%@g=m@)gffffff@g@g      @g333333@)gffffff@g333333@g@g@g       @)333333@g      @g      @g@g	@g}iƢgQ2Ng`lg쑿Wg!%-L$)r   r   rI   g(\?r   r   )r      rI   gQ@r   r   )r         gףp=
?r   r   )r      r   gp=
ף@r   r   )r         g(\
@r   r   )r      r   g{Gz@r   r   )r   r   <   gQ@r   r   )r   r   r   r    r   r   )r   r   rI   gףp=
@r   r!   )r   r   rI   g{Gz@r   r!   )r   r   r   g(\@r   r!   )r   r      g(\@r   r!   )r   r   r   gGz@r   r!   )r   r   r   gRQ@r   r!   )r   r   r   r   r   r!   )r   r   r   r"   r   r!   )r!   r   r   )r   r   r!   )r   r   r   )H__name__
__module____qualname____firstlineno__	samples_1	control_1pvalue_1p_1_twosidedp_1_greaterp_1_lessstatistic_1ci_1_twosidedci_1_greater	ci_1_lessdict	pvalues_1cis_1case_1	samples_2	control_2pvalue_2p_2_twosidedp_2_greaterp_2_lessstatistic_2ci_2_twosidedci_2_greater	ci_2_less	pvalues_2cis_2case_2rp   rq   pvalue_3p_3_twosidedp_3_greaterp_3_lessstatistic_3ci_3_twosidedci_3_greater	ci_3_less	pvalues_3cis_3case_3	samples_4	control_4pvalue_4p_4_twosidedp_4_greaterp_4_lessstatistic_4ci_4_twosidedci_4_greater	ci_4_less	pvalues_4cis_4case_4rz   markparametrizer6   r?   rP   r\   rm   rt   r   r   filterwarningsr   __static_attributes____classdictcell__)__classdict__s   @r5   r   r      s    F	
 	?	t		I $&*,0268<>BDH $&*,0268<>BDG 	    !% '+ -1 37 9= ?C EI 		 	 	 	 !%	 '+	 -1	 37	 9=	 ?C	 EI	
 	
 
 
 
 !%
 '+
 -1
 37
 9=
 ?C
 EI 	    !% '+ -1 37 9=I @H=L@K/H?K<:;M9L5Il;OI-iNE)Y+#0F *+LMI4IHy)Li(K!HG$K&8%79M$o6L /2Il;OI-iNE)Y+#0F |\:II'H1L0K*H.KKJLMILEIl;OI-iNE)Y+#0F &'@AI)IHW%LG$K!HH%K&(89%79M$&68L /2Il;OI-iNE)Y+#0F [[; 0///////!R$d|Y?11111111!R$d|[A+	
40540 [[-	8[9	8[9	8[9	8[9		
BB [[(J	J, [[aVA1a&!	
))> [[Vffff%EF[[],LM N G< [[],LM$ N$.% 8D [[ FG[[[)4	- 5 H	-r8   r   )r   numpyr+   rz   numpy.testingr   scipyr   scipy.stats._multicompr   r   r   r   r8   r5   <module>r      s#       )  AJ- J-r8   