Abstract
An appropriate sample size is crucial for the success of many studies that involve a large number of comparisons. Sample size formulas for testing multiple hypotheses are provided in this paper. They can be used to determine the sample sizes required to provide adequate power while controlling familywise error rate or false discovery rate, to derive the growth rate of sample size with respect to an increasing number of comparisons or decrease in effect size, and to assess reliability of study designs. It is demonstrated that practical sample sizes can often be achieved even when adjustments for a large number of comparisons are made as in many genomewide studies.
1. Introduction
With the recent advancement in high-throughput technologies, simultaneous testing of a large number of hypotheses has become a common practice for many types of genomewide studies. Examples include genetic association studies and DNA microarray studies. In a genomewide association analysis, a large number of genetic markers are tested for association with the disease [1]. In DNA microarray studies, the interest is typically to identify differentially expressed genes between patient groups among a large number of candidate genes [2].
The challenges for designing such large-scale studies include the selection of features of scientific importance to be investigated, selection of appropriate sample size to provide adequate power, and choices of methods appropriate for the adjustment of multiple testing [3β7]. There exist recent methodological breakthroughs on multiple comparisons, such as in the frontier of controlling the false discovery rate (FDR) [8, 9], which is particularly useful for the study of DNA microarray and protein arrays. It is also increasingly used in genomewide association studies [10]. On the other hand, the Bonferroni type adjustment is still surprisingly useful. For example, Klein et al. [1] successfully identified two SNPs which are associated with the age-related macular degeneration disease (AMD) using a Bonferroni adjustment. Witte et al. [11] provided an interesting observation that the relative sample size, based on Bonferroni adjustment, is approximately in a linear relationship to the logarithm of the number of comparisons.
An appropriate sample size is crucial for the success of studies involving a large number of comparisons. However, optimal and reliable sample size is extremely challenging to identify, as it typically depends on other design parameters that often have to be estimated based on preliminary data. Preliminary data are often limited at the design stage of studies, which lead to unreliable estimates of design parameters and create extra uncertainty in sample size estimation. Thus, it is of great practical interest to examine the relationship between sample size and other design parameters, such as the number of comparisons to be made. In this paper, we analyze this problem beyond witte et al.βs [11] observation by providing explicit sample size formulas, examining various genomic analyses, and deriving sample size formula for FDR control. The explicit sample size formulas are desirable because they elucidates how the change in other design parameters would affect sample size. This is of fundamental importance for understanding the reliability of study designs.
2. Sample Size Formulas
For testing a single hypothesis, the sample size problem is typically formulated as finding the number of subjects needed to ensure desired power for detecting an effect size at a prespecified significance level . Consider an one-sided test for equality of two normal means assuming known variances and , respectively. The sample size per group () is as follows [12]: where , , , and is the distribution function (CDF) of the standard normal distribution.
Many of the most widely used statistical tests have similar sample size formulas as in (2.1). For example, the commonly used Mann-Whitney test for comparing two continuous distributions without normality assumption has the same form of sample size formula as in (2.1). Similarly, for testing equality of two binomial proportions, using independent samples or using correlated samples as in McNemarβs test, the sample size formulas are also of form (2.1) as discussed in Rosner [12].
For testing a single hypothesis, the influences of , , and on the sample size can be inferred easily from the above sample size formula (2.1), and are well known. When testing multiple hypotheses, one must guard against an abundance of false-positive results. The traditional criterion for error control in such situations is the familywise error rate (FWER), which is the probability of rejecting one or more true null hypotheses. The simplest and most commonly used method for controlling FWER is the Bonferroni correction, which is discussed in the next subsection.
2.1. FWER Control
In this section, we present sample size formulas for multiple comparisons in the context of controlling the familywise error rate (FWER). Suppose we make multiple comparisons with being the same. If we wish to retain a familywise error rate , and power , then with the Bonferroni adjustment, , the sample size corresponding to (2.1) becomes To see how changes as increases, we can use the following well-known fact: when , . Since , we can approximate by , where The explicit approximation of in (2.3) works extremely well for ranging from 10 to . Putting (2.3) into (2.2) yields the following approximation of the required sample size : Then, for fixed , from (2.3) and (2.4), we have A few facts are self-evident from the above approximation. First, is an approximately linear function of (base 10) with slope . Second, the impact of on (or ) is negligible when is large. Third, a decrease in is equivalent to an increase in on (or ). The impact of on (or ) is demonstrated in Figure 1 with , , and , and , respectively. It shows that (open circles) can indeed be approximated well by a linear function of . The lines are calculated based on approximate normal quantiles (2.4) for . Moreover, when is large (e.g., ), the slope is very small.
The simple Bonferroni correction is very useful, when the number of true alternatives is small. This often occurs, for example, in candidate gene association studies. The Bonferroni approach is easy to apply, for example, it is convenient when the hypotheses involve many covariates and nuisance parameters, whereas the permutation approaches may not be applicable, because they require some symmetry or exchangeability on the null hypotheses [13, 14]. Next, we give two practical examples to illustrate the growth rate of sample size relative to the number of tests to be performed.
The AMD Example
Age-related macular degeneration (AMD) is a major cause of blindness in the elderly. Klein et al. [1] reported a genomewide screen of 96 cases and 50 controls for polymorphisms associated with AMD. They examined 116,204 single-nucleotide polymorphisms (SNPs). Two of the SNPs are found to be strongly associated with the disease phenotype. This is an example to test equality of two binomial proportions of two independent groups (cases and controls). The required sample size for each marker is given in (2.2) or (2.4) with , , and . Illustration for sample size growth with the Bonferroni correction is plotted in Figure 2 against using the SNP rs1329428 (Table 1) identified in Klein et al. [1]. Using Bonferroni adjustment, the sample sizes are calculated to provide power to detect the association at the familywise significance level . The open circles and plus signs are sample sizes using (2.2) according to the dominant and recessive odds ratios, respectively. The corresponding lines are sample sizes based on (2.4).
The TDT Example
To test for linkage or association in family-based studies, the transmission/disequilibrium test (TDT) of Spielman et al. [15] examines the transmission of an allele from heterozygous parents to their affected offspring. If an allele is associated with the disease risk, its transmission may occur more than 50% of the times. Risch and Merikangas [16] studied the required sample size for TDT in affected sib pairs. TDT is equivalent to McNemarβs test for two correlated proportions with the hypothesis versus , for the specified alternative , where is the probability that an parent transmits allele to an affected offspring. The sample size (matched pairs) needed is given in (2.1) with , , and is the projected proportion of discordant pairs among all matched pairs. If we assume that each family used in the analysis has only one marker heterozygous parent, then is the number of families required. Demonstration of sample sizes for TDT is plotted in Figure 3 using the setup given in Risch and Merikangas [16]. Using Bonferroni adjustment, the sample sizes are calculated to provide power to identify a disease gene at the familywise significance level . The plus signs and open triangles are the sample size calculated based on (2.2) corresponding to disease frequencies equal to 0.1 and 0.5, respectively. The corresponding lines are for based on (2.4).
2.2. FDR Control
For the test of multiple hypotheses, such as the analysis of many genes using microarray, the outcomes can be described in Table 2.
It is likely that many genes are differentially expressed in a microarray study [7]. A natural way to control the overall false positives is to control the expected proportion of false positives. Benjamini and Hochberg [8] defined the false discovery rate (FDR), using Table 2, as Storey [9] defines positive FDR (pFDR) as . When is large as assumed next, , unless the power is too small, then FDR pFDR.
The required sample size for multiple testing depends on , , and of each individual gene. For easy exposition, we assume an equal effect size for all differentially expressed genes, say genes; thus, the power of detecting any individual differentially expressed gene is the same for all of the genes between samples of two conditions of sizes and . The expected outcomes in multiple testing can be expressed as functions of , , , and and are summarized in Table 3.
By law of large numbers, from Table 3, . Denote the desired FDR level by . Then from the above equation, we have To account for the dependence among tests, we follow Shao and Tseng [17]. Let be the test statistic of an one-sided two sample z-test for the th alternative hypothesis, let be its value, and let be the rejection status at the level ; if the th test result is a rejection and 0 otherwise. Furthermore, if we denote the pairwise correlation coefficient between two tests by , then it can be shown that the correlation between and , can be derived from the correlations of test statistics as follows: where is the CDF of the standard bivariate normal distribution, and [18]. Under local dependence assumptions, the total number of true discoveries, , has an approximately normal distribution: , where , and is the average correlation among true discoveries. The local dependence assumption can be viewed in a simplified formulation of the central limit theorem under the βstrong mixingβ given in Theorem 27.4 of Billingsely [19]. βMixingβ means, roughly, that random variables temporally far apart from one another are nearly independent. We think that the local dependence assumption is reasonable in many genetic studies. For example, linkage disequilibrium can result in local dependence of genetic markers. In biomarkers study, biomarkers of the same pathway are often correlated and result in local dependence.
It is often desirable to find sample size to ensure a familywise power of identifying at least a given fraction out of true discoveries: . The above normal approximation of allows a closed form solution for the comparison-wise : where . When is large, to have a family-wise power in detecting at least out of true alternatives, and with an FDR , the sample size needed for a one-sided z-test is given by (2.1), with and determined by (2.7) and (2.9) iteratively.
A Microarray Example.
We now consider a well-known dataset from a study of leukemia in Gloub et al. [2] to demonstrate the relationship between sample size and number of multiple comparisons when controlling FDR. The original purpose of the experiment described in Gloub et al. [2] is to identify the susceptible genes related to clinical heterogeneity in two subclass of leukemia: acute lymphoblastic leukemia (ALL) and acute myeloid leukemia (AML). The dataset contains 7129 attributes from 47 patients with ALL and 25 patients with AML. We can apply (2.1), (2.7), and (2.9) iteratively to obtain the required sample size when controlling FDR. Figure 4 provides 3 different settings for controlling FDR with . Based on the top 100 most differentially expressed genes in Gloub et al. [2], (see (2.9)). The open circles represent the sample sizes needed when the number of true alternatives stays constant (). In this case, we observe that the sample size is a linear function of as increases. The βplusβ signs denote the sample sizes when the number of true alternatives increases in a slower pace than (); the sample size is also approximately a linear function of logβ. The triangles denote the sample sizes when the proportion of true alternatives is constant (), and the sample sizes roughly remain constant as the number of tests increases which is expected from (2.7). The lines in Figure 4 represent sample sizes based on (2.4).
3. Discussion
In this short paper, we have shown that a large increase in the number of comparisons often only requires a small increase in the sample size. We further demonstrated that when controlling FDR, the sample size may even sometimes stay constant as the number of comparisons increases (Figure 4). The sample size required for testing hypotheses is generally not growing faster than a linear function of , even when a simple Bonferroni adjustment is used, and the slope of the linear growth rate (in ) is small when detecting a large effect size. These results have important implications in practice due to the wide use of multiple comparisons.
In this paper, we discuss the sample size formulas based on fixed effect size in alternative hypotheses. In reality, the effect sizes may follow a distribution, and simulation method may be useful in determining the sample size. We used -test to derive the sample size formula, because large sample size is usually required for studies with multiple comparisons. If the effect size is large and sample size is small, -test may be more appropriate. However, we expect the relationship between sample size and the logarithm of number of comparisons made is still linear.
In practice, if feasible, using a conservative sample size can reduce the chance of obtaining false-positive results and ensure reproducibility [6]. The simple sample size formulas provided in this paper might be used to select a suitable sample size by varying other design parameters and by taking into consideration the reliability of the proposed designs. While FDR is very useful and is increasingly used in multiple comparisons, our experience in helping biomedical investigators and the analysis in this paper indicate that the simple Bonferroni approach can often provide conservative but useful sample sizes in many situations.