Draw samples from posterior, prior predictive, and posterior predictive
distributions, placing them in the model’s idata attribute.
- Parameters:
X (DataArray) – Input features with dims [“obs_ind”, “coeffs”]. Can have 0 columns if
no exogenous variables.
y (DataArray) – Target variable with dims [“obs_ind”, “treated_units”].
coords (dict[str, Any] | None) – Coordinates dictionary. Must contain “datetime_index” (pd.DatetimeIndex).
- Return type:
InferenceData