Hierarchical Bayesian network developed to predict TB major lineages using spoligotypes and MIRU. The model first uses M
to distinguish modern versus ancestral lineages. The spacers and MIRU are treated as conditionally independent given the lineage. The unobserved variables capture the fact that spacers are lost and almost never gained. The shaded nodes refer to hidden variables.