Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hypothesis Testing Statistics for Microarray Data Analysis – Lecture 3 supplement The Fields Institute for Research in Mathematical Sciences May 25, 2002.

Similar presentations


Presentation on theme: "Hypothesis Testing Statistics for Microarray Data Analysis – Lecture 3 supplement The Fields Institute for Research in Mathematical Sciences May 25, 2002."— Presentation transcript:

1 Hypothesis Testing Statistics for Microarray Data Analysis – Lecture 3 supplement The Fields Institute for Research in Mathematical Sciences May 25, 2002

2 p-values The p-value or observed significance level p is the chance of getting a test statistic as or more extreme than the observed one, under the null hypothesis H of no differential expression.

3 Many tests: a simulation study Simulations of this process for 6,000 genes with 8 treatments and 8 controls. All the gene expression values were simulated i.i.d from a N (0,1) distribution, i.e. NOTHING is differentially expressed.

4 genetp-value indexvalue(unadj.) 22714.93 2  10 -4 57094.82 3  10 -4 5622-4.62 4  10 -4 45214.34 7  10 -4 3156-4.31 7  10 -4 5898-4.29 7  10 -4 2164-3.98 1.4  10 -3 59303.91 1.6  10 -3 2427-3.90 1.6  10 -3 5694-3.88 1.7  10 -3 Unadjusted p-values Clearly we can’t just use standard p-value thresholds (.05,.01).

5 Multiple hypothesis testing: Counting errors Assume we are testing H 1, H 2, , H m. m 0 = # of true hypotheses R = # of rejected hypotheses # true# false null hypo. # non-signif.UTm - R # significantVSR m0m0 m-m 0 V = # Type I errors [false positives] T = # Type II errors [false negatives]

6 Multiple testing procedure As we will see, there is a bewildering variety of multiple testing procedures. How can we choose which to use? There is no simple answer here, but each can be judged according to a number of criteria: Interpretation: does the procedure answer a relevant question for you? Type of control: strong or weak? Validity: are the assumptions under which the procedure applies clear and definitely or plausibly true, or are they unclear and most probably not true? Computability: are the procedure’s calculations straightforward to calculate accurately, or is there possibly numerical or simulation uncertainty, or discreteness?

7 Type I error rates Per-comparison error rate (PCER). The PCER is defined as the expected value of (number of Type I errors/number of hypotheses), i.e., PCER = E(V/m). Family-wise error rate (FWER). The FWER is defined as the probability of at least one Type I error, i.e., FWER = pr(V >0). False discovery rate (FDR). The FDR of Benjamini & Hochberg (1995) is the expected proportion of Type I errors among the rejected hypotheses, i.e., FDR = E(V/R).

8 Strong vs. weak control The Type I error probabilities are conditional on which hypotheses are true. Strong control refers to control of the Type I error rate under any combination of true and false hypotheses, i.e., any value of m 0. Weak control refers to control of the Type I error rate only when all the null hypotheses are true, i.e., under the complete null hypothesis with m 0 =m. In general, weak control without any other safeguards is unsatisfactory.

9 Computing p-values by permutations We focus on one gene only. For the bth iteration, b = 1, , B; 1. Permute the n data points for the gene (x). The first n 1 are referred to as “treatments”, the second n 2 as “controls”. 2. For each gene, calculate the corresponding two sample t-statistic, t b. After all the B permutations are done; 3. Put p = #{b: |t b | ≥ |t|}/B (plower if we use >). With all permutations in the Apo AI data, B = n!/n 1 ! n 2 ! = 12,870.

10 p-value adjustments: single-step Define adjusted p-values π such that the FWER is controlled at level  where H i is rejected when π i ≤ . Bonferroni: π i = min (mp i, 1) Sidák: π i = 1 - (1 - p i ) m Bonferroni always gives strong control. Sidák is less conservative than Bonferroni. When the genes are independent, it gives strong control exactly (FWER=  ), proof later. It controls FWER in many other cases, but is still conservative. Less conservative procedures make use of the dependence structure of the test statistics and/or are sequential.

11 Single-step adjustments (ctd) The minP method of Westfall and Young:  i = pr( min P l ≤ p i | H) 1≤l≤m Based on the joint distribution of the p-values {P l }. This is the most powerful of the three single-step adjustments. If P i  U [0,1], it gives a FWER exactly = . It always confers weak control, and gives strong control under a condition known as subset pivotality (definition omitted). That applies here.

12 Permutation-based single-step minP adjustment of p-values For the bth iteration, b = 1, , B; 1.Permute the n columns of the data matrix X, obtaining a matrix X b. The first n 1 columns are referred to as “treatments”, the second n 2 columns as “controls”. 2.For each gene, calculate the corresponding unadjusted p-values, p i,b, i= 1,2,  m, (e.g. by further permutations) based on the permuted matrix X b. After all the B permutations are done. 3.Compute the adjusted p-values π i = #{b: min l p l,b ≤ p i }/B.

13 More powerful methods: step-down adjustments The idea: S Holm’s modification of Bonferroni. Also applies to Sidák, maxT, and minP.

14 S Holm’s modification of Bonferroni Order the unadjusted p-values such that p r 1 ≤ p r 2 ≤  ≤ p r m.. The indices r 1, r 2, r 3,.. are fixed for given data. For control of the FWER at level, the step-down Holm adjusted p- values are π rj = max k  {1,…,j} {min((m-k+1)p rk, 1). The point here is that we don’t multiply every p rk by the same factor m, but only the smallest. The others are multiplied by successively smaller factors: m-1, m-2,..,. down to multiplying p rm by 1. By taking successive maxima of the first terms in the brackets, we can get monotonicity of these adjusted p-values.

15 Step-down adjustment of minP Order the unadjusted p-values such that p r 1 ≤ p r 2 ≤  ≤ p r m. Step-down adjustment: it has a complicated formula, see below, but in effect is 1.Compare min{P r 1, , P r m } with p r1 ; 2.Compare min{P r 2, , P r m } with p r2 ; 3 Compare min{P r 3 , P r m } with p r i3 ……. m. Compare P r m with p r m. Enforce monotonicity on the adjusted p r i. The formula is π rj = max k  { 1,,…,j} {pr(min l  {rk,…rm} P l ≤ p rk | H 0 C )}.

16 The computing challenge: iterated permutations The procedure is quite computationally intensive if B is very large (typically at least 10,000) and we estimate all unadjusted p-values by further permutations. Typical numbers: To compute one unadjusted p-value B = 10,000 # unadjusted p-values needed B = 10,000 # of genes m = 6,000. In general run time is O(mB 2 ).

17 Avoiding the computational difficulty of single-step minP adjustment maxT method: (Chapter 4 of Westfall and Young) π i = Pr( max |T l | ≥ | t i | | H 0 C ) 1≤l≤m needs B = 10,000 permutations only. However, if the distributions of the test statistics are not identical, it will give more weight to genes with heavy tailed distributions (which tend to have larger t-values) There is a fast algorithm which does the minP adjustment in O(mBlogB+mlogm) time.

18 Adjusted p-values, Westfall & Young(1993) For strong control of the FWER at level , let |t rm|  …  |t r2 |  |t r1 |denote the ordered test statistics and define the adjusted p-values as Takes into account the dependence structure between the hypotheses.

19

20 Conclusion: unsuitable. Too much discreteness.

21 gene tunadj. pminPplowermaxT indexstatistic (  10 4 ) adjust. 2139-221.5.53 8  10 -5 2  10 -4 4117-131.5.53 8  10 -5 5  10 -4 5330-121.5.53 8  10 -5 5  10 -4 1731-111.5.53 8  10 -5 5  10 -4 538-111.5.53 8  10 -5 5  10 -4 1489-9.11.5.53 8  10 -5 1  10 -3 2526-8.31.5.53 8  10 -5 3  10 -3 4916-7.71.5.53 8  10 -5 8  10 -3 941-4.71.5.53 8  10 -5 0.65 2000+3.11.5.53 8  10 -5 1.00 5867-4.23.1.760.540.90 4608+4.86.2.930.870.61 948-4.77.8.960.930.66 5577-4.512.990.930.74

22 Apo AI. Genes with maxT p-value ≤ 0.01

23 False discovery rate (Benjamini and Hochberg 1995) Definition: FDR = E(V/R |R>0) P(R >0). Rank the p-values p r1 ≤ p r2 ≤ …≤ p rm. The adjusted p-values are to control FDR when P i are independently distributed are given by the step-up formula:  ri = min k  {i…m} { min (mp rk /k,1) }. We use this as follows: reject p r1,p r2,…,,p rk* where k* is the largest k such that p rk ≤ k/m. . This keeps the FDR ≤  under independence, proof not given. Compare the above with Holm’s adjustment to control FWE, the step- down version of Bonferroni, which is  i = max k  {1,…i} { min (kp rk,1) }.

24 Positive false discovery rate (Storey, 2001, independent case) A new definition of FDR, called positive false discovery rate (pFDR) pFDR= E(V/R | R >0) The logic behind this is that in practice, at lease one gene should be expected to be differentially expressed. The adjusted p-value (called q-value in Storey’s paper) are to control pFDR.  i = min k  {1..,i} {m/k p k  0 } Note  0 = m 0 /m can be estimated by the following formula for suitable   0 = #{p i >  }/ {(1-  ) m}. One choice for  is 1/2; another is the median of the observed (unadjusted) p-values.

25 Positive false discovery rate ( Storey, 2001, dependent case) In order to incorporate dependence, we need to assume identical distributions. Specify  0 to be a small number, say 0.2, where most t-statistics will fall between (-  0,  0 ) for a null hypothesis, and  to be a large number, say 3, where we reject the hypotheses whose t-statistics exceeds . For the original data, find the W = #{i: |t i |   0 } and R= #{i: |t i |   }. We can do B permutations, for each one, we can compute W b and R b simply by: W b = #{i: |t i |   0 } and R b = #{i: |t i |   }, b=1,…, B. The we can compute the proportion of genes expected to be null  0 =W/{(W 1 +W 2 +…+W b )/B) An estimate of the pFDR at the point  will be  0 {(R 1 +R 2 +…+R B )/B}/R. Further details can be found in the references.

26 Discussion The minP adjustment seems more conservative than the maxT adjustment, but is essentially model-free. With the Callow data, we see that the adjusted minP values are very discrete; it seems that 12,870 permutations are not enough for 6,000 tests. With the Golub data, we see that the number of permutations matters. Discreteness is a real issue here to, but we do have enough permutations. The same ideas extend to other statistics: Wilcoxon, paired t, F, blocked F. Same speed-up works with the bootstrap.

27 Discussion, ctd. Major question in practice: Control of FWER or some form of FDR? In the first case, use minP, maxT or something else? In the second case, FDR, pFDR or something else. If minP is to be used, we need guidelines for its use in terms of sample sizes and number of genes. Another approach: Empirical Bayes. There are links with pFDR.

28 Acknowledgments Multiple testing section: based on Y. Ge (Lecture 8 in stat246, statistics in genetics). http://www.stat.Berkeley.EDU/users/terry/Classes/s246.2002/index.html S. Dudoit (Bioconductor short course lecture 2) http://www.bioconductor.org/


Download ppt "Hypothesis Testing Statistics for Microarray Data Analysis – Lecture 3 supplement The Fields Institute for Research in Mathematical Sciences May 25, 2002."

Similar presentations


Ads by Google