statsmodels.stats.weightstats.CompareMeans.summary#
- CompareMeans.summary(use_t=True, alpha=0.05, usevar='pooled', value=0)[source]#
summarize the results of the hypothesis test
- Parameters:
- use_tbool,
optional if use_t is True, then t test results are returned if use_t is False, then z test results are returned
- alpha
float,optional significance level for the confidence interval, coverage is
1-alpha- usevar{“pooled”, “unequal”},
optional If
pooled, then the standard deviation of the samples is assumed to be the same. Ifunequal, then the variance of Welch ttest will be used, and the degrees of freedom are those of Satterthwaite ifuse_tis True.- value
float,optional difference between the means under the Null hypothesis.
- use_tbool,
- Returns:
- smry
SimpleTable Summary table of the hypothesis test results.
- smry