analysis:stat:fisherexacttest
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
analysis:stat:fisherexacttest [2014/12/15 18:10] – igorkagan | analysis:stat:fisherexacttest [2014/12/16 11:15] – igorkagan | ||
---|---|---|---|
Line 8: | Line 8: | ||
<code matlab> | <code matlab> | ||
- | % Fisher' | + | %% Fisher' |
Ns1 = 10; % status 1 (e.g. control) | Ns1 = 10; % status 1 (e.g. control) | ||
Ns2 = 10; % status 2 (e.g. stimulation) | Ns2 = 10; % status 2 (e.g. stimulation) | ||
- | status1_prop = 8/2; % outcome 1 / outcome 2 | + | status1_prop = 8/ |
- | status2_prop = 1/9; % outcome 1 / outcome 2 | + | status2_prop = 1/ |
y1 = zeros(1, | y1 = zeros(1, | ||
- | y2 = ones(1, | + | y2 = ones(1, |
x1 = [zeros(1, | x1 = [zeros(1, |
analysis/stat/fisherexacttest.txt · Last modified: 2022/12/29 07:15 by 127.0.0.1