DirichletLSS#
- class superglm.DirichletLSS(components: tuple[str, ...])#
Bases:
objectPositive interior compositions with one positive alpha per named component.
Rows within 8 gamma_(K+1) of unit mass denote the mathematical normalization of their supplied shares. Materially nonunit rows are rejected. Frequency weights repeat the entire joint density once per row; only unit prior weights are defined. Log-alpha effects change both mean composition and concentration.
- alpha(
- component: str,
- *terms: TermInput,
- intercept: bool = True,
- offset: Any = None,
- link: Literal['log', 'identity', 'logit', 'probit', 'cloglog', 'cauchit', 'inverse', 'inverse_squared', 'sqrt'] | Link | None = None,
Declare a component’s concentration, including fixed link-scale offsets.
offsetaccepts columns, row arrays, or lists of these sources. New-row mappings usecomponent_parameters[component]and replace only the array-source sum; column contributions come from the new frame.