大样本计数资料--Karl Pearson’s chi-square test
小样本计数资料--R.A. Fisher’s exact test
四格表:
Var.1
--------------
a b r1=a+b
Var.2
c d r2=c+d
--------------
c1=a+c c2=b+d n=c1+c2
阈值:每一个matrix的格子的资料量在 5 以上就可以使用chi-square test,反之用Fisher's exact test;
Fisher's exact test不需要假设资料满足什么分布。
When To Use Fisher’s Exact Test
統計方法應用---Fisher’s Exact Test 應數博黃士峰
Calling on Matlab the function Fisherextest