ModelAdapter.coefficients#

abstractmethod ModelAdapter.coefficients(*, group='posterior')[source]#

Return model coefficients with canonical coefficient dimensions.

Every supported backend returns an xarray.DataArray with dimensions ("chain", "draw", "coeffs") and an optional trailing "treated_units" dimension. Point-estimate backends return singleton chain and draw dimensions.

Parameters:

group (Literal['prior', 'posterior']) – Draw group to read coefficient variables from. "prior" is how coefficient-estimand experiments compute prior-phase effects.

Return type:

DataArray