estimators.estimator_abc

class evt.estimators.estimator_abc.Estimate(estimate: numbers.Real, ci_lower: numbers.Real, ci_upper: numbers.Real, confidence_level: numbers.Real = 0.95)

Bases: object

Represents an estimate of a quantity. Includes lower- and upper-bounds of a confidence interval at a determined confidence level.

Can be unpacked like a tuple:

>>> estimate, ci_lower, ci_upper = Estimate(...)
ci_lower: numbers.Real

Lower bound of the confidence interval with confidence level confidence_level.

ci_upper: numbers.Real

Upper bound of the confidence interval with confidence level confidence_level.

confidence_level: numbers.Real = 0.95

Confidence level of the confidence intervals. Between 0 and 1 inclusive.

estimate: numbers.Real

Numerical estimate.

class evt.estimators.estimator_abc.Estimator

Bases: object

Abstract class representing an estimator for one or multiple parameters.

abstract estimate(*args)List[evt.estimators.estimator_abc.Estimate]

Returns a list of Estimate objects corresponding to the estimated values with confidence intervals.