How can one calculate 95% CI of OR using output of margins command? For example in the margins output below-
------------------------------------------------------------------------------
| Delta-method
| Margin Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_at#var |
1 0 | .3653013 .0049853 73.28 0.000 .3555303 .3750724
1 1 | .409233 .017422 23.49 0.000 .3750866 .4433794
2 0 | .3928284 .0064312 61.08 0.000 .3802235 .4054332
2 1 | .5142021 .023704 21.69 0.000 .4677432 .5606611
------------------------------------------------------------------------------
The OR for 2 0 vs 1 0 would be .3928284/.3653013 but how can we calculate the corresponding 95% CI of this OR?
------------------------------------------------------------------------------
| Delta-method
| Margin Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_at#var |
1 0 | .3653013 .0049853 73.28 0.000 .3555303 .3750724
1 1 | .409233 .017422 23.49 0.000 .3750866 .4433794
2 0 | .3928284 .0064312 61.08 0.000 .3802235 .4054332
2 1 | .5142021 .023704 21.69 0.000 .4677432 .5606611
------------------------------------------------------------------------------
The OR for 2 0 vs 1 0 would be .3928284/.3653013 but how can we calculate the corresponding 95% CI of this OR?
Comment