WeightedSumFitter.build_model#

WeightedSumFitter.build_model(X, y, coords)[source]#

Define the PyMC model.

Parameters:
  • X (DataArray) – Design matrix with dims ("obs_ind", "coeffs").

  • y (DataArray) – Outcome with dims ("obs_ind", "treated_units").

  • coords (dict[str, Any] | None) – Coordinate names for the model’s named dimensions.

Return type:

None