Fisher's Exact Test for beginners.

버전 1.0.0.0 (2.36 KB) 작성자: Guangdi Li
For beginners, who loves Fisher's Exact Test but hates the theory behind.
다운로드 수: 944
업데이트 날짜: 2010/1/28

라이선스 보기

A simple, fast and short code for beginners, who cares about Fisher's Exact Test, .
As a beginner, at least you need to know what we do with Fisher's Exact Test (see [1][2]). My function is simple,

Pvalue = FisherExactTest22(x,y)

Input: either 2*2 contigency table or two vectors,
Output: four p-values at, left tail , Right tail, 2-tails, and Mid-p correction for 2-tails .

Well, if you don't know anything about how to choose, as a beginner, I suggested you use 2-tails, that is : Pvalue(3)

Attention: if you have contigency table more complex to 2*2, refer to my another algorithm at :
http://www.mathworks.com/matlabcentral/fileexchange/24379-fishers-exact-test-with-n-x-m-contingency-table

Please start from "ControlCenter.m", two examples are there.
Let me know any question you have, I will try to response to you as soon as possible.

[1]http://mathworld.wolfram.com/FishersExactTest.html
[2]http://www.mathworks.com/matlabcentral/fileexchange/15434

인용 양식

Guangdi Li (2024). Fisher's Exact Test for beginners. (https://www.mathworks.com/matlabcentral/fileexchange/26499-fisher-s-exact-test-for-beginners), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0