statsmodels.sandbox.stats.multicomp.TukeyHSDResults#
- class statsmodels.sandbox.stats.multicomp.TukeyHSDResults(mc_object, results_table, q_crit, reject=None, meandiffs=None, std_pairs=None, confint=None, df_total=None, reject2=None, variance=None, pvalues=None, alpha=None, group_t=None, group_c=None)[source]#
Results from Tukey HSD test, with additional plot methods
Can also compute and plot additional post-hoc evaluations using this results class.
- Attributes:
- reject
ndarray Boolean array indicating whether the null hypothesis is rejected for each group pair.
- meandiffs
ndarray Pairwise mean differences.
- confint
ndarray Confidence intervals for the pairwise mean differences.
- std_pairs
ndarray Standard deviations of the pairwise mean differences.
- q_crit
floatorndarray Critical value or values of the studentized range statistic at the specified significance level.
- halfwidths
ndarray Half widths of the simultaneous confidence intervals. This attribute is available after calling plot_simultaneous.
- pvalues
ndarray Adjusted p-values from the HSD test.
- reject2
ndarray Alternative boolean rejection decisions based on the confidence intervals.
- df_total
floatorndarray Total degrees of freedom used for each pairwise comparison.
- df_total_hsd
float Total degrees of freedom used for the HSD critical value.
- variance
floatorndarray Variance estimate or estimates used in the pairwise comparisons.
- alpha
float Significance level used for the test.
- group_t
ndarray Treatment group label for each pairwise comparison.
- group_c
ndarray Control group label for each pairwise comparison.
- data
ndarray Original response data from the MultiComparison instance.
- groups
ndarray Original group labels from the MultiComparison instance.
- groupsunique
ndarray Unique group labels from the MultiComparison instance.
- reject
Methods
plot_simultaneous([comparison_name, ax, ...])Plot a universal confidence interval of each group mean
summary()Summary table that can be printed
Summary DataFrame
Methods
plot_simultaneous([comparison_name, ax, ...])Plot a universal confidence interval of each group mean
summary()Summary table that can be printed
Summary DataFrame