SpendReach#
- class pymc_marketing.mmm.spend_reach.SpendReach(effective_l_max, requires_full_axis, measured=<factory>)[source]#
What the evaluation is allowed to assume about its window.
The whole contract between this module and
Incrementality: two numbers, plus the per-node measurements they were derived from for anyone who wants to see the working.- Parameters:
- effective_l_max
int Evaluation-window half-length covering every path spend can take – the model’s own
adstock.l_maxplus the widest extra carryover measured. A mediated path that chains a second adstock outlives the direct one, and a window sized for the direct path alone would cut the tail off.- requires_full_axisbool
Whether every period has to be evaluated on the complete fitted date axis, because some node’s value depends on the whole series.
- measured
mapping Per evaluated node, its
TemporalReach. Empty when no probe was possible.
- effective_l_max
Methods
SpendReach.__init__(effective_l_max, ...[, ...])Attributes
effective_l_maxrequires_full_axismeasured