Docsity

Statistiek les 10: Multiple Testing, Slides of Statistics

Partial preview of the text

Download Statistiek les 10: Multiple Testing and more Slides Statistics in PDF only on Docsity!

Lecture 10: Multiple Testing

Goals

  • Correcting for multiple testing in R
    • Methods for addressing multiple testing (FWER

and FDR)

  • Define the multiple testing problem and related

concepts

Why Multiple Testing Matters

Genomics = Lots of Data = Lots of Hypothesis Tests

A typical microarray experiment might result in performing

10000 separate hypothesis tests. If we use a standard p-value

cut-off of 0.05, we’d expect 500 genes to be deemed

“significant” by chance.

  • In general, if we perform m hypothesis tests, what is the

probability of at least 1 false positive?

Why Multiple Testing Matters

P(Making an error) = α

P(Not making an error) = 1 - α

P(Not making an error in m tests) = ( 1 - α)

m

P(Making at least 1 error in m tests) = 1 - ( 1 - α)

m

Counting Errors

Assume we are testing H

1 , H

2 , …, H

m

m 0

= # of true hypotheses R = # of rejected hypotheses

V = # Type I errors [false positives]

m-m m 0

m 0

V S R

Called

Significant

U T m - R

Not Called

Significant

True True Total

Null Alternative

What Does Correcting for Multiple

Testing Mean?

  • When people say “adjusting p-values for the number of

hypothesis tests performed” what they mean is

controlling the Type I error rate

  • Very active area of statistics - many different methods

have been described

  • Although these varied approaches have the same goal,

they go about it in fundamentally different ways

Digression: p-values

  • Implicit in all multiple testing procedures is the

assumption that the distribution of p-values is

“correct”

  • This assumption often is not valid for genomics data

where p-values are obtained by asymptotic theory

  • Thus, resampling methods are often used to calculate

calculate p-values

Permutations

  1. Analyze the problem: think carefully about the null and

alternative hypotheses

  1. Choose a test statistic
  2. Calculate the test statistic for the original labeling of the

observations

  1. Permute the labels and recalculate the test statistic
    • Do all permutations: Exact Test
    • Randomly selected subset: Monte Carlo Test
  2. Calculate p-value by comparing where the observed test

statistic value lies in the permuted distributed of test statistics

Back To Multiple Testing: FWER

  • Many procedures have been developed to control the

Family Wise Error Rate (the probability of at least one

type I error):

P(V ≥ 1 )

  • Two general types of FWER corrections:

1. Single step : equivalent adjustments made to each

p-value

2. Sequential : adaptive adjustment made to each p-

value

Single Step Approach: Bonferroni

  • Very simple method for ensuring that the overall Type I

error rate of α is maintained when performing m

independent hypothesis tests

  • Rejects any hypothesis with p-value ≤ α/m:

!

p^ ˜ j

= min[ mp j

, 1 ]

  • For example, if we want to have an experiment wide Type I

error rate of 0.05 when we perform 10,000 hypothesis tests,

we’d need a p-value of 0.05/10000 = 5 x 10

  • to declare

significance

FWER: Sequential Adjustments

  • Simplest sequential method is Holm’s Method

 Order the unadjusted p- values such that p 1

≤ p 2

≤ … ≤ p m

 For control of the FWER at level α, the step-down Holm adjusted p-

values are

 The point here is that we don’t multiply every p i

by the same factor m

!

p^ ˜ j

= min[( m " j + 1 ) • p j

, 1 ]

p ˜ 1

= 10000 • p 1

, p ˜ 2

= 9999 • p 2

,..., p ˜ m

= 1 • p m

  • For example, when m = 1 0000:

Who Cares About Not Making ANY

Type I Errors?

  • FWER is appropriate when you want to guard against

ANY false positives

  • However, in many cases (particularly in genomics) we

can live with a certain number of false positives

  • In these cases, the more relevant quantity to control is

the false discovery rate (FDR)

FDR vs FPR

m-m m 0

m 0

V S R

Called

Significant

U T m - R

Not Called

Significant

True True Total

Null Alternative

FDR =

V

R

FPR =

V

m 0

Benjamini and Hochberg FDR

  • To control FDR at level δ:

p ( j ) " #

j

m

  1. Then find the test with the highest rank, j, for which the p

value, p j

, is less than or equal to (j/m) x δ

  1. Order the unadjusted p-values: p 1

≤ p 2

≤ … ≤ p m

  1. Declare the tests of rank 1 , 2, …, j as significant