diff_binom_confint.ConfidenceInterval#
- class diff_binom_confint.ConfidenceInterval(lower_bound: float, upper_bound: float, estimate: float, level: float, method: str, sides: str = 'two-sided')[source]#
Dataclass for holding meta information of a confidence interval.
- sides#
Sides of the confidence interval, should be one of
“two-sided” (aliases “2-sided”, “two_sided”, “2_sided”, “2-sides”, “two_sides”, “two-sides”, “2_sides”, “ts”, “t”, “two”, “2”),
“left-sided” (aliases “left_sided”, “left”, “ls”, “l”),
“right-sided” (aliases “right_sided”, “right”, “rs”, “r”),
case insensitive.
- Type:
str, default “two-sided”
- __init__(lower_bound: float, upper_bound: float, estimate: float, level: float, method: str, sides: str = 'two-sided') None #
Methods
__init__
(lower_bound, upper_bound, estimate, ...)astuple
()Attributes