So when using Fisher's exact to tabulate association between Race and Screening I got an error message saying "exceeded memory limits" when it gets to the final enumeration of 'sample-space combinations' and in the help it says to try using exact(2), which I did and got the same error message. Any ideas?
tab RaceEthnicityCoding ScreeningDone_Dummy, chi column exact(2)
+-------------------+
| Key |
|-------------------|
| frequency |
| column percentage |
+-------------------+
Enumerating sample-space combinations:
stage 7: enumerations = 1
stage 6: enumerations = 11
stage 5: enumerations = 321
stage 4: enumerations = 9730
stage 3: enumerations = 257651
stage 2: exceeding 1x10^6 enumerations
exceeded memory limits using exact(2); try again with larger #; see help tabulate for details
Race + |
Ethnicity | Screening Done_Dummy
Coding | 0 1 | Total
-----------+----------------------+----------
1 | 36 44 | 80
| 11.01 8.10 | 9.20
-----------+----------------------+----------
2 | 19 38 | 57
| 5.81 7.00 | 6.55
-----------+----------------------+----------
3 | 17 18 | 35
| 5.20 3.31 | 4.02
-----------+----------------------+----------
4 | 131 300 | 431
| 40.06 55.25 | 49.54
-----------+----------------------+----------
5 | 5 5 | 10
| 1.53 0.92 | 1.15
-----------+----------------------+----------
6 | 76 116 | 192
| 23.24 21.36 | 22.07
-----------+----------------------+----------
7 | 43 22 | 65
| 13.15 4.05 | 7.47
-----------+----------------------+----------
Total | 327 543 | 870
| 100.00 100.00 | 100.00
Pearson chi2(6) = 37.2129 Pr = 0.000
r(910);
tab RaceEthnicityCoding ScreeningDone_Dummy, chi column exact(2)
+-------------------+
| Key |
|-------------------|
| frequency |
| column percentage |
+-------------------+
Enumerating sample-space combinations:
stage 7: enumerations = 1
stage 6: enumerations = 11
stage 5: enumerations = 321
stage 4: enumerations = 9730
stage 3: enumerations = 257651
stage 2: exceeding 1x10^6 enumerations
exceeded memory limits using exact(2); try again with larger #; see help tabulate for details
Race + |
Ethnicity | Screening Done_Dummy
Coding | 0 1 | Total
-----------+----------------------+----------
1 | 36 44 | 80
| 11.01 8.10 | 9.20
-----------+----------------------+----------
2 | 19 38 | 57
| 5.81 7.00 | 6.55
-----------+----------------------+----------
3 | 17 18 | 35
| 5.20 3.31 | 4.02
-----------+----------------------+----------
4 | 131 300 | 431
| 40.06 55.25 | 49.54
-----------+----------------------+----------
5 | 5 5 | 10
| 1.53 0.92 | 1.15
-----------+----------------------+----------
6 | 76 116 | 192
| 23.24 21.36 | 22.07
-----------+----------------------+----------
7 | 43 22 | 65
| 13.15 4.05 | 7.47
-----------+----------------------+----------
Total | 327 543 | 870
| 100.00 100.00 | 100.00
Pearson chi2(6) = 37.2129 Pr = 0.000
r(910);
Comment