U
    Kvf                     @   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   ?/tmp/pip-unpacked-wheel-2v6byqio/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   