Author-reviewedEvidence: highv1.0.1

Finite Mixture Model

A finite mixture model treats data such as patient costs or utilities as coming from a fixed number of hidden subgroups, each with its own distribution.

Last reviewed byDr Darrin Baines

Concept Architecture

Finite Mixture Model in Health Care Cost, Use and Utility Analysis

A finite mixture model explains a skewed or lumpy distribution of patient data by assuming that each person belongs to one of a small, fixed number of unobserved classes, and it estimates each class's population share together with the distribution of the outcome within it. In health economics an early use is the demand for care, where a two-class mixture of count or cost regressions separates infrequent users from frequent users without anyone being labelled in advance. The same machinery is used for EQ-5D utilities in mapping. What makes the model finite is that unobserved heterogeneity is represented by a limited number of points instead of a continuous spread, and that choice shapes how it is estimated and how far its classes can be read as real patient groups.

Finite mixing as a special case of a general mixture

Any mixture model writes the distribution of an outcome as an average of component distributions. In the general form the component parameter can vary continuously across the population, and McLachlan, Lee and Rathnayake write it as an integral over a probability measure on the parameter space.

f(y)=∫f(y;θ) dH(θ)f(y) = \int f(y; \theta)\, dH(\theta)

where yy is the outcome, f(y;θ)f(y; \theta) is a component density with parameter θ\theta, and HH is the mixing distribution that says how θ\theta is spread over the population. A finite mixture model is the case in which HH puts all its weight on KK points, so the integral becomes a weighted sum.

f(yi∣xi)=∑k=1Kπk fk(yi∣xi;θk),πk≥0,∑k=1Kπk=1f(y_i \mid \mathbf{x}_i) = \sum_{k=1}^{K} \pi_k \, f_k(y_i \mid \mathbf{x}_i; \theta_k), \qquad \pi_k \ge 0, \qquad \sum_{k=1}^{K} \pi_k = 1

where yiy_i is the outcome for person ii (a cost, a count of visits or a utility score), xi\mathbf{x}_i is a vector of covariates, KK is the number of components, πk\pi_k is the population share of class kk, fkf_k is the density for class kk (often negative binomial for counts or gamma for costs) and θk\theta_k holds that class's parameters, including its own regression coefficients.

The finite form is less restrictive than it looks. The same review notes that, however general the mixing distribution is allowed to be, a likelihood-maximising mixing measure exists that is concentrated on no more points than there are distinct data values, so a finite mixture maximises the likelihood.

Why health care use and costs suit a finite mixture

Cost and use data are skewed, with many zeros, heavy right tails and sometimes several peaks. In their review of trial cost analysis, Mihaylova, Briggs, O'Hagan and Thompson describe parametric mixtures as a flexible way to accommodate excess zeros, overdispersion and heavy tails, with the further motive that covariates may act differently on rare users and high cost users. They report that mixtures often outperform single-distribution models for total resource use or costs.

Deb and Trivedi developed a finite mixture negative binomial model for six measures of medical care use by the elderly in the 1987 National Medical Expenditure Survey, and model selection criteria preferred it overall to a standard negative binomial and a hurdle model. Two points of support were enough, which they read as "healthy" and "ill" latent populations. Deb and Holmes applied the approach to behavioural health care, where a mixture can separate classes such as the "worried well" and the severely mentally ill. The finite mixture fitted spending and use much better than standard specifications, above all for high intensity users.

Mihaylova and colleagues describe the two-part model as a special case of a mixture with two components, one of them degenerate, whose parts are estimated separately because the split between users and non-users is observed. A finite mixture has unknown separation. On counts from the RAND Health Insurance Experiment, Deb and Trivedi later found strong evidence for a latent class model of infrequent and frequent users over a two-part model of users and non-users.

Mixture models for EQ-5D utilities and mapping

For utilities, Hernández Alava, Wailoo and Ara note that EQ-5D values are bounded above at 1 with a large gap below it, bounded below and multimodal, and they added a mixture for the multiple peaks to an adjusted limited dependent variable model for the bound and gap. In a rheumatoid arthritis trial three latent classes were appropriate, and the model beat linear and Tobit models on the Akaike information criterion, the Bayesian information criterion and prediction error, without predicting infeasible values. Such models are now an option for a mapping function that predicts a health state utility value. Mapping an asthma questionnaire, Gray, Hernández Alava and Wailoo reported that standard mapping approaches typically give biased estimates of health gain whereas the mixture approaches showed no such bias, and mapped utilities feed directly into QALY gains.

Estimation by maximum likelihood and the EM algorithm

Finite mixtures are usually fitted by maximum likelihood estimation, most often through the expectation maximisation (EM) algorithm. The algorithm treats each person's class as missing data. Its first step uses Bayes' theorem to give each person a posterior probability of belonging to each class.

τik=πk fk(yi∣xi;θk)∑m=1Kπm fm(yi∣xi;θm)\tau_{ik} = \frac{\pi_k \, f_k(y_i \mid \mathbf{x}_i; \theta_k)}{\sum_{m=1}^{K} \pi_m \, f_m(y_i \mid \mathbf{x}_i; \theta_m)}

where τik\tau_{ik} is the posterior probability that person ii belongs to class kk. The second step updates each mixing proportion as the average of these probabilities and re-estimates each class's parameters with every person weighted by τik\tau_{ik}.

πk(t+1)=1n∑i=1nτik(t)\pi_k^{(t+1)} = \frac{1}{n} \sum_{i=1}^{n} \tau_{ik}^{(t)}

where nn is the number of people and tt counts iterations. McLachlan and colleagues report that the likelihood never falls between EM iterations and that the limit is in almost all cases a local maximum. Mihaylova and colleagues add that the log likelihood for mixtures of cost and use data often has several maxima. Refitting from several starting values and comparing the maximised log likelihoods is therefore a basic check, as is looking for spurious solutions in which one component captures a few observations with a very small variance. Class numbering carries no meaning either, since with components from one family the density is unchanged under any permutation of the labels, so classes are identified by their estimated parameters, such as mean cost.

Choosing the number of classes

McLachlan and colleagues call identifying the number of components arguably the most obdurate problem with mixture distributions. Adding a component always raises the likelihood, so one approach penalises the log likelihood for the number of parameters.

BIC=−2log⁡L(Ψ^)+dlog⁡n\text{BIC} = -2 \log L(\hat{\Psi}) + d \log n

where L(Ψ^)L(\hat{\Psi}) is the maximised likelihood, dd is the number of free parameters (for KK classes each with pp parameters, d=Kp+K−1d = Kp + K - 1 because the shares sum to one) and nn is the sample size, with lower values preferred.

A likelihood ratio test of KK against K+1K + 1 components cannot use its usual chi-squared reference distribution because the standard regularity conditions fail, so its null distribution is usually estimated by resampling. BIC tends to favour enough components to describe the density well and so can overestimate the number of clusters. Applied work therefore also asks whether each class is large, stable and interpretable.

Worked example with two illustrative cost classes

All numbers in this example are illustrative. Annual costs in a chronic condition are modelled as a two-class mixture of exponential distributions, which can be worked by hand (applied work would use gamma or log-normal components with covariates). The low-use class has mean GBP 800 and share 0.75, and the high-use class has mean GBP 6,000 and share 0.25. An exponential density with mean μ\mu is f(y)=1μe−y/μf(y) = \tfrac{1}{\mu} e^{-y/\mu}.

1. Mean cost. The low-use class contributes 0.75 × 800 = 600 and the high-use class 0.25 × 6,000 = 1,500, and 600 + 1,500 = 2,100, so the population mean is GBP 2,100 per person.

2. Class membership for one patient. For a patient costing GBP 3,000, the class densities are f1=1800e−3.75=2.940×10−5f_1 = \tfrac{1}{800} e^{-3.75} = 2.940 \times 10^{-5} and f2=16000e−0.5=1.0109×10−4f_2 = \tfrac{1}{6000} e^{-0.5} = 1.0109 \times 10^{-4}. Weighting by the shares gives π1f1=0.75×2.940×10−5=2.205×10−5\pi_1 f_1 = 0.75 \times 2.940 \times 10^{-5} = 2.205 \times 10^{-5} and π2f2=0.25×1.0109×10−4=2.527×10−5\pi_2 f_2 = 0.25 \times 1.0109 \times 10^{-4} = 2.527 \times 10^{-5}. The posterior probability of the high-use class is 2.527 / 4.732 = 0.534.

3. The upper tail. The probability of costing more than GBP 10,000 is Pr⁡(Y>10,000)=0.75e−12.5+0.25e−1.667\Pr(Y > 10{,}000) = 0.75 e^{-12.5} + 0.25 e^{-1.667}, which is 0.0000028 + 0.0472, or 0.0472. A single exponential with the same mean of GBP 2,100 gives e−4.762=0.0085e^{-4.762} = 0.0085. Per 1,000 patients that is about 47 people above GBP 10,000 against about 9.

4. A change in class shares. If a programme moved 5 percentage points of the population out of the high-use class, the contributions would become 0.80 × 800 = 640 and 0.20 × 6,000 = 1,200. Since 640 + 1,200 = 1,840, the mean falls by GBP 260 per person, which equals 0.05 × 5,200, the shift times the gap between the class means.

5. Interpretation. Two models with the same mean give very different numbers of high-cost patients, which matters for budget impact analysis. Step 4 holds only if the programme changes class membership without changing the class distributions, a causal assumption the mixture itself cannot test.

Reading latent classes in economic evaluation and HTA

McLachlan and colleagues note that the component structure can be used for clustering irrespective of whether the groups exist externally, and labels such as "healthy", "ill" or "worried well" are the authors' readings of fitted classes. A class is a credible patient subgroup only when it makes clinical sense and reappears in other data.

For a cost-effectiveness analysis the main product is usually a better estimate of mean cost, use or utility. Assigning each person outright to the most probable class and treating classes as observed subgroups ignores uncertainty in the posterior probabilities, so analyses using classes downstream should carry those probabilities, and the joint uncertainty in shares and class parameters, into the probabilistic sensitivity analysis. Mihaylova and colleagues placed mixture models in their "red orbit" of methods that generally require substantial expertise in modelling and computation, while judging that mixtures could have significant advantages for skewed, multimodal cost data and calling for further applications.

Neighbouring models and where each applies

Several live pages describe special cases or close relatives. The choice depends on what the latent structure represents.

ModelRelation to the finite mixture modelTypical use
Mixture modelThe wider family, including continuous mixing distributionsAny averaging over component distributions
Latent class analysisFinite mixture over categorical indicators, local independence within classesClassifying patients from response patterns
Latent class modelFinite mixture of choice models with class-specific coefficientsPreference classes in a discrete choice experiment
Random parameter modelCoefficients vary continuously, not over a finite setContinuous preference heterogeneity
Growth mixture modelFinite mixture over trajectoriesCost or symptom trajectories
Mixture cure modelTwo classes, cured and uncuredLong-term survival extrapolation
Two-part modelTwo components with an observed split at zeroCost data with many non-users

A finite mixture differs from subgroup analysis, which compares groups defined by observed characteristics.

Limitations and common misreadings

Most problems arise when classes are asked to carry more meaning than the data support. Others are computational and caught by routine checks.

  1. Treating classes as real groups. A mixture can fit a skewed distribution well when no distinct subpopulations exist.
  2. Choosing the number of classes on fit alone. Criteria can favour extra components, and a tiny class with a very small variance is often spurious.
  3. Trusting a single run. EM stops at a local maximum that depends on the starting values.
  4. Expecting many classes to be identifiable. With unknown separation and more than two components, overlap between distributions can make components hard to identify, and Mihaylova and colleagues rated mixtures as only of possible applicability in samples of tens to a few hundreds.

Sources

Library

Publications

1
  • Book

    Bayesian Methods in Health Economics — Gianluca Baio, 1st Edition ed., 2012 (Chapman & Hall / CRC Press)

    An overview of Bayesian statistical methods for the analysis of health economic data, covering economic evaluation concepts, statistical cost-effectiveness analysis, Bayesian computation and MCMC, and applied health economic evaluation.

Frequently Asked Questions (6)

  • What is a finite mixture model?

    A finite mixture model treats data such as patient costs or utilities as coming from a fixed number of hidden subgroups, each with its own distribution.

    Source: McLachlan et al. 2019

  • What does a finite mixture model assume a population is made of?

    Each person is assumed to belong to one of a small, fixed number of unobserved classes, and each class has its own population share and its own distribution of the outcome, such as a cost or a count of visits. The shares are nonnegative and sum to one, and the overall distribution of the finite mixture model is the share-weighted sum of the class densities. Labels such as healthy and ill users are the analysts' readings of fitted classes. McLachlan and colleagues note that the component structure can be used for clustering whether or not the groups exist externally.

    Source: McLachlan et al. 2019

  • How does a finite mixture model work?

    Fitting a finite mixture model usually means maximum likelihood estimation through the expectation maximisation (EM) algorithm, which treats each person's class as missing data. The first step uses Bayes' theorem to give every person a posterior probability of belonging to each class, given the current shares and class parameters. The second step updates each share as the average of those probabilities and re-estimates each class's parameters with every person weighted by them. McLachlan and colleagues report that the likelihood never falls between iterations, although the limit is usually a local maximum, so refitting from several starting values is a basic check.

    Source: McLachlan et al. 2019

  • When is a finite mixture model used?

    Health economists mainly use a finite mixture model for cost and health care use data, which are often skewed with many zeros and long right tails. Mihaylova and colleagues describe parametric mixtures as a flexible way to handle such data and report that they often outperform single-distribution models for total resource use or costs. A further motive is that covariates may act differently on rare users and high cost users. The two-part model is a special case with one degenerate component and an observed split between users and non-users, whereas a finite mixture estimates a separation that is not observed.

    Source: Mihaylova et al. 2011

  • How is the number of components chosen in a finite mixture model?

    McLachlan and colleagues call identifying the number of components arguably the most obdurate problem with mixture distributions. Adding a component to a finite mixture model always raises the likelihood, so information criteria such as the Bayesian information criterion penalise the log likelihood for the number of free parameters, with lower values preferred. A likelihood ratio test of one number of components against the next cannot use its usual chi-squared reference distribution, so its null distribution is usually estimated by resampling. BIC also tends to overestimate the number of clusters, which is why applied work checks whether each class is large enough to interpret.

    Source: McLachlan et al. 2019

  • What are the limitations of finite mixture models?

    Fitting finite mixture models to cost or use data is computationally demanding, because Mihaylova and colleagues note that the log likelihood often has several maxima and a suitable optimisation procedure is needed. With unknown separation and more than two components, overlap between the class distributions can make some components hard to identify. Mihaylova and colleagues rated finite mixtures as only of possible applicability in samples of tens to a few hundreds of participants. They also placed them among methods that generally require substantial expertise in statistical modelling and computation, while judging that mixtures could have significant advantages for skewed, multimodal cost data.

    Source: Mihaylova et al. 2011

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 26 Oct 2026

Content version: 1.0.1

Canonical Identity

Term code
HE-ES-SA-066

Stable URI · Machine-readable · Resolvable · CC BY 4.0