In genomic research phenotype transformations are commonly used as a straightforward way to reach normality of the model outcome. Many researchers still believe it to be necessary for proper inference. Using regression simulations, we show that phenotype transformations are typically not needed and, when used in phenotype with heteroscedasticity, result in inflated Type I error rates. We further explain that important is to address a combination of rare variant genotypes and heteroscedasticity. Incorrectly estimated parameter variability or incorrect choice of the distribution of the underlying test statistic provide spurious detection of associations. We conclude that it is a combination of heteroscedasticity, minor allele frequency, sample size, and to a much lesser extent the error distribution, that matter for proper statistical inference.
Citation: Bůžková P (2013) Linear Regression in Genetic Association Studies. PLoS ONE 8(2): e56976. https://doi.org/10.1371/journal.pone.0056976
Editor: Andrew Dewan, Yale School of Public Health, United States of America
Received: September 27, 2012; Accepted: January 16, 2013; Published: February 21, 2013
Copyright: © 2013 Petra Buzkova. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Funding: This research was supported by an award issued by the National Human Genome Research Institute, 5U01HG004803-04, Genetic Epidemiology of Causal Variants Across the Life Course. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The author has declared that no competing interests exist.
Phenotype transformations are still very popular in genomic research when drawing inference about genotype-phenotype associations. The two most widely used transformations are natural logarithm and rank-based inverse-normal transformation (INT). Their popularity is underlined by them being easily obtained; logarithm has an automated function in all statistical software packages and INT in many, for example, in SAS and SPSS. Often the only reason to transform a phenotype is “to improve normality”. Many researchers still believe that linear regression is valid only for normally distributed model residuals or even model outcomes. We give a few examples: “the Von Willebrand factor was natural log-transformed to improve normality” ; “Weight and body mass index scores were transformed by the natural logarithm to normalise the distribution” ; “Natural logarithm transformations were used to improve normality of the distributions for HDL and LDL cholesterol, TG, and BMI” . Sometimes phenotypes are transformed without providing any reason at all . Phenotype transformations alter the regression model and the interpretation of the parameter estimates. There is no direct way how to translate the parameter estimates back into difference in the mean of the phenotype, but attempts to do so are many, e.g. . Nevertheless, in the absence of believes about biological plausibility and in the absence of a detailed scientific question to guide the model choice, a phenotype transformation could be chosen for statistical convenience, if merit.
Linear regression is frequently presented as an optimal method in the context of normally distributed model residuals. But it was discovered as a semiparametric method based on least squares. The fact that residual normality is not necessary for validity of linear regression in sufficiently large samples is well understood in the statistical literature but it is still not widely known and accepted in genetic epidemiology. The sample size in genetic epidemiology studies is typically in thousands, using established cohorts. If study data are stratified for analyses by race/ethnicity and sometimes additionally by an environmental exposure, the sample size is still at least in several hundreds. The behavior of t-tests with extremely non-normal medical cost data suggests that major limitation is not distributional but whether detecting and estimating a difference in the mean of the outcome answers the scientific question at hand . Simulations for two-group comparisons showed lack of justification for INTs in most situations .
In contrast to two-group comparison tests, there has been little empirical research into the behavior of linear regression. In this paper we first show that in linear regression in the genetic association studies framework transformations are typically not needed to improve adherence of the Type I error rate to the nominal level. Further, we focus on a regression feature unique to genetic data. Genotype, the major covariate of interest characterized by minor allele frequency (MAF), is prone to skewness. Many genetic studies include single nucleotide polymorphisms (SNPs) with low MAF, often as low as 0.05 or 0.01, known as rare variants. New arrays are being developed specifically for fine mapping, targeted at SNPs with lower MAF. For instance, Metabochip is a custom SNP array based on the Illumina iSelect platform and was developed for replication and fine mapping of susceptibility variants associated with several metabolic and cardiovascular traits. The MAF filters there may be set as low as 0.001, resulting in genotype skewness of 22. With rare variants addressing of heteroscedasticity becomes crucial. In this paper we discuss the choice of standard errors (SEs) to construct a test statistic and the choice of the distribution of the test statistic under the null hypothesis that improve adherence of the Type I error rate to the nominal level.
We note that techniques involving collapsing or summing rare variants, often referred to as pooling or burden tests , , are another route of addressing the situation with rare variants. The lack of robustness of such methods to neutral and protective variants in comparison to single variant test statistics has recently been noted .
To illustrate the situation, denote a positive continuous phenotype, such as body mass index (BMI) or plasma lipid concentrations. We define three model outcomes : The untransformed phenotype ; The natural logarithm of the phenotype ; A rank-based INT of the phenotype with denoting the standard normal quantile function and the sample size. We take , . The typical linear regression model in a genetic association study is.(1)where is the parameter of interest quantifying the association between a genotype G and the mean of an outcome . Further, is a small set of covariates, such as age and gender. Denote and . As long as the model for the mean of the outcome (1) is correct, the ordinary least squares estimator is an unbiased estimator of . It is a weighted average of the model outcome with weights that dependent on the covariate set .
We consider a test for no association between the genotype G and the mean of the model outcome , i.e., in model (1). The natural test statistic is the standardized score obtained by dividing the parameter estimate by its estimated standard error. For unbiased estimation of the standard error we need either assumptions on variance of the outcome or to use an empirical estimator. The model-based estimator is based on the classical assumption of constant outcome variance and is the one being typically used. The other is robust to that assumption, empirically estimating the variability of the outcome , . This method is most widely used in the context of the generalized estimating equations . It is appropriate to use when heteroscedasticity is present, when variability of the outcome given covariates is a function of the covariates rather than constant. This is specially true with skewed covariates, such as SNPs with low MAF. On the other hand this robust standard error estimator may perform suboptimal for very small effective sample sizes (small sample size, skewed covariates), being inefficient –. For larger effective sample sizes, however, regardless of the actual outcome variability, this robust estimator is always valid. Heteroscedasticity does not cause bias in the parameter estimator itself. It can only cause the estimators of the variability of the parameter estimate to be inconsistent. Confidence intervals and tests' p-values may be invalid. Model-based standard errors as compared to robust standard errors were recently discussed in the context of gene-environment interaction in GWAS . Population substructure was suggested by elevated median interaction test statistic when model-based standard errors were used. The inflation was alleviated when robust standard errors were used.
Testing in a regression model framework requires specification of the distribution of the test statistic under the null-hypothesis. The asymptotic distribution of the test statistic is standard normal, and another is a -distribution with degrees of freedom. Using a -distribution has impact for smaller because it is approaching the standard normal distribution with increasing . Having heavier tails, it will provide wider confidence intervals and larger -values. When using the model-based standard errors, the degrees of freedom are . As an analogy to the Welch-Satterthwite approximation of degrees of freedom in a t-test under heterogeneous variance , a Lipsitz formula provides an approximation of number of degrees of freedom in linear regression when using the robust standard errors . The computation of the degrees of freedom involves estimation of the variability of the variance estimator for each parameter estimate and is different for different parameter estimates within a single regression model. Unlike the Welch-Satterthwite formula for the t-test, we are not aware of any statistical software package making the Lipsitz formula for linear regression readily available. We approximate the effective degrees of freedom with .
An improper choice of the distribution of the test statistic under the null-hypothesis has consequences for inference validity: if distributional quantiles are too small, as could with normal quantiles or overestimated effective degrees of freedom of a -distribution, decisions may be uncoservative with too low p-values, resulting in spurious detection of associations; if distributional quantiles are too large, as could with underestimated effective degrees of freedom of a -distribution, decisions may be conservative with too large p-values, failing to discover the associations.
In moderate to large sample sizes, there exists a third option for specification of the distribution of the test statistic under the null-hypothesis; Parametric bootstrap [21, 4.2.3] can provide a good approximation to the distribution of the test statistic under sampling from the true null-hypothesis model through the distribution of the test statistic under sampling from the fitted null-hypothesis model. However, similarly to any resampling approach, this option typically requires additional coding and may be unfeasible with larger number of models. We do not consider it in our paper.
Using simulation, we explore tests of association between a genotype and a phenotype in linear regression in samples of unrelated individuals. For a range of sample sizes and MAFs we consider two types of error distributions with heavy tails - Weibull and and, for reference, normal distribution. We simulate non-heteroscedastic and heteroscedastic data sets. We evaluate the impact of phenotype transformations and compare three statistical approaches for p-value computation. We also discuss power. We demonstrate the methods with an actual genetic association study data.
Figure 1 for sample size of 500 and MAF 0.3 shows the typical results for any of the error distribution. Phenotype transformations were not needed to improve the Type I error rate adherence to the nominal level. All three approaches, that is model-based SEs combined with normal quantiles, robust SEs with normal quantiles and robust SEs with t-quantiles with approximate effective degrees of freedom, performed similarly well showing adherence of the Type I error rate to the nominal level. Tables 1 and 2 summarize the type I error rates across MAF and sample size for 5% and 0.1% significance levels.
A sample QQ plot for sample size of 500 and MAF 0.3.
We note that for a very small sample size of 200 and rare variants with MAF 0.01 we saw too high Type I error rates when using the robust SEs with normal quantiles, see Figure 2. Using the robust SEs with t-quantiles with degrees of freedom of brought the Type I error rates closer to the nominal values. The effective number of degrees of freedom is very low at 2. For Weibull and distributed errors the Type I error rates were too large for low significance levels (0.01 and smaller) also when using the model-based SEs. It indicates that in this extreme scenario the asymptotic properties of the test statistic are not in place yet. At the 5% significance level they are, however, still correct. Phenotype transformations improved the Type I error adherence when using the model-based SEs, but the improvement was slight. When using the robust SEs, there was no improvement with transformations, using any test statistic distribution.
With heteroscedastic data and some skewness in the genotype, the model-based SEs are not valid estimates of the variability of the estimated parameter and thus using them provides invalid -values. Regardless of the sample size we saw too small -values, i.e, too large Type I error rates. See Figure 3 for sample size of 5000 and MAF 0.3. Transformations did not correct the Type I error rates when using model-based SEs. On the contrary, they seem to increase them even further, specially with the heavy tailed errors with Weibull and distribution. The -values based on the model-based SEs were improving with increasing MAFs, i.e., with decreasing genotype skewness. With genotype skewness of 0 for MAF 0.5, using model-based SE provided approximately valid inference, see Figure 4. Even in this scenario, with Weibull and error distribution the transformations provided utterly invalid Type I error rates. With heteroscedasticity in phenotype, using robust standard errors is a valid approach. Yet again, with transformations and Weibull and error distribution the Type I errors substantially exceeded their expectation. Tables 3 and 4 summarize the type I error rates across MAF and sample size for 5% and 0.1% significance levels.
Sample QQ plots for sample size of 5000 and MAF 0.3. Panel A uses normal errors and no transformations. Panel B uses normal errors and transformations. Panel C uses or Weibull errors and no transformations. Panel D uses or Weibull errors and transformations.
Sample QQ plots for sample size of 5000 and MAF 0.5. Panel A uses normal errors and no transformations. Panel B uses normal errors and transformations. Panel C uses or Weibull errors and no transformations. Panel D uses or Weibull errors and transformations.
Using robust standard errors is a valid approach, though with a very small sample size of 200 and rare variants with MAF 0.01 this empirical estimators does not perform well, see Figure 5. We did not see better adherence of the Type I error rates to the nominal levels with transformations. Using the robust SEs with -quantiles with degrees of freedom provided the best adherence of the Type I error rates to their nominal value.
Sample QQ plots for sample size of 200 and MAF 0.01. Panel A uses normal errors and no transformations. Panel B uses normal errors and transformations. Panel C uses or Weibull errors and no transformations. Panel D uses or Weibull errors and transformations.
In non-heteroscedastic data we saw slight power increase with transformations in distributions with heavy tails. On the other hand, in data with heteroscedasticity we saw a large decrease of power with transformations. This is common across MAF, sample size, and all three approaches of combining SEs and quantiles. See Figure 6, panels A and B.
Weibull distributed errors and MAF 0.3, model-based SEs and normal quantiles. Panel A shows no heteroscedastic data. Panel B shows heteroscedastic data. Panels C and D show power in a situation when a genotype has a large effect in a population subset. Panel C shows no heteroscedastic data. Panel D shows heteroscedastic data.
In situations where a genotype has a large effect in a population subset, transformations do not increase power, see Figure 6, panel C for data with no heteroscedasticity and panel D for data with heteroscedasticity. On the contrary, transformations attenuate the signal.
In Figure 7 we present the p-values obtained in the CHS analysis. Panel A, not distinguishing among the three statistical approaches of p-value computation based on SEs and quantiles, illustrates the LDL-C transformation effect on the p-values as compared to the p-values when no transformation was used. For most SNPs the p-values are different. For few SNPs the transformation has little impact, e.g., SNP rs3890182. Comparing the three approaches, with lower MAF the p-values tend to spread out more. For higher MAF the normal and t-quantiles with 799MAF approximate effective degrees of freedom are similar. To study in detail the low p-values of interest, see panel B. For several SNPs, e.g., rs1800961 and rs174547, we see that the LDL-C transformation and the method for computing p-values may result in different conclusions about the association of LDL-C and the SNP.
Linear regression does not require normal distribution of outcome or residuals for sufficiently large samples where Central Limit Theorem applies. In genetic association models sufficiently large is often under 500, depending on the targeted significance level. Sample sizes of studies involved with genetic analyses are mostly substantially larger. Transformations improving outcome normality do not typically improve inference validity. On the contrary, using them may provide invalid inference, specially with heteroscedastic data. Unintuitivelly, under heteroscedasticity transformations proved even less suitable for heavy tailed errors than for normal errors. With this paper we would like to discourage researchers to use phenotype non-normality as an argument to transform it. Model choice should be driven in the first place by biological plausibility and relevance to the scientific question, not by presumed statistical modeling needs.
The extend of the heteroscedasticity problem depends on the skewness of the genotype. Simulations suggest that when ignoring the combination of heteroscedasticity and rare variants statistical inference results may be rather misleading. Specifically, we saw largely inflated Type I error rate, resulting in spurious detection of associations. Robust standard errors must be carefully considered to construct a test statistic. With small sample size t-quantiles with appropriate degrees of freedom might be preferred to normal quantiles, improving adherence of the Type I error rate to the nominal level. We encourage researchers to report in their papers' method sections the choice of standard errors method and the test statistic distribution. The excess of false positive findings that we saw in the simulations due to rare genotype and heteroscedasticity may be one of the many reasons why genetic association findings are difficult to replicate.
For each individual we generate allele and as independent binary variables with probability MAF. We define genotype with an additive model , taking on values 0, 1, or 2. We consider MAF . The skewness of genotype G with such minor allele frequencies is about 7, 3, 2, 0.6 and 0, respectively. We generate covariates Age as Poisson and a Male indicator as binary with probability 0.5. We generate a positive continuous phenotype where
First, we generate data with no heteroscedasticity, generating the errors as , zero-centered and zero-centered . Second, we generate data with heteroscedasticity. We consider the error distribution to be a mixture of normal or centralized Weibull or centralized distributions based on the genotype G
For normal distribution we set . For Weibull distribution we set and , and for distribution . See Figure 8 for density of the generated errors.
Panel A shows normal errors, panel B Weibull errors and panel C errors.
We set and . The intercept is in Weibull case , in case , to insure positive values of phenotype. We set to study Type I error rates. We set to study power. Additionally, we consider a scenario where a genotype has a fairly large effect in a population subset, perhaps because of an unmeasured environmental exposure . We generate as binary with and set .
For large number of simulations under the null hypothesis the empirical -values for valid tests should is uniform distributed on . As a summary display of comparison of distribution of the -values and a uniform variable we present quantile-quantile plots. We use the scale to emphasize the area of interest of small p-values and simplify the plots' readability with base 10. We highlight the significance level of 0.05, 0.01, and 0.001. We consider sample size = 200, 500, 1000, 2000 and 5000. We systematically summarize type I error rates in tables across MAF and sample size for significance levels 0.05 and 0.001. Our results are based on simulations.
Because the quantiles of normal distribution and -distribution with larger number of degrees of freedom are very close, we do not plot a separate curve for -values based on model-based SEs and t-quantiles as it is very similar to the one based on model-based SEs and normal quantiles (the smallest sample size in our setting is 200, resulting in 200-4 = 196 degrees of freedom). This is not so with the robust SEs where the approximate number of degrees of freedom can be very low (), resulting in the t-quantiles being much larger than corresponding normal quantiles, especially for lower significance level. As the log transformation and the INT provided similar results we show the log transformation results only. Similarly, as using the Weibull errors and the errors provided similar findings, we show the Weibull errors findings only. Simulations were performed in R .
We demonstrate the methods using Causal Variants Across Life Course (CALiCo) with data from Cardiovascular Health Study (CHS) . Specifically, we study the association between low-density lipoprotein cholesterol (LDL-C) in 799 individuals of African American ancestry and 40 SNPs as described previously . The linear regression models are minimally adjusted for age and gender. As the log transformation and the INT provided similar results we show the log transformation results only.
Conceived and designed the experiments: PB. Performed the experiments: PB. Analyzed the data: PB. Contributed reagents/materials/analysis tools: PB. Wrote the paper: PB.
- 1. Zabaneh D, Gaunt TR, Kumari M, Drenos F, Shah S, et al. (2011) Genetic variants associated with von Willebrand factor levels in healthy men and women identified using the HumanCVD BeadChip. Annals of Human Genetics 75: 456–467.
- 2. Need AC, Ahmadi KR, Spector TD, Goldstein DB (2006) Obesity is associated with genetic variants that alter dopamine availability. Annals of Human Genetics 70: 293–303.
- 3. Talmud PJ, Berglund L, Hawe EM, Waterworth DM, Isasi CR, et al. (2001) Age-related effects of genetic variation on lipid levels: The columbia university biomarkers study. Pediatrics 108: e50.
- 4. Dumitrescu L, Brown-Gentry K, Goodloe R, Glenn K, Yang W, et al. (2011) Evidence for age as a modifier of genetic associations for lipid levels. Annals of Human Genetics 75: 589–597.
- 5. Willer CJ, Speliotes EK, Loos RJF, Li S, Lindgren CM, et al. (2009) Six new loci associated with body mass index highlight a neuronal inuence on body weight regulation. Nature Genetics 41: 25–34.
- 6. Lumley T, Diehr P, Emerson S, Chen L (2002) The importance of the normality assumption in large public health data sets. Annual Reviews Public Health 23: 151–169.
- 7. Beasley TM, Erickson S, Allison DB (2009) Rank-based inverse normal transformations are increasingly used, but are they merited? Behavior Genetics 39: 580–595.
- 8. Li B, Leal SM (2008) Methods for detecting associations with rare variants for common diseases: application to analysis of sequence data. Am J Hum Genet 83: 311–321.
- 9. Madsen BE, Browning SR (2009) A groupwise association test for rare mutations using a weighted sum statistic. PLoS Genet 5(2): e1000384.
- 10. Kinnamon DD, Hershberger RE, Martin ER (2012) Reconsidering association testing methods using single-variant test statistics as alternatives to pooling tests for sequence data with rare variants. PLoS ONE 7(2): e30238.
- 11. Blom G (1958) Statistical estimates and transformed beta-variables. Wiley, New York.
- 12. Huber PJ (1967) The behavior of maximum likelihood estimation under nonstandard conditions. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability 1: 221–233.
- 13. White H (1982) Maximum likelihood estimation of misspecified models. Econometrica 50: 1–25.
- 14. Liang KY, Zeger SL (1986) Longitudinal data analysis using generalized linear models. Biometrika 73: 13–22.
- 15. Breslow N (1990) Test of hypotheses in overdispersion regression and the other quasilikelihood models. Journal of American Statistical Association 85: 565–571.
- 16. McCullagh P (1992) Discussion of the paper by liang, zeger & qagish “multivariate regression analysis for categorical data”. Journal of the Royal Statistical Society, Series B 54: 24–26.
- 17. Diggle PJ, Liang KY, Zeger SL (1994) Analysis of Longitudinal Data. Clarendon Press, Oxford.
- 18. Voorman A, Lumley T, McKnight B, Rice K (2011) Behavior of qq-plots and genomic control in studies of gene-environment interaction. PLoS ONE 6(5): e19416.
- 19. Satterthwaite FE (1946) An approximate distribution of estimates of variance components. Bio-metric Bulletin 2: 110–114.
- 20. Lipsitz SR, Ibrahim JG, Parzen M (1999) A degrees-of-freedom approximation for a t-statistic with heterogeneous variance. JRSS 48: 495–506.
- 21. Davison AC, Hinkley DV (1997) Bootstrap Methods and Their Applications. Cambridge University Press.
- 22. R Development Core Team (2009) R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. Available: http://www.R-project.org. ISBN 3-900051-07-0.
- 23. Fried LP, Borhani NO, Enright P, Furberg CD, Gardin JM, et al. (1991) The cardiovascular health study: Design and rationale. Ann Epidemiol 1: 263–276.
- 24. Dumitrescu L, Carty LC, Taylor K, Schumacher FR, Hindorff LA, et al. (2011) Genetic determinants of lipid traits in diverse populations from the population architecture using genomics and epidemiology (page) study. PLoS Genetics 7(6): e1002138 .