scipy.stats._result_classes.TtestResult.confidence_interval#

TtestResult.confidence_interval(confidence_level=0.95)[source]#
Parameters:
confidence_levelfloat

The confidence level for the calculation of the population mean confidence interval. Default is 0.95.

Returns:
cinamedtuple

The confidence interval is returned in a namedtuple with fields low and high.