FDR校正.doc_第1页
FDR校正.doc_第2页
FDR校正.doc_第3页
FDR校正.doc_第4页
FDR校正.doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

根据Benjamini在他的文章中所证明的定理,控制fdr的步骤实际上非常简单。设总共有m个候选基因,每个基因对应的p值从小到大排列分别是p(1),p(2),.,p(m),则若想控制fdr不能超过q,则只需找到最大的正整数i,使得 p(i) p p1 3e-04 1e-04 2e-02 p.adjust(p,method=fdr,length(p)1 0.00045 0.00030 0.02000 p*length(p)/rank(p)1 0.00045 0.00030 0.02000 length(p)1 3 rank(p)1 2 1 3sort(p)1 1e-04 3e-04 2e-021) P-value 是 (在H0 = true的情况下)得到和试验数据一样极端(或更极端)的统计量的概率. 它不是H1发生的概率. 假定吃苹果的一组和不吃苹果的一组的差异为D, P-value=0.2的意思是, pure randomly (即H0=true)的情况下, 观察到和D一样或比D更大的差异的概率是20%.2) p-value 的本质是控制PFR (false positive rate), hypothesis test 的目的是make decision. 传统上把小概率事件的概率定义为0.05或0.01, 但不总是这样. 主要根据研究目的. 在一次试验中(注意:是一次试验, 即single test), 0.05 或0.01的cutoff足够严格了(想象一下, 一个口袋有100个球, 95个白的, 5个红的, 只让你摸一次, 你能摸到红的可能性是多大?). 我刚才强调的是single test, 在multiple test中, 通常不用p-value, 而采用更加严格的q-value. 与p-value 不同, q-value 控制的是FDR (false discovery rate).3)举个例子.假如有一种诊断艾滋病的试剂, 试验验证其准确性为99%(每100次诊断就有一次false positive). 对于一个被检测的人(single test) 来说, 这种准确性够了. 但对于医院 (multiple test) 来说, 这种准确性远远不够, 因为每诊断10 000个个体, 就会有100个人被误诊为艾滋病.4)总之, 如果你很care false positive, p-value cutoff 就要很低. 如果你很care false negative (就是宁可错杀一千, 也不能漏掉一个 情况), p-value 可以适当放松到 0.1, 0.2 都是可以的.*Multiple testing的问题最近越来越火了:)其实我一直有一个问题,从Benjamini开始,现在FDR的控制方法不下10种,为什么Storey的是最流行的?实际应用起来除了Benjamini的方法,其它所有的方法基本上都是一样的。q-value究竟是如何脱颖而出的呢?q-value 是随着multipel test 而产生的. 在multiple test (比如10000次), 如果用p-value=0.05去cut. 如果有1000次是显著的, 那么在这1000中, 有10000*0.05=500次是 False positive. 这显然不能接受. 太宽松了.Bonferroni提出FWER, 在上面的例子中, 就是把cutoff 设为: 0.05/10000 = 0.000005, 这虽然能控制False Positive, 但这只在极少数情况下有用. 因为太严格了, 大量的true alternatives 被miss掉了q-vlaue 实际上是上述两种方法的折衷. 既能控制FP, 有不会miss掉太多的true alternatives.For details see Storeys paper published ON PNAS (2003).*赞同:)不过我的问题并不是关于FWER,而是关于FDR的控制。Benjamini and Hochberg在1995年第一次提出了FDR的概念,其出发点就是基于Bonferroni的保守性,并给出了控制FDR的方法(这算是FDR控制方 法的祖师爷了)。不过他们的方法也有其保守性。所以随后人们开始研究更加powerful的方法,现有的方法有Storey的, Broberg的,Dalmasso的,Guan的,Strimmer的等等等等。Benjamini的方法是将FDR控制在一个level以下,而之后 所有的方法都在试图精确地估计FDR。所以后来的这些方法都要powerful一些。不过他们所付出的代价就是robustness。现有FDR控制方法最大的弊端在于,他们假设p-values under the null hypothesis是(1)independent(2)following uniform (0,1) distribution. 这两点假设从实际观察到的数据来看经常是不合理的,尤其是第二点。(顺便提一句,Storey和Leek在07年的PLOS Genetics发表了一篇文章专门解决第二个假设的合理性问题,很牛,有兴趣可以看一下)我现在的问题是:Storey的方法没有比后来出现的其它方法更精确,在robustness方面也没有体现其优越性。它究竟是怎么获胜的?为什么它是最流行的FDR control procedure?From: /cn/topic/13846Bonferroni校正如果在同一数据集上同时检验n个独立的假设,那么用于每一假设的统计显著水平,应为仅检验一个 假设时的显著水平的1/n。举个例子:如要在同一数据集上检验两个独立的假设,显著水平设为常见的0.05。此时用于检验该两个假设应使用更严格的 0.025。即0.05* (1/2)。该方法是由Carlo Emilio Bonferroni发展的,因此称Bonferroni校正。 这样做的理由是基于这样一个事实:在同一数据集上进行多个假设的检验,每20个假设中就有一个可能纯粹由于概率,而达到0.05的显著水平。 维基百科原文:Bonferroni correction Bonferroni correction states that if an experimenter is testing n independent hypotheses on a set of data, then the statistical significance level that should be used for each hypothesis separately is 1/n times what it would be if only one hypothesis were tested. For example, to test two independent hypotheses on the same data at 0.05 significance level, instead of using a p value threshold of 0.05, one would use a stricter threshold of 0.025. The Bonferroni correction is a safeguard against multiple tests of statistical significance on the same data, where 1 out of every 20 hypothesis-tests will appear to be significant at the = 0.05 level purely due to chance. It was developed by Carlo Emilio Bonferroni. A less restrictive criterion is the rough false discovery rate giving (3/4)0.05 = 0.0375 for n = 2 and (21/40)0.05 = 0.02625 for n = 20. 数据分析中常碰见多重检验问题(multiple testing).Benjamini于1995年提出一种方法,通过控制FDR(False Discovery Rate)来决定P值的域值. 假设你挑选了R个差异表达的基因,其中有S个是真正有差异表达的,另外有V个其实是没有差异表达的,是假阳性的.实践中希望错误比例Q=V/R平均而言不 能超过某个预先设定的值(比如0.05),在统计学上,这也就等价于控制FDR不能超过5%. 根据Benjamini在他的文章中所证明的定理,控制fdr的步骤实际上非常简单。 设总共有m个候选基因,每个基因对应的p值从小到大排列分别是 p(1),p(2),.,p(m),则若想控制fdr不能超过q,则只需找到最大的正整数i,使得 p(i)= (i*q)/m.然后,挑选对应p(1),p(2),.,p(i)的基因做为差异表达基因,这样就能从统计学上保证fdr不超过q。 The False Discovery Rate (FDR) of a set of predictions is the expected percent of false predictions in the set of predictions. For example if the algorithm returns 100 genes with a false discovery rate of .3 then we should expect 70 of them to be correct. The FDR is very different from a p-value, and as such a much higher FDR can be tolerated than with a p-value. In the example above a set of 100 predictions of which 70 are correct might be very useful, especially if there are thousands of genes on the array most of which are not differentially expressed. In contrast p-value of .3 is generally unacceptabe in any circumstance. Meanwhile an FDR of as high as .5 or even higher might be quite meaningful. FDR错误控制法是Benjamini于1995年提出一种方法,通过控制FDR(False Discovery Rate)来决定P值的域值. 假设你挑选了R个差异表达的基因,其中有S个是真正有差异表达的,另外有V个其实是没有差异表达的,是假阳性的。实践中希望错误比例Q=V/R平均而言不 能超过某个预先设定的值(比如0.05),在统计学上,这也就等价于控制FDR不能超过5%. 对所有候选基因的p值进行从小到大排序,则若想控制fdr不能超过q,则只需找到最大的正整数 i,使得 p(i)= (i*q)/m.然后,挑选对应p(1),p(2),.,p(i)的基因做为差异表达基因,这样就能从统计学上保证fdr不超过q。因此,FDR的计 算公式如下: q-value(i)=p(i)*length(p)/rank(p) 参考文献:1.Audic, S. and J. M. Claverie (1997). The significance of digital gene expression profiles. Genome Res 7(10): 986-95. 2.Benjamini, Y. and D. Yekutieli (2001). The control of the false discovery rate in multiple testing under dependency. The Annals of Statistics. 29: 1165-1188.=FDR的目标是控制错误发现率(假激活体素/报告的激活体素)低于一定值。比如说FDR控制Q0.05,就意味着在这种校正之后,你每报告100个激活体素,其中只有5个是假阳性。为了达到FDR的目标,就需要基于你报告的所有体素的P值数据,去计算一个P的阈值,当P小于这个阈值的时候,可以认为错误发现率将小于给定的Q(如0.05)。寻找的P阈值的算法是先对所有P进行排序,然后寻找第一个满足某种条件的P1.为社么要校正The multiple comparison problemThe multiple comparison problem potentially arises whenever you would like to test multiple hypotheses simultaneously.If you dont correct for the number of comparisons, then the more hypotheses you test, the higher the probability of obtaining at least one false positive.Since imaging statistics often involve many thousands of simultaneous tests (typically one in each voxel in the brain), its important to correct for the number of comparisons properly.Just to be a little more concrete, consider a brain with 10,000 voxels.If we used a statistical test with a univariate false positive rate of 0.05, then we would expectto see 500 false positives in a functional brain map containing no genuine effect.Usually, that rate of spurious activation is unacceptable.Even worse, spatial smoothing can make it appear that the spurious activation forms coherent,highly plausible blobs.You can verify this easily with resting BOLD data.2.FWER校正做了什么The goal of correction, loosely speaking, is to meet community standards for statistical significance.At the moment, the prevailing standard is that reported results should come from a test with afamily-wise error rate (FWER) of 0.05. The family, in this case, is the entire set of tests in a singlebrain map,so this is sometimes called the map-wise false positive rate. Basically, this means that if itturns out that your manipulation has no effect whatsoever, anywhere in the brain(imagine the projector wasnt working), the probability of seeing so much asa single voxel above statistical threshold should be 0.05. There is obviously an arbitrary elementto this, and its open to debate how quickly research would progress if this standard were adjusted.At least one of the approaches noted below (false discovery rate control, or FDR) suggests an alternativestandard that does not meet this criterion, but could be viewed as preferable.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most conservative approach to correction, often used in behavioral and other types of non-imaging research. To correct, you simply re-calculate your threshold to correspond to your desired map-wise alpha criterion divided by your total number of comparisons (in this case voxels). So if you have 10 voxels, you should only count as statistically significant results that are independently associated with a p value below 0.005. For a given voxel, your probability of a spurious result is tiny (and your threshold is often painfully high). However, youre guaranteed that the probability of seeing so much as a single supra-threshold voxel in the absence of an experimental effect will be at most 0.05. By the prevailing standards of the community, you can report all of the voxels surviving this threshold as statistically significant.Bonferroni correction offers provably adequate control over the false positive rate (given the validity of the univariate statistical test). But it is overly conservative in general, more so when the number of independent observations is much smaller than the nominal number of observations. This is often the case in imaging, where spatial smoothness (intrinsic and extrinsic) usually means many fewer observations than voxels.3.Boferroni校正(行为实验中很常用)Bonferroni correction is the simplest and most c

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论