查看“︁置换检验”︁的源代码
←
置换检验
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
[[File:Permutation_test_example_animation.gif|thumb|300px|在两个样本容量分别为4与5的样本之间进行置换检验的说明图。此处置换检验的检验统计量为两样本间平均数之差<math>\hat{\mu}_1-\hat{\mu}_2</math>。置换检验中,首先将两个样本混合打乱后,再分别抽出4个数与5个数,重新计算平均数之差,之后再计算出有多少次置换中得到的新样本间平均数之差大于置换前两样本间平均数之差(图中的纵向黑线即表示置换前两样本间平均数之差)]] '''置换检验'''({{lang|en|permutation test}})是[[统计学]]上一种基于[[反证法]]、[[重抽样]]原则的[[非参数统计|非参数性检验]],由[[罗纳德·艾尔默·费希尔]]({{lang|en|Ronald Aylmer Fisher}})与{{le|E・J・G・皮特曼|E. J. G. Pitman}}({{lang|en|E. J. G. Pitman}})于20世纪30年代最早提出<ref name="Boik 1987 pp. 26–42">{{cite journal | last=Boik | first=Robert J. | title=The Fisher-Pitman permutation test: A non-robust alternative to the normal theory F test when variances are heterogeneous | journal=British Journal of Mathematical and Statistical Psychology | publisher=Wiley | volume=40 | issue=1 | year=1987 | issn=0007-1102 | doi=10.1111/j.2044-8317.1987.tb00865.x | pages=26–42}}</ref>。 置换检验的[[零假设]](虚无假设)为<math>H_0: F=G</math>,即所有样本都服从同一分布。置换检验通过对比样本置换后的检验统计量与置换前的检验统计量来决定是否拒绝零假设<math>H_0: F=G</math>、接受[[备择假设]]<math>H_1</math>。 ==方法== 进行置换检验前,首先计算两样本([[样本量|样本容量]]设为<math>n_{A}</math>、<math>n_{B}</math>)之间原本的检验统计量。检验统计量可以是两样本间平均数之差、方差之差,或[[t检验|t值]]、[[卡方检验]]中的<math>\chi^2</math>值等,但这一统计量原则上在重新抽样后应大致符合某一统计学分布(如正态分布、t分布、f分布等)<ref name = Hogg2015>{{cite book|author1 = Robert V. Hogg|author2 = Elliot A. Tanis | author3 = Dale L. Zimmereman|title= Probability and Statistical Inference | edition = Ninth Edition (International) | year = 2015 | publisher= Pearson | ISBN = 978-1-292-06235-8}}</ref>{{rp|355-360}}。随后,将两个样本打乱后再重新选出两组容量等于之前两样本的新样本(即两个样本容量同样为<math>n_{A}</math>、<math>n_{B}</math>的样本)并计算新的检验统计量。如接受零假设<math>H_0: F=G</math>,即样本源于同一分布,则随机抽样计算出的新检验统计量应不难大于最初置换前算出的两样本间检验统计量(如为双侧检验,则是其绝对值应不难大于置换前算出的两样本间检验统计量),即这个概率应大于设定的[[型一错误与型二错误|I型错误]](假阳性)概率<math>\alpha</math>。反之,则拒绝[[零假设]]<math>H_0: F=G</math>,接受[[备择假设]]<math>H_1</math>,即样本来自不同的分布。实际计算时,当两个样本容量都很大时,穷举所有置换并计算新的检验统计量所需的计算量过于庞大,因此常采用蒙特卡罗模拟的办法进行置换检验。蒙特卡罗模拟中,只做一定次数的打乱重选(置换)并计算检验统计量,再用这些计算出的检验统计量与置换前原本的检验统计量进行对比<ref>{{cite web|url=https://ordination.okstate.edu/permute.htm|title=Randomization Tests|website=Oklahoma State University|series=Ordination Methods for Ecologists|accessdate=2022-12-04|archive-date=2023-06-08|archive-url=https://web.archive.org/web/20230608022615/http://ordination.okstate.edu/permute.htm|dead-url=no}}</ref><ref name="Wilcox 2003 pp. 237–284">{{cite book | last=Wilcox | first=Rand R. | title=Applying Contemporary Statistical Techniques | chapter=COMPARING TWO INDEPENDENT GROUPS | publisher=Elsevier | year=2003 | doi=10.1016/b978-012751541-0/50029-8 | pages=237–284}}</ref>。 ==优势与不足== 置换检验能用于两个分布不明且都不符合正态分布的样本之间的统计检验,是对较常用的t检验、[[方差分析]](ANOVA)等参数检验的一个补充<ref>{{cite journal |last1=Collingridge |first1=Dave S. |title=A Primer on Quantitized Data Analysis and Permutation Testing |journal=Journal of Mixed Methods Research |date=11 September 2012 |volume=7 |issue=1 |pages=81–97 |doi=10.1177/1558689812454457|s2cid=124618343 }}</ref>。即使实验是非均衡设计(即样本容量不同),依然能够对样本进行置换检验<ref>{{cite journal |date=Fall 2011 |title=Invited Articles |url=http://tbf.coe.wayne.edu/jmasm/vol1_no2.pdf |journal=[[Journal of Modern Applied Statistical Methods]] |volume=1 |issue=2 |pages=202–522 |archive-url=https://web.archive.org/web/20030505044125/http://tbf.coe.wayne.edu/jmasm/vol1_no2.pdf |archive-date=May 5, 2003}}</ref>。 另一方面,和其他基于秩的非参数检验相似,置换检验是一种相对保守的检验。如果对两个差别较小的小样本进行置换检验,则很容易接受零假设、拒绝备择假设(即[[检验功效]]相对较低)<ref name="Allison Page Beasley Edwards 2005 p. 261">{{cite book | last=Allison | first=D.B. | last2=Page | first2=G.P. | last3=Beasley | first3=T.M. | last4=Edwards | first4=J.W. | title=DNA Microarrays and Related Genomics Techniques: Design, Analysis, and Interpretation of Experiments | publisher=CRC Press | series=Chapman & Hall/CRC Biostatistics Series | year=2005 | isbn=978-1-4200-2879-9 | url=https://books.google.com/books?id=TUrMBQAAQBAJ&pg=PA261 | access-date=2022-12-07 | page=261 | archive-date=2022-12-07 | archive-url=https://web.archive.org/web/20221207103833/https://books.google.com/books?id=TUrMBQAAQBAJ&pg=PA261 | dead-url=no }}</ref><ref name="Berger 2000 pp. 1319–1328">{{cite journal | last=Berger | first=Vance W. | title=Pros and cons of permutation tests in clinical trials | journal=Statistics in Medicine | publisher=Wiley | volume=19 | issue=10 | date=2000-05-30 | issn=0277-6715 | doi=10.1002/(sici)1097-0258(20000530)19:10<1319::aid-sim490>3.0.co;2-0 | pages=1319–1328}}</ref>。 ==参见== *[[非参数检验]] *{{le|置换方差分析|Permutational analysis of variance}} ==参考文献== {{reflist}} [[Category:统计检验]] [[Category:非参数统计]]
该页面使用的模板:
Template:Cite book
(
查看源代码
)
Template:Cite journal
(
查看源代码
)
Template:Cite web
(
查看源代码
)
Template:Lang
(
查看源代码
)
Template:Le
(
查看源代码
)
Template:Reflist
(
查看源代码
)
Template:Rp
(
查看源代码
)
返回
置换检验
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息