Hi All,
I conducted a small CC study for a nosocomial food-borne outbreak. The results are:
This gives an undefined upper 95% ci and lower 85% ci of 3.4. This is fine but left me curious since I am used to the "traditional way" of calculating the 95% Ci using:
95% CI = eln(OR) +-1.96√(1/a + 1/b + 1/c + 1/d)
However, both the upper and lower 95% Ci are undefined since the OR is undefined.
While I am okay with Stata output and generally understand the interpretation, I was curious at how it was able to define the lower Ci so i ventured down the epitab to find the cornfield method and popped it into the wolfram app and calculated the lower Ci to be 1.8 (link at the end of post).
This made me uneasy since stating "the cornfield" method might not be reproducible for many...atleast, it was not for me...
So I wanted to find a way of calculating 95% Ci using the "traditional method" and found that the Haldane-Anscombe adjustment of adding fixed effects (usually 0.5) deals with this robustly and crucially for me, allows the OR to be calculated in the traditional way. Stata's immediate calculator rejects non-integer values and so comparing the Cornfield vs Haldane-Ansocme adjustment become a bit more laborious than expected. i could add a fixed effect of 1 but this may cause a larger bias towards the null (already a criticism of the adjustment.
For interest sake, this results:
Anyway, my supervisors don't seem to have a clear idea on how they would deal with this so I decided to invite the forum's inputs.
So, what would you do?
Cheers
Brian
PS advice like "you should have sample exposed controls" is not particularly helpful at this point.
Links to wolfram app
Wolfram calculation of lower 95% Ci using Cornfield method
https://www.wolframalpha.com/input?i...5D%5D+%3D0.025
*this calculation does not give the same estimate as stata. This is still under investigation.
Wolfram calculation of upper 95% Ci using Cornfield method
https://www.wolframalpha.com/input?i...%5D+%3D1-0.025
Wolfram calculation of lower 95% Ci using traditional method
https://www.wolframalpha.com/input?i...%5C%2841%29%5D
Wolfram calculation of upper 95% Ci using Cornfield method
https://www.wolframalpha.com/input?i...%5C%2841%29%5D
I conducted a small CC study for a nosocomial food-borne outbreak. The results are:
Code:
cci 6 2 0 7, exact Proportion | Exposed Unexposed | Total exposed -----------------+------------------------+------------------------ Cases | 6 2 | 8 0.7500 Controls | 0 7 | 7 0.0000 -----------------+------------------------+------------------------ Total | 6 9 | 15 0.4000 | | | Point estimate | [95% conf. interval] |------------------------+------------------------ Odds ratio | . | 3.436748 . (Cornfield) Attr. frac. ex. | 1 | .7090272 . (Cornfield) Attr. frac. pop | .75 | +------------------------------------------------- 1-sided Fisher's exact P = 0.0056 2-sided Fisher's exact P = 0.0070
95% CI = eln(OR) +-1.96√(1/a + 1/b + 1/c + 1/d)
However, both the upper and lower 95% Ci are undefined since the OR is undefined.
While I am okay with Stata output and generally understand the interpretation, I was curious at how it was able to define the lower Ci so i ventured down the epitab to find the cornfield method and popped it into the wolfram app and calculated the lower Ci to be 1.8 (link at the end of post).
This made me uneasy since stating "the cornfield" method might not be reproducible for many...atleast, it was not for me...
So I wanted to find a way of calculating 95% Ci using the "traditional method" and found that the Haldane-Anscombe adjustment of adding fixed effects (usually 0.5) deals with this robustly and crucially for me, allows the OR to be calculated in the traditional way. Stata's immediate calculator rejects non-integer values and so comparing the Cornfield vs Haldane-Ansocme adjustment become a bit more laborious than expected. i could add a fixed effect of 1 but this may cause a larger bias towards the null (already a criticism of the adjustment.
Code:
cci 6.5 2.5 0.5 7.5, exact '6.5' found where integer expected
Total | |||
Exposed | Unexposed | ||
Cases | 6.5 | 2.5 | 9 |
Control | 0.5 | 7.5 | 8 |
Total | 7 | 10 | 17 |
OR | Point estimate | 95% Ci lower | 95% Ci upper |
39.00 | 1.57 | 969.24 | |
p- value | 0.0254 |
So, what would you do?
Cheers
Brian
PS advice like "you should have sample exposed controls" is not particularly helpful at this point.
Links to wolfram app
Wolfram calculation of lower 95% Ci using Cornfield method
https://www.wolframalpha.com/input?i...5D%5D+%3D0.025
*this calculation does not give the same estimate as stata. This is still under investigation.
Wolfram calculation of upper 95% Ci using Cornfield method
https://www.wolframalpha.com/input?i...%5D+%3D1-0.025
Wolfram calculation of lower 95% Ci using traditional method
https://www.wolframalpha.com/input?i...%5C%2841%29%5D
Wolfram calculation of upper 95% Ci using Cornfield method
https://www.wolframalpha.com/input?i...%5C%2841%29%5D
Comment