rating_table_payload#

SuperLSS.rating_table_payload(
X: object | EagerFrame,
sample_weight: NDArray | None = None,
*,
offsets: Mapping[str, NDArray] | None = None,
offset_kind: str = 'auto',
offset_max_exact_levels: int = 20,
)#

Build one multiplicative rating table per parameter on a log or floored log link.

Each parameter’s table is a base and one block per term, interaction and offset, and its product is the quantity the editor shows: the mean, a Gamma CV, a log-normal sigma (floor + base x product) or a negative-binomial overdispersion 1 / theta. rule on each table says how the parameter follows from the product. A parameter on any other link, or holding a term with no exact table, is left out with a sentence in omitted. X supplies each level’s exposure and column offsets; offsets is what predict_parameters takes. export_rating_tables() writes it as a workbook.