I'm working on a case-control study and I'm using VassarStats (http://vassarstats.net/odds2x2.html) to estimate the OR, 95% CI, and to perform the two-tailed Fisher's exact test. The problem is that, in some cases, I have a class of value zero. I know we can add 0.5 to each class to estimate the odds ratio and CI in these cases (I have an excel sheet with the formulas to calculate it "manually"). The problem then is that I believe there's no way to perform Fisher's exact test with non-integers. At least VassarStats (and many other tools I looked up) doesn't allow it. I believe that's because there's no point in doing this since Fisher's exact test is supposed to compare observations of some groups and you can't have half an observation. However, I believe I need to have a P value for the same values I used to estimate the OR, and I can't estimate the OR if I have a class of value zero.

I understand that if a class, let's say a genotype, is rare in both my samples (cases and controls), there's no need of estimating the OR. However, if I have a genotype that is frequent among cases and rare (even zero) among controls that may be extremely interesting! So, what do you suggest to estimate both OR (with 95% CI) and P values for this situation?

I send a numerical example just for the sake of clarity:

cases: 228 (reference genotype); 0 (test genotype)

controls: 148 (reference genotype); 4 (test genotype).

[One alternative I thought of was adding 1 to each class instead of 0.5, but I don't believe that solution is adequate, since it's a relevant change in the values]

More Liana Oliveira's questions See All
Similar questions and discussions