This research investigates the application of a Discrete Hidden Markov Model (DHMM) to analyze inheritance patterns of ABO blood types. Leveraging the DHMM’s ability to model systems with hidden states, the study aims to improve the understanding of blood type inheritance dynamics in populations. The model employs six hidden states representing ABO genotypes (IAIA, IAi, IBIB, IBi, IAIB, and ii) and four observable states corresponding to blood type phenotypes (A, B, AB, and O). The transition and emission matrices followed Mendelian inheritance principles using population allele frequencies, whereas the initial probabilities were computed under Hardy-Weinberg Equilibrium (HWE) assumptions, with parameters calibrated to Indonesian blood type distributions. As a case study, we calculated the likelihood of observing phenotype A across five consecutive generations. Using the forward-backward algorithm, the probability of this sequence was calculated as 19%. The Viterbi algorithm further identified the most probable sequence of hidden genotypes, revealing a transition from the heterozygous IAi to the homozygous IAIA genotype over the five generations. One iteration of the Baum-Welch algorithm improved model accuracy, increasing log-likelihood from -1.661 to 0. Our results demonstrate the DHMM’s efficacy in decoding complex inheritance dynamics and provide a foundation for future population genetics research.
Copyrights © 2026