ó
áp7]c           @   s8   d  Z  d d l m Z m Z d d g Z d d  Z d S(   s=   

Created on Fri Mar 30 18:27:25 2012
Author: Josef Perktold
i˙˙˙˙(   t   tukeyhsdt   MultiComparisonR    R   gŠ?c         C   s   t  |  |  j d |  S(   są  
    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
    t   alpha(   R   R    (   t   endogt   groupsR   (    (    s:   lib/python2.7/site-packages/statsmodels/stats/multicomp.pyt   pairwise_tukeyhsd   s    N(   t   __doc__t#   statsmodels.sandbox.stats.multicompR    R   t   __all__R   (    (    (    s:   lib/python2.7/site-packages/statsmodels/stats/multicomp.pyt   <module>   s   