a
    \:b                     @   s0   d dl Zd dlmZ d dlmZmZ dd ZdS )    N)assert_array_almost_equal	bootstrapNewNormc               
      s   d t jd tt d dddd   d d	    d
} t jd  fddtdD }t |ddd   d d	    k }t jd  fddtdD }t | }t| |d t||d d S )N   i r      d   ;On?r         @      9@   )argsnobsnrepvaluec                    s   g | ]}t t d  ddqS )r   r   )r   r   r   r   .0_r    Slib/python3.9/site-packages/statsmodels/sandbox/distributions/tests/test_gof_new.py
<listcomp>   s   z:test_loop_vectorized_batch_equivalence.<locals>.<listcomp>c                    s:   g | ]2}t t d  dddd   d d    ddqS )r   r   r
   r   r   r   
   )r   r   r   r   Z
batch_sizer   r   r   r   r   r      s
   r      )	npZrandomZseedr   r   rangeZarrayZmeanr   )Zresu1tmpZresu2Zresu3r   r   r   &test_loop_vectorized_batch_equivalence   s"    
*
r   )Znumpyr   Znumpy.testingr   Z)statsmodels.sandbox.distributions.gof_newr   r   r   r   r   r   r   <module>   s   