ChannelDependentEffect#
- class pymc_marketing.mmm.spend_reach.ChannelDependentEffect(contribution_var, label, declared_carryover_lags, declared_evaluation_mode)[source]#
A
mu_effectwhose contribution a spend counterfactual can reach.Produced by
resolve_channel_dependent_effects()for every effect that (a) haschannel_dataamong the ancestors of its contribution variable and (b) opted in viaincrementality_spec().- Parameters:
- contribution_var
str Name of the deterministic holding the term this effect adds to the linear predictor.
- label
str Class name of the originating effect, for error messages.
- declared_carryover_lags
intorNone Extra evaluation-window length declared by the effect’s
IncrementalitySpec, orNoneto have it measured.- declared_evaluation_mode{“auto”, “window”, “full”}
The spec’s
evaluation_mode.
- contribution_var
Methods
Attributes
contribution_varlabeldeclared_carryover_lagsdeclared_evaluation_mode