U
    Ãmœd  ã                   @   s*   d Z ddlmZmZ ddgZd	dd„ZdS )
z=

Created on Fri Mar 30 18:27:25 2012
Author: Josef Perktold
é    )ÚtukeyhsdÚMultiComparisonr   r   çš™™™™™©?c                 C   s   t | |ƒj|d�S )a±  
    Calculate all pairwise comparisons with TukeyHSD confidence intervals

    Parameters
    ----------
    endog : ndarray, float, 1d
        response variable
    groups : ndarray, 1d
        array with groups, can be string or integers
    alpha : float
        significance level for the test

    Returns
    -------
    results : TukeyHSDResults instance
        A results class containing relevant data and some post-hoc
        calculations, including adjusted p-value

    Notes
    -----
    This is just a wrapper around tukeyhsd method of MultiComparison

    See Also
    --------
    MultiComparison
    tukeyhsd
    statsmodels.sandbox.stats.multicomp.TukeyHSDResults
    )Úalpha)r   r   )ZendogÚgroupsr   © r   úT/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/statsmodels/stats/multicomp.pyÚpairwise_tukeyhsd   s    r	   N)r   )Ú__doc__Z#statsmodels.sandbox.stats.multicompr   r   Ú__all__r	   r   r   r   r   Ú<module>   s   