R exercise

The False Discovery Rate 1

Sign in to hand in your solution and get feedback.

fund.pvalues <- rep(0, 2000) for (i in 1:2000) fund.pvalues[i] <- t.test(Fund[, i], mu = 0)$p.value q.values.BH <- p.adjust(fund.pvalues, method = "BH") rejections <-