relativities#

SuperGLM.relativities(
with_se: bool = False,
centering: str = 'native',
) → dict[str, DataFrame]#

Extract plot-ready relativity DataFrames for all features.

Parameters:
centering{“native”, “mean”}

"native" (default) returns the canonical fitted term contribution under the model’s identifiability constraint. "mean" is a reporting convenience that shifts so the geometric mean of relativities = 1 — useful for cross-feature comparison but not the fitted term decomposition. It is a change of identifiability constraint, so se_log_relativity changes with it: it becomes the error of the centered contrast.