I tried to run a fisher's test, as I have some cells with less than 5 counts, but my sample size is 6,000. As a result, the time to run the code is taking long.
Is there another test I could use or should I just wait it out?
Can you share the code that you are currently running? There are multiple procedures that use Fisher's test so we really need to know which one you are using.
It's always a good idea, highly recommended, to read the documentation which says:
Note: PROC FREQ computes exact tests by using fast and efficient algorithms that are superior to direct enumeration. Exact tests are appropriate when a data set is small, sparse, skewed, or heavily tied. For some large problems, computation of exact tests might require a substantial amount of time and memory. Consider using asymptotic tests for such problems. Alternatively, when asymptotic methods might not be sufficient for such large problems, consider using Monte Carlo estimation of exact p-values. You can request Monte Carlo estimation by specifying the MCcomputation-option in the EXACT statement. See the section Computational Resources for more information.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9. Sign up by Dec. 31 to get the 2024 rate of just $495. Register now!