Ask Your Question
2

Can the Fisher's exact test be vectorized and made neater in R?

asked 2023-07-16 18:16:28 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-07-16 18:30:01 +0000

lalupa gravatar image

No, Fisher's exact test cannot be vectorized as it requires calculating the probabilities of all possible outcomes given the observed data, which cannot be done efficiently in a vectorized manner. However, there are R packages such as "stats" and "exact2x2" that have functions to perform Fisher's exact test in a neat and efficient manner.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-16 18:16:28 +0000

Seen: 14 times

Last updated: Jul 16 '23