ORDEEN · Choice Modelling · 3 MIN READ

What is Latent Class Analysis in Choice Modelling?

Latent Class discovers distinct preference segments in choice data via mixture modelling, with BIC selecting the number of classes.

Book a 20-min demo What is Latent Class Analysis in Choice Modelling?

Latent Class (LC) analysis is a mixture-model segmentation technique that discovers distinct patterns of preference in choice data. It assumes the population is made up of $K$ underlying segments, each with its own choice model, and each respondent belongs probabilistically to one segment.

Ordeen fits latent-class models with multi-chain convergence checks (r̂, ESS, divergences), reports BIC, log-likelihood, LOTO-CV hit rate and classification purity for each number of classes, and corrects label switching across chains. See how it fits in the full platform in our methodology.

How it works

The population is represented as a mixture of $K$ classes. Each class $k$ has its own vector of part-worth utilities $\boldsymbol{\beta}_k$ and a mixing weight $\pi_k$ (the proportion of the population in that class). Class membership is unobserved and marginalised out:

$$\log p(y_n) = \log \sum_{k=1}^{K} \pi_k \prod_t P(y_{nt} \mid \boldsymbol{\beta}_k)$$

Fitting is done by Expectation-Maximisation in frequentist settings, or MCMC in Bayesian. Once fit, each respondent’s posterior probability of belonging to each class follows from Bayes’ rule.

Choosing the number of classes

$K$ is chosen by information criterion rather than visual inspection. The Bayesian Information Criterion is the standard:

$$\mathrm{BIC} = -2 \log \hat{\mathcal{L}} + p \log(N)$$

where $p$ is the parameter count and $N$ is the respondent count. The mixture is over respondents, not over individual choice observations — using $\log(N\cdot T)$ over-penalises higher $K$ and biases BIC toward too-few classes. BIC’s log-$N$ penalty is stricter than AIC’s constant penalty, which matters because overfitting here means manufacturing spurious micro-segments.

When to use Latent Class

  • You need named, interpretable segments for a Marketing or Strategy audience

  • You want to know what share of the population is in each segment

  • You want to run share-of-preference simulations by segment and sum back to the aggregate

  • Your sample is big enough to support reliable estimates per class (100–150 per class as a floor)

When Hierarchical Bayes beats Latent Class

HB with a continuous normal prior over individual utilities is better when:

  • You want individual-level targeting rather than segment-level

  • You care about the full tail of the preference distribution

  • Your sample is small — HB’s partial pooling degrades more gracefully with few respondents

The best practice: run both

Run both k-means on the HB utilities and latent class on the same study, then compare. In Ordeen you can segment with k-means on the HB utilities, and run Bayesian latent class (2 to 6 segments, with BIC and fit statistics) on request. If both methodologies find the same story, segmentation is robust. If they diverge, the story is methodology-dependent — itself an important finding.

Related terms

Conjoint analysis · Hierarchical Bayes · Full methodology

Latent Class (LC) analysis is a mixture-model segmentation technique that discovers distinct patterns of preference in choice data. It assumes the population is made up of $K$ underlying segments, each with its own choice model, and each respondent belongs probabilistically to one segment.

Ordeen fits latent-class models with multi-chain convergence checks (r̂, ESS, divergences), reports BIC, log-likelihood, LOTO-CV hit rate and classification purity for each number of classes, and corrects label switching across chains. See how it fits in the full platform in our methodology.

How it works

The population is represented as a mixture of $K$ classes. Each class $k$ has its own vector of part-worth utilities $\boldsymbol{\beta}_k$ and a mixing weight $\pi_k$ (the proportion of the population in that class). Class membership is unobserved and marginalised out:

$$\log p(y_n) = \log \sum_{k=1}^{K} \pi_k \prod_t P(y_{nt} \mid \boldsymbol{\beta}_k)$$

Fitting is done by Expectation-Maximisation in frequentist settings, or MCMC in Bayesian. Once fit, each respondent’s posterior probability of belonging to each class follows from Bayes’ rule.

Choosing the number of classes

$K$ is chosen by information criterion rather than visual inspection. The Bayesian Information Criterion is the standard:

$$\mathrm{BIC} = -2 \log \hat{\mathcal{L}} + p \log(N)$$

where $p$ is the parameter count and $N$ is the respondent count. The mixture is over respondents, not over individual choice observations — using $\log(N\cdot T)$ over-penalises higher $K$ and biases BIC toward too-few classes. BIC’s log-$N$ penalty is stricter than AIC’s constant penalty, which matters because overfitting here means manufacturing spurious micro-segments.

When to use Latent Class

  • You need named, interpretable segments for a Marketing or Strategy audience

  • You want to know what share of the population is in each segment

  • You want to run share-of-preference simulations by segment and sum back to the aggregate

  • Your sample is big enough to support reliable estimates per class (100–150 per class as a floor)

When Hierarchical Bayes beats Latent Class

HB with a continuous normal prior over individual utilities is better when:

  • You want individual-level targeting rather than segment-level

  • You care about the full tail of the preference distribution

  • Your sample is small — HB’s partial pooling degrades more gracefully with few respondents

The best practice: run both

Run both k-means on the HB utilities and latent class on the same study, then compare. In Ordeen you can segment with k-means on the HB utilities, and run Bayesian latent class (2 to 6 segments, with BIC and fit statistics) on request. If both methodologies find the same story, segmentation is robust. If they diverge, the story is methodology-dependent — itself an important finding.

Related terms

Conjoint analysis · Hierarchical Bayes · Full methodology

Related guides

Contract Analysis

Jurisdiction-Grounded AI Contract Review & Risk

Why generic chatbots hallucinate legal contract risk, and how Ordeen grounds contract review, portfolio risk scoring and renewal drafting in governing law.

Read the guide
Forecasting

Intermittent Demand Forecasting: Croston, TSB & MinT

How to forecast lumpy, sparse SKU demand and reconcile hierarchies: Croston's method, SBA, TSB, MinT reconciliation and out-of-sample AI signal validation.

Read the guide
Price Monitoring

Retail Checkout Price Monitoring vs Sticker Scrapers

Why basic retail price scrapers miss real checkout undercutting: how delivery thresholds, variant SKU matching and screenshot evidence protect brand RRP.

Read the guide