cleverly.inference.SimultaneousBands#

class cleverly.inference.SimultaneousBands(critical_value: float, bands: dict[str, tuple[float, float]], alpha: float, n_replicates: int, kind: str, support: Support = Support(label='experimental', reason='This estimate was built outside a classified fit.', evidence=(), row=None, limits=()))[source]#

Joint confidence bands across several estimands.

Parameters:
critical_valuefloat

Multiplier the pointwise standard errors are scaled by.

bandsdict of str to tuple of float

One joint interval per estimand alias.

alphafloat

Joint significance level the bands hold at.

n_replicatesint

Multiplier draws behind the critical value.

kindstr

Distribution the multiplier weights were drawn from.

supportSupport, default=UNCLASSIFIED

The combination of the support of the estimates the band covers. A fit narrows it further when its row licenses no band kind for the fit.

Methods#

Attributes#

SimultaneousBands.pointwise_critical_value#

The critical value a single-estimand interval would have used.

SimultaneousBands.support: Support = Support(label='experimental', reason='This estimate was built outside a classified fit.', evidence=(), row=None, limits=())#
SimultaneousBands.critical_value: float#
SimultaneousBands.bands: dict[str, tuple[float, float]]#
SimultaneousBands.alpha: float#
SimultaneousBands.n_replicates: int#
SimultaneousBands.kind: str#