 Correspondence
 Open Access
 Published:
Minor differences in haplotype frequency estimates can produce very large differences in heterogeneity test statistics
BMC Genetics volume 8, Article number: 38 (2007)
Abstract
Background
Tests for association between a haplotype and disease are commonly performed using a likelihood ratio test for heterogeneity between case and control haplotype frequencies. Using data from a study of association between heroin dependence and the DRD2 gene, we obtained estimated haplotype frequencies and the associated likelihood ratio statistic using two different computer programs, MLOCUS and GENECOUNTING. We also carried out permutation testing to assess the empirical significance of the results obtained.
Results
Both programs yielded similar, though not identical, estimates for the haplotype frequencies. MLOCUS produced a p value of 1.8*10^{15} and GENECOUNTING produced a p value of 5.4*10^{4}. Permutation testing produced a p value 2.8*10^{4}.
Conclusion
The fact that very large differences occur between the likelihood ratio statistics from the two programs may reflect the fact that the haplotype frequencies for the combined group are not constrained to be equal to the weighted averages of the frequencies for the cases and controls, as they would be if they were directly observed rather than being estimated. Minor differences in haplotype frequency estimates can result in very large differences in the likelihood ratio statistic and associated p value.
Background
We wish to point out a serious and previously undescribed problem with using heterogeneity testing to test for differences in haplotype frequencies between cases and controls. As implemented in several applications [1–3] a likelihood ratio statistic (LRS) is calculated as 2(L_{CASE}+L_{CONTROL}L_{COMBINED}), where the relevant log likelihoods are produced using maximum likelihood estimates of the haplotype frequencies. Although this approach is reasonable in theory, severe problems can arise in practice if the likelihood maximisation process is less than perfect. Although the estimationmaximisation (EM) method usually performs well, it is known that it is not guaranteed always to find a global maximum. In many circumstances small errors in numerical estimates do not have practical signficance. However we have discovered that in the context of heterogeneity testing apparently trivial differences in estimating the haplotype frequency parameters can have very large impacts on the associated likelihoods and LRS values.
Results
In Table 1 we present the haplotype frequency estimates and associated log likelihoods and LRS values obtained from genotyping DRD2 polymorphisms in 503 subjects with heroin dependence and 336 controls [4] using MLOCUS [2] and GENECOUNTING [3, 5]. It can be seen that although there are only slight variations in the frequency estimates there is a very large difference between the LRS values obtained leading to statistical significance levels of either p = 1.8*10^{15} or p = 5.4*10^{4}. An empirical test of significance using permutation testing of the GENECOUNTING result produced a value of p = 2.8*10^{4}.
Discussion
We believe that the magnitude of variation of the LRS values obtained will be surprising to many readers. To begin to understand why this might be the case, let us consider the frequencies estimated for the first haplotype by the MLOCUS program. For cases, controls and the combined sample respectively these consist of 0.005, 0.000 and 0.011. We note that the combined sample actually has an estimated frequency which is higher than that for either cases or controls. Obviously this cannot reflect the real situation but we will acknowledge that numerical approximations and/or the fact that the EM algorithm may not necessarily converge to a true maximum can adequately explain this discrepancy. To gain some appreciation of the effect this will have on calculations of the LRS value it is instructive to consider what would happen if these estimates were applied to actually observed haplotype counts rather than being incorporated into a complex likelihood calculation using weighted probabilities over all possible haplotype configurations, as in fact occurs within these programs. Then we would calculate the contribution to the LRS value for haplotype i as LRS_{i} = 2*(2*Ncase*ln(Pcase_{i}) + 2*Ncontrol*ln(Pcontrol_{i})  2*Ncombined*ln(Pcombined_{i})), where N represents the number of subjects, 2*N the number of haplotypes and P the estimated frequency in the relevant group. When we do this for the first haplotype we obtain LRS_{1} = 2*( 27.1+0+83.6) = 113.5. As a contribution to a chisquared statistic this is obviously extremely large and can be expected to be related to an infinitesimal p value. Although the likelihood calculations within the programs do not use the estimated frequencies in this way this simple example shows how small variations in frequency estimates could produce massive changes in the LRS.
If the haplotype frequency estimates were based on observed haplotype counts then they would need to conform to the constraint that the frequency in the combined sample would be equal to the weighted average of the case and control frequencies. However, when haplotype frequencies are estimated from phaseunknown genotypes and are estimated independently in the three groups this constraint need not apply and deviations from it can be seen to lead to surprisingly high LRS values and correspondingly small p values. In the present example, the fact that the frequency of one haplotype is estimated to be higher in the combined sample compared to both the cases and controls might draw attention to potential problems but it seems reasonable to expect that much more subtle differences in frequency estimates could still have substantial effects on the statistical inferences drawn from heterogeneity testing.
Conclusion
Apparently minor differences in estimated frequency can have a surprisingly important impact on the LRS obtained and its associated p value. The authors of MLOCUS recommended that permutation testing be used to confirm inferences based on the theoretical distribution of LRS values [2] and we concur with this advice.
Methods
Haplotype frequencies for 6 SNPs genotyped around the DRD2 locus were estimated in polymorphisms in 503 subjects with heroin dependence and 336 controls [4] using the MLOCUS [2] and using GENECOUNTING and its associated support program, RUNGC [3, 5]. The associated log likelihoods were also obtained and the LRS providing evidence for heterogeneity of haplotype frequencies between the samples was calculated as LRS = 2(L_{CASE}+L_{CONTROL}L_{COMBINED}). For each analysis, an asymptotic p value was calculated assuming that there were 11 degrees of freedom, this being one less than the number of haplotype frequencies estimated in each group. An empirical p value was also obtained using the RUNGC program to implement sequential Monte Carlo testing [6]. A target number of 10 was set for the number of randomly permuted datasets to yield a LRS as high as that observed in the real dataset.
Abbreviations
 EM:

estimationmaximisation
 LRS:

likelihood ratio statistic
References
 1.
Xie X, Ott J: Testing linkage disequilibrium between a disease gene and marker loci. Am J Hum Genet. 1993, 53: 1107
 2.
Long JC, Williams RC, Urbanek M: An EM algorithm and testing strategy for multiplelocus haplotypes. Am J Hum Genet. 1995, 56: 799810.
 3.
Zhao JH, Lissarrague S, Essioux L, Sham PC: GENECOUNTING: haplotype analysis with missing genotypes. Bioinformatics. 2002, 18: 16945. 10.1093/bioinformatics/18.12.1694.
 4.
Xu K, Lichtermann D, Lipsky RH, Franke P, Liu X, Hu Y, Cao L, Schwab SG, Wildenauer DB, Bau CH, Ferro E, Astor W, Finch T, Terry J, Taubman J, Maier W, Goldman D: Association of specific haplotypes of D2 dopamine receptor gene with vulnerability to heroin dependence in 2 distinct populations. Arch Gen Psychiatry. 2004, 61: 597606. 10.1001/archpsyc.61.6.597.
 5.
Curtis D, Knight J, Sham PC: Program report: GENECOUNTING support programs. Ann Hum Genet. 2006, 70: 2779. 10.1111/j.15298817.2005.00225.x.
 6.
Besag J, Clifford P: Sequential Monte Carlo pvalues. Biometrika. 1991, 78: 301304.
Author information
Additional information
Authors' contributions
KX reported original analyses, provided raw data and agreed text. DC carried out reanalyses and draughted text. Both authors approved the final version.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Curtis, D., Xu, K. Minor differences in haplotype frequency estimates can produce very large differences in heterogeneity test statistics. BMC Genet 8, 38 (2007). https://doi.org/10.1186/14712156838
Received:
Accepted:
Published:
Keywords
 Permutation Testing
 Haplotype Frequency
 Frequency Estimate
 Combine Sample
 Likelihood Ratio Statistic