cdf#

pymc_marketing.mmm.utils.cdf(dist, *, value, **params)[source]#

Request CDF of dist at value.

This helper creates dist with dummy params, requests its cdf from pymc.logcdf and then reintroduces the original params values. This avoids accidental rewrite of random graphs above params when the logcdf cannot be obtained by direct dispatch