mmm#

Marketing Mix Models (MMM).

Modules

additive_effect

Additive effects for the multidimensional Marketing Mix Model.

budget_model

Budget model: a control function for demand-chasing media spend.

budget_optimizer

Budget optimization module.

builders

Configuration I/O for PyMC-Marketing.

causal

Causal module.

components

Components for media transformation in the MMM model.

constraints

Constraints for the BudgetOptimizer.

counterfactual

Evaluating a fitted MMM under counterfactual spend.

data_conversion

Data conversion utilities for MMM.

decomposition

Shared decomposition math helpers for MMM counterfactuals.

dims

Dims related functionality.

evaluation

Evaluation and diagnostics for MMM models.

evaluator_cache

The compiled-evaluator cache a fitted MMM keeps for its incrementality questions.

events

Event transformations.

fourier

Fourier seasonality transformations.

hsgp

HSGP components.

incrementality

Incrementality and counterfactual analysis for Marketing Mix Models.

lift_test

Adding lift tests as observations of saturation function.

linear_regression

Linear regression model implemented using the MMM class.

linear_trend

Linear trend using change points.

link

Link function abstraction for MMM models.

media_transformation

Module for applying media transformations to media data.

mmm

Multidimensional Marketing Mix Model (MMM).

multidimensional

Deprecated module path; use pymc_marketing.mmm.mmm instead.

optimization_variables

Optimization variables for budget optimization.

plot

MMM related plotting class.

plot_interactive

Interactive Plotly plotting factory for MMM.

plotting

MMM plotting package — namespace-based plot suite.

preprocessing

Preprocessing methods for the Marketing Mix Model.

price_response

Spend-dependent price of a delivered media unit, for the budget optimizer.

scaling

Scaling configuration for the MMM.

sensitivity_analysis

Counterfactual sweeps for Marketing Mix Models (MMM).

spend_reach

How far a change in spend reaches, and whether the accounting closes.

summary

Summary DataFrame generation for MMM models.

synthetic_data

Synthetic data generators for Marketing Mix Models.

time_slice_cross_validation

Time-slice cross-validation utilities for PyMC-Marketing MMM.

transformers

Media transformation functions for Marketing Mix Models.

tvp

Time Varying Gaussian Process Multiplier for Marketing Mix Modeling (MMM).

types

Type definitions for PyMC-Marketing MMM module.

utility

Utility functions for Bayesian optimization.

utils

Utility functions for the Marketing Mix Modeling module.

validating

Validating methods for MMM classes.

xarray_utils

Neutral xarray dimension and aggregation helpers for summary and plotting.