The impact that HWE violation has on the performances of the PL algorithm, the PGS algorithm, Clark's algorithm, and the EM algorithm. The simulation study was conducted under five scenarios, each with 1,000 replications: (1) neutral, (2) moderate heterozygosity, (3) strong heterozygosity, (4) moderate homozygosity, and (5) strong homozygosity. For each trial, a χ2 test statistic for testing HWE (after pooling the categories with small counts, this gives rise to the independence test of a 4×4 table, which has 9 df) was computed, the number of homozygotes was counted, and the error rates of each algorithm were recorded. A, Average error rate (defined as the number of erroneous phase calls divided by the total number of phase calls) of each method versus HWE χ2 test statistic after combining simulations from models (1), (2), and (3). B, Average error rate versus HWE χ2 test statistic after combining simulations from models (1), (4), and (5). Note that the χ2 values of 21.67, 16.92, and 14.68 correspond to the 99th, 95th, and 90th percentiles, respectively. C, Average error rate versus sample haplotype homozygosity after combining all simulations. D, Zoom-in view of panel C at left tail of the homozygosity distribution (i.e., 0/15–3/15).