ControlEffect.create_effect#
- ControlEffect.create_effect(mmm)[source]#
Create the control contribution deterministic in the model.
- Parameters:
- mmm
Model The MMM model instance.
- mmm
- Returns:
XTensorVariableThe summed control contribution with dims
(self.date_dim_name, *mmm.dims).
- Raises:
RuntimeErrorIf
create_datawas not called before this method (i.e.control_datais not registered in the model).