Latent Class Model

latent-classmixture-modelcategorical-datadiagnostic-accuracybayesianmodel-misspecificationidentifiabilityem-algorithmpsychometricscontingency-table

Definition

A latent class model posits that observed discrete outcomes for subjects arise from membership in one of mm unobserved (latent) classes. It is the discrete-latent-variable special case of the broader latent structure framework (Lazarsfeld 1950): manifest variables A,B,C,DA, B, C, D are locally independent — conditionally independent given the latent class — so the marginal cell probabilities factorize as: πijkl=v=1mπivAπjvBπkvCπlvDφv\pi_{ijkl} = \sum_{v=1}^m \pi_{iv}^A\pi_{jv}^B\pi_{kv}^C\pi_{lv}^D\varphi_v where φv=P(class=v)\varphi_v = P(\text{class}=v) and πivA=P(A=iclass=v)\pi_{iv}^A = P(A=i|\text{class}=v). The model has 5m15m-1 free parameters for the case of four binary manifest variables. When the latent distribution φ(θ)\varphi(\theta) is continuous rather than discrete, the model becomes a latent structure model with continuous heterogeneity (e.g., the Rasch model or normal-mixture model).

Key Ideas

Ordered class-assignment: enforcing the labels in estimation (Brown-Greene-Harris 2014)

In generalised LCMs the mixing probabilities are made covariate-dependent, and the near-universal choice is a multinomial-logit (MNL) class-assignment equation πq=exp(ziγq)/kexp(ziγk)\pi_q = \exp(z_i'\gamma_q)/\sum_k \exp(z_i'\gamma_k). Brown, Greene and Harris (2014) argue this is the model's weak point: it adds kzk_z parameters per extra class, carries the unwanted Independence of Irrelevant Alternatives (IIA) property (odds of class 1 vs. 2 shouldn't depend on whether classes 3–5 exist), and — since the number of classes QQ^* is picked by an information criterion IC(Q)=2^Q+λNpQIC(Q)=-2\hat\ell_Q+\lambda_N p_Q whose penalty grows in the parameter count pQp_Q — biases the chosen QQ^* downward and often just fails to converge.

Their fix exploits a fact every applied user already relies on: classes are almost always ranked and labelled ex post by their class-specific expected values. Since EVqEV_q is monotone in the latent index xiβqx_i'\beta_q, imposing xiβ1xiβQx_i'\beta_1\le\cdots\le x_i'\beta_Q is necessary and sufficient for EV1EVQEV_1\le\cdots\le EV_Q, enforced by the recursion EVi,q=EVi,q1+exp(xiβq)EV^*_{i,q}=EV^*_{i,q-1}+\exp(x_i'\beta_q) (each βq\beta_q, q>1q>1, then reads as a differential effect over the previous class). Paired with an ordered (probit/logit) class-assignment specification — one ordered index in place of Q1Q-1 MNL vectors — this is far more parsimonious. On British Household Panel Survey BMI data the MNL LCM supported only 2 classes; the ordered formulation supported up to 5. The gain is real only when class membership depends on covariates and the outcome has a genuine ordinal/cardinal ordering; otherwise it is a one-to-one reparameterisation.

How It Works

Parameters are estimated by maximum likelihood (EM algorithm) or Bayesian Markov Chain Monte Carlo (MCMC). The EM algorithm treats latent class memberships as missing data and alternates between computing posterior class probabilities (E-step) and maximising the completed-data log-likelihood (M-step). Identifiability requires sufficient tests (J) and that the model is globally identified — not just locally.

Why It Matters

Latent class models are widely used in diagnostic accuracy studies where no gold standard exists (e.g., rating reliability studies, medical test evaluation). They allow estimation of sensitivity and specificity without a reference test by treating true disease status as a latent variable.

Open Questions

Related