create_hierarchical_non_center#

pymc_marketing.model_config.create_hierarchical_non_center(name, distribution_kwargs, **kwargs)[source]#

Create a hierarchical non-centered distribution.

This function constructs a hierarchical non-centered distribution using the provided distribution parameters for offset, mu, and sigma. It returns a deterministic variable representing the hierarchical non-centered distribution.

Parameters:
namestr

The name of the variable.

distribution_kwargsdict[str, Any]

A dictionary containing the distribution parameters for ‘offset’, ‘mu’, and ‘sigma’.

**kwargs

Additional keyword arguments, including ‘dims’ for specifying desired dimensions.

Returns:
pt.TensorVariable

A PyMC deterministic variable representing the hierarchical non-centered distribution.