statsmodels.stats.weightstats._zconfint_generic#
- statsmodels.stats.weightstats._zconfint_generic(mean, std_mean, alpha, alternative)[source]#
generic normal-confint based on summary statistic
- Parameters:
- mean
floatorndarray Point estimate, for example the mean or the difference of means of two samples.
- std_mean
floatorndarray Standard error of mean.
- alpha
float Significance level for the confidence interval, coverage is
1-alpha- alternative
str The alternative hypothesis, H1, has to be one of the following
‘two-sided’ : H1:
meannot equal to the null value.‘larger’ : H1:
meanlarger than the null value.‘smaller’ : H1:
meansmaller than the null value.
- mean
- Returns: