PropensityScore.build_model#

PropensityScore.build_model(X, t, coords, prior=None, noncentred=True)[source]#

Define the PyMC propensity model.

Parameters:
  • X (ndarray) – Covariate matrix used to predict the treatment.

  • t (ndarray) – Observed treatment indicator (0/1).

  • coords (dict[str, Any]) – Coordinate names for named dimensions of the model.

  • prior (dict[str, Any] | None) – Prior specification overrides; see default_priors for the expected keys.

  • noncentred (bool) – Reserved for future non-centred parameterisations of the coefficient prior. Currently informational only.

Return type:

None