These WinBUGS programs fit latent class models to results of two imperfect, dichotomous diagnostic tests
The methods behind the programs are described in
Dendukuri and Joseph, Bayesian approaches to modeling the conditional dependence between multiple diagnostic tests. Biometrics 57:158-167, 2001