brand_buyer_nu#
- pymc_marketing.customer_choice.taste_profiles.brand_buyer_nu(model, n_samples=200, dim=0)[source]#
Posterior-mean buyer taste per brand and market, for one taste dimension.
For each market \(m\) and brand \(j\),
\[\bar\nu_{m,j,d} = E[\nu_d \mid \mathrm{buys\ brand\ } j \mathrm{\ in\ } m]\]averaged across posterior draws.
- Parameters:
- Returns:
np.ndarrayShape
(M, J). Posterior-mean buyer taste on the chosen dimension for each (market, brand).
- Raises:
IndexErrorIf
dimis outside[0, n_random).