.- help for ^oddsrcii^ [STB-51: sbe30] .- . Confidence intervals for odds ratios (immediate) ------------------------------------------------ . ^oddsrcii^ a b c d [ , ^lev^el^(^#^)^ ^not^able ^tab^opt^(^tab_options^)^ ^none^ ^all^ ^ag^resti ^co^rnf ^ga^rt ^wo^olf ] . ^oddsrcii ?^ . . Description ----------- . ^oddsrcii^ accepts cell frequencies (^a^, ^b^, ^c^, ^d^) from a 2x2 table and computes the odds ratio and an associated confidence interval, using any of four differ- ent estimation methods. The @tabi@ command is used to create the table from the four cell frequencies. . The second syntax above displays a brief reminder of the first syntax. . . Options ------- . ^level(^#^)^ specifies the desired confidence level. May be fractional and may be specified as a percentage (97.5) or a proportion (.9633). . ^tabopt(^tab_options^)^ is used to pass options to the @tabi@ command. . ^notable^ suppresses all output from the @tabi@ command. . ^all, none^ choose among the following confidence intervals in the obvious way. . ^agresti^ produces the "endpoint-adjusted, independence smoothed" confidence in- terval recommended by Agresti (1999). [This is the default.] . ^cornf^ yields the Cornfield confidence interval, as computed by @cci@. . ^gart^ computes the Anscombe-Gart-Haldane confidence interval. . ^woolf^ requests the Woolf confidence interval (same as in @cci@). . . Note ---- . For details of the various odds ratio confidence interval methods, see: Agresti, A. (1999). On logit confidence intervals for the odds ratio with small samples. ^Biometrics^, 55, 597-602. . . Examples -------- . . ^oddsrcii 23 3 17 45, agresti gart tab(lr row col) ^ . ^oddsrcii 117 81 0 43, all notable level(97.5)^ . ^oddsrcii 117 81 0 43, none table(V exact)^ . . Author ------ John R. Gleason, Syracuse University, Syracuse NY, USA (loesljrg@@accucom.net) [This is Version 1.0.1 (01Aug1999).] . . Also see -------- . Manual: ^[R] epitab^ ^[R] tabulate^ On-line: help for @epitab@, @cci@, @tabi@, @oddsrci@