Fisher'S Exact Test And Odds Ratio
1
3
Entering edit mode
10.4 years ago
Diana ▴ 30

Hello everyone,

Im trying to perform Fisher's exact test in R. Im calculating odds ratio like this

(no.of successes in my set) X (no. of failures in background set) / (no.of successes in background set X no. of failures in my set)

In the denominator i get 0 for some cases because failures in my set are 0 for some cases.

Can anyone tell me how to calculate p-values from odds ratio? Also what does it mean if we say odds ratio should be greater or less than 1?if I want to test over-representation in my set against the background set what should be the odds ratio and how can I calculate that?

Many thanks.

test • 9.2k views
2
Entering edit mode

you are more likely to find an expert on the Statistics StackExchange: http://stats.stackexchange.com/

6
Entering edit mode
10.4 years ago
Neilfws 49k

Too many questions in one :)

The short answer: this issue has been discussed at Stats StackExchange; they recommend studying this PDF and using the associated R package, aylmer.

1
Entering edit mode

thanks, that PDF is very informative.

0
Entering edit mode

The PDF is not available via the provided link possibly due to removal of the aylmer package from cran. This link may point to the PDF in question. brentp, could you please confirm that this link points to the PDF in question? Thank you! :)