SyntheticDifferenceInDifferencesWeightFitter.build_model#
- SyntheticDifferenceInDifferencesWeightFitter.build_model(X, y, coords)[source]#
Build the PyMC model with both unit-weight and time-weight modules.
- Parameters:
X (dict) – Mapping with
"unit"and"time"design matrices for the unit-weight and time-weight modules respectively.y (dict) – Mapping with
"unit"and"time"outcome arrays for the unit-weight and time-weight modules respectively.coords (
dict[str,Any] |None) – Coordinate names for the model’s named dimensions.
- Return type:
None