Hierarchical Bayes Choice Model

Statistics
Introduced by
Peter E. Rossi, Greg M. Allenby & Robert McCulloch
Year
2005
Type
Hierarchical Bayesian random-coefficients discrete-choice model
Family
Bayesian choice modeling / individual-level heterogeneity

What does it do?

Hierarchical Bayes (HB) choice models estimate a separate set of preference weights, or partworths, for each respondent while sharing information across respondents through a common population distribution.

At the lower level, each person's choices follow a logit driven by their own coefficients; at the upper level, those coefficients are treated as draws from a multivariate distribution whose mean and covariance are estimated jointly. Inference is Bayesian and typically uses Gibbs sampling with Metropolis steps, which yields a posterior distribution for each respondent's partworths.

The intuition behind the method

Suppose you want to know how much each customer cares about price, brand, and features. A separate model for each person fails because any one respondent makes only a handful of choices, too few to pin down their tastes. A single pooled model gives an average customer and discards exactly the heterogeneity of interest. Hierarchical Bayes assumes that people differ but are not unrelated: each person's tastes are treated as a draw from a population distribution. When estimating one person's weights, the model combines that person's own choices with what the population implies, pulling a noisy individual estimate toward the group average by an amount that depends on how much data that person provides. Bayesian MCMC makes this estimation possible by simulating the partworths of all respondents and the population parameters together, which yields a full posterior for each person.

History

Early marketing choice models were typically homogeneous logits. Guadagni and Little's 1983 multinomial logit of brand choice, calibrated on scanner panel data for regular ground coffee, assumed the same coefficients for all brand-sizes. Its explanatory variables were brand loyalty, size loyalty, presence or absence of a store promotion, regular shelf price, and promotional price cut, so household differences in purchase behavior entered mainly through the brand and size loyalty terms. Later, MCMC methods made it practical to estimate individual-specific parameters. Hierarchical Bayesian choice models, in which each respondent's partworths are treated as draws from a population distribution, are set out in detail by Rossi, Allenby, and McCulloch in their monograph Bayesian Statistics and Marketing (2005).

When to use it

Choose a hierarchical Bayes choice model when you need individual-level preference estimates and each respondent contributes only a limited number of choices, as in conjoint and choice-experiment studies or scanner panels with short purchase histories. It fits when heterogeneity affects the decision, for example in targeting, segmentation, personalized pricing, or market simulation that must aggregate different kinds of respondents, and when you need uncertainty quantification rather than point estimates. It is less necessary when a single set of aggregate coefficients answers the question, when respondents supply enough choices that separate per-person models are feasible, or when speed and simplicity matter more, in which case a homogeneous logit or a latent-class model may suffice. The method also requires enough respondents to estimate the population distribution and the computing time for MCMC.

Limitations and considerations

  • MCMC estimation is computationally intensive and needs convergence checks and tuning, unlike a single maximum-likelihood logit fit.
  • Results depend on the assumed population distribution, typically multivariate normal, which may misrepresent multimodal or skewed heterogeneity.
  • With very thin data per respondent, the hyperprior specification can influence individual estimates more strongly than it does with richer data.
  • Partworths shrunk toward the population mean can look similar for people whose true preferences differ, so small individual differences need careful interpretation.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Recovers individual-level partworths from sparse per-respondent data by borrowing strength from the population distribution.
  • Returns a full posterior distribution for each partworth, so estimates and simulations carry uncertainty instead of a single point value.
  • Because heterogeneity is modeled as a continuous distribution, aggregate market simulations can show substitution patterns that one common logit cannot; each individual's own logit still satisfies IIA.
  • Shrinkage balances each person's own data against the population mean, stabilizing noisy estimates without pulling informative estimates toward the average.

Applications

  • Estimating individual-level partworths in conjoint and discrete-choice experiments for product design and pricing.
  • Computing person-level willingness-to-pay and price sensitivity for targeting and segmentation.
  • Simulating market shares for new or modified products across a realistically heterogeneous respondent base.
  • Recovering heterogeneous brand and attribute preferences from scanner panel choice data.
  • Quantifying uncertainty in share and demand forecasts via the posterior distribution of partworths.

How it works

How it works

1

Each respondent's observed choices are modeled with a multinomial logit governed by that respondent's own partworth vector. The probability that person h chooses alternative j on occasion t is the exponentiated utility of j divided by the sum of exponentiated utilities over the available alternatives. The form matches a standard logit, but the coefficients are individual-specific rather than shared across people, so this level is where each person's repeated choices enter the model.

Formula
\Pr(y_{ht}=j \mid \boldsymbol\beta_h) = \dfrac{\exp(x_{jt}^{\top}\boldsymbol\beta_h)}{\sum_{k}\exp(x_{kt}^{\top}\boldsymbol\beta_h)}
2

The upper level links respondents by treating each person's partworths as draws from a common population distribution, specified in the model as multivariate normal with a mean vector and covariance matrix that are estimated. The mean summarizes average preferences, and the covariance summarizes how much tastes vary across people and how those variations are correlated. Because this distribution is shared, information about the population can inform any one person's estimate, which is what makes individual-level estimation feasible when data per person are sparse.

Formula
\boldsymbol\beta_h \sim \mathcal{N}(\bar{\boldsymbol\beta},\,\Sigma),\qquad h=1,\dots,H\ \ (\text{upper-level / mixing distribution})
3

The population mean and covariance are unknown, so the model places hyperpriors on them: a normal prior on the mean and an inverse-Wishart prior on the covariance. These are conjugate choices for the mean and covariance full conditionals, which keeps the sampler tractable. The hyperparameter settings influence the result, particularly when data per respondent are thin. Because uncertainty about the population distribution is represented alongside uncertainty about each individual, the posterior reflects both levels of variation rather than a fixed plug-in estimate of the population.

Formula
\bar{\boldsymbol\beta} \sim \mathcal{N}(\mu_0,\,A^{-1}),\qquad \Sigma \sim \text{Inverse-Wishart}(\nu_0,\,V_0)
4

Posterior inference uses Markov chain Monte Carlo, exploiting the conditional structure of the model. The Gibbs sampler cycles through the full conditionals: the population mean given the partworths and covariance, the covariance given the partworths and mean, and each respondent's partworths given the population parameters and that person's choices. The logit likelihood is not conjugate for the partworths, so a Metropolis-Hastings step is used for them. After discarding burn-in and checking convergence, the retained draws approximate the joint posterior over individual and population parameters.

Formula
[\boldsymbol\beta_h \mid \bar{\boldsymbol\beta},\Sigma,y],\ [\bar{\boldsymbol\beta}\mid\{\boldsymbol\beta_h\},\Sigma],\ [\Sigma\mid\{\boldsymbol\beta_h\},\bar{\boldsymbol\beta}]\ \ \text{(Gibbs + Metropolis on } \boldsymbol\beta_h)
5

Each respondent's output is a posterior distribution rather than a single number; the posterior mean serves as a point estimate and the spread as a measure of uncertainty. A credible interval for a person's partworth, taken from the quantiles of that person's retained draws, gives the range within which the coefficient lies with the stated probability under the model. Posterior-mean partworths are shrunk toward the population mean: respondents with sparse or noisy data are pulled closer to the average, while those with informative data stay near their own signal. These person-level partworths feed segmentation, individual willingness-to-pay, targeting, and market simulation, and because they come as posteriors, simulated shares carry uncertainty that can be propagated.

Formula
\hat{\boldsymbol\beta}_h = \mathbb{E}[\boldsymbol\beta_h \mid y] \approx \tfrac{1}{S}\sum_{s} \boldsymbol\beta_h^{(s)}\quad(\text{posterior-mean partworths, shrinkage})

Common pitfalls

  • Reporting posterior-mean partworths without checking convergence and mixing of the chain, which can produce estimates from an unconverged sampler.
  • Assuming a single multivariate-normal mixing distribution when heterogeneity is multimodal, which can distort recovered segments and individual estimates.
  • Over-interpreting small differences among individual estimates, which may partly reflect shrinkage rather than real variation in preference.
  • Treating posterior-mean partworths as exact inputs to simulations instead of propagating their posterior uncertainty.

Frequently asked questions

Why estimate individual partworths instead of one set of average coefficients?

Because averages hide the heterogeneity that drives most marketing decisions. Two markets with identical average price sensitivity can behave very differently if one is uniform and the other splits into price-sensitive and price-insensitive segments, and only individual-level estimates reveal that. Person-level partworths enable targeting, segmentation, individual willingness-to-pay, and market simulations that aggregate genuinely different people, producing more realistic share predictions and substitution. Hierarchical Bayes makes this feasible even when each respondent gives only a few choices, because it stabilizes the sparse individual estimates by borrowing information from the population.

What does 'borrowing strength' or shrinkage actually do?

Shrinkage pulls each respondent's noisy individual estimate toward the population mean by an amount that depends on how much data that person provides. A respondent with many informative choices keeps an estimate close to their own data; a respondent with few or ambiguous choices is pulled more strongly toward the average, because the population is the best available guess for them. This is the Bayesian resolution of the bias-variance tradeoff: a little bias toward the crowd buys a large reduction in variance, yielding individual estimates that are far more reliable than what each person's own sparse data could support on their own.

How does HB compare to latent-class segmentation and to plain logit?

Plain logit assumes one set of coefficients for everyone and so captures no heterogeneity. Latent-class models assume a small number of discrete segments, each with its own coefficients, which is parsimonious but forces every person into a group. Hierarchical Bayes instead treats heterogeneity as continuous, giving every respondent their own partworths drawn from a population distribution, and it quantifies uncertainty through full posteriors. HB is more flexible and individual-specific than latent class and far richer than plain logit, at the cost of MCMC computation; latent class can be preferable when managers genuinely want a few interpretable segments or when speed matters.

Related methods

Sources

  1. Rossi, P. E., Allenby, G. M., & McCulloch, R. (2005). Bayesian Statistics and Marketing. John Wiley & Sons.

    ISBN: 9780470863671
  2. Guadagni, P. M., & Little, J. D. C. (1983). A Logit Model of Brand Choice Calibrated on Scanner Data. Marketing Science, 2(3), 203-238.

    Open DOI reference