MichaelisMentenSaturation.function#

MichaelisMentenSaturation.function(alpha, lam)#

Evaluate the Michaelis-Menten function for given values of x, alpha, and lambda.

The Michaelis-Menten function models enzyme kinetics and describes how the rate of a chemical reaction increases with substrate concentration until it reaches its maximum value.

\[\alpha \cdot \frac{x}{\lambda + x}\]
where:
  • \(x\): Channel spend or substrate concentration.

  • \(\alpha\): Maximum contribution or efficiency factor.

  • \(\lambda\) (k): Michaelis constant, representing the threshold substrate concentration.

(Source code, png, hires.png, pdf)

../../_images/pymc_marketing-mmm-components-saturation-MichaelisMentenSaturation-function-1.png

(Source code, png, hires.png, pdf)

../../_images/pymc_marketing-mmm-components-saturation-MichaelisMentenSaturation-function-2_00_00.png

(png, hires.png, pdf)

../../_images/pymc_marketing-mmm-components-saturation-MichaelisMentenSaturation-function-2_01_00.png
Parameters:
xfloat

The spent on a channel.

alphafloat

The maximum contribution a channel can make.

lamfloat

The Michaelis constant for the given enzyme-substrate system.

Returns:
float

The value of the Michaelis-Menten function given the parameters.