Skip to main content

kernels.Calibration

Centred residual pools per size stratum; see the module docstring.

Usage

Source

kernels.Calibration(
    horizons, n_strata, unit_stratum, size_edges, medians, pools, residuals
)

Parameter Attributes

horizons: tuple[int, …]
n_strata: int
unit_stratum: dict
size_edges: np.ndarray
medians: np.ndarray
pools: tuple
residuals: pd.DataFrame

Methods

Name Description
strata_for() 1-based stratum per size, by the stored upper bounds.

strata_for()

1-based stratum per size, by the stored upper bounds.

Usage

Source

strata_for(size)