create_constrained_inverse_gamma_prior#

pymc_marketing.mmm.hsgp.create_constrained_inverse_gamma_prior(*, upper, lower=1.0, mass=0.9)[source]#

Create a lengthscale prior for the HSGP model.

Parameters:
upperfloat

Upper bound for the lengthscale.

lowerfloat

Lower bound for the lengthscale. Default is 1.0.

massfloat

Mass of the lengthscales. Default is 0.9 or 90%.

Returns:
Prior

The prior for the lengthscale.