Module: meridian.model.equations

Core mathematical equations for the Meridian model.

This module defines the ModelEquations class, which encapsulates the stateless mathematical functions used in the Meridian MMM. This includes the core model definitions, such as adstock, hill, and other transformations used during model fitting. It requires a ModelContext instance for data access.

Classes

class ModelEquations: Provides core, stateless mathematical functions for Meridian MMM.

Functions

compute_tau_g(...): Computes tau_g from tau_g_excl_baseline.