You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the adjustment_model() priors= escape hatch reachable
The beta_{outcome} guard ran inside _inherit_outcome_priors, which is
called before the caller's priors= argument is merged, so the workaround
the error message advertised raised the very same error. Split the guard
into its own helper that also sees the user's overrides, so an explicit
priors={"beta_Y": ...} satisfies it and is used for the reduced equation.
Coefficient priors are still not inherited: beta is a vector over the
outcome's predictors, and a reduced equation's predictor set can differ
from the structural one. Dispersion inheritance is unchanged.
Fixes#463.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments