Ricardo Ovaldia <ovaldia at yahoo dot com> wrote:
> I get an error when I request cornfield CI in -tabodds-. This seems
> to be a bug. Can anyone please verify. Thank you.
>
> . tabodds vitb1p1 snp if case==1, or
>
> ---------------------------------------------------------------------------
> snp | Odds Ratio chi2 P>chi2
> [95% Conf. Interval]
> -------------+-------------------------------------------------------------
> CC | 1.000000 . .
> . .
> CT | 0.901799 0.26 0.6086
> 0.607030 1.339707
> TT | 0.663223 2.01 0.1564
> 0.374388 1.174892
> ---------------------------------------------------------------------------
> Test of homogeneity (equal odds): chi2(2) = 2.02
> Pr>chi2 = 0.3638
>
> Score test for trend of odds: chi2(1) = 1.79
> Pr>chi2 = 0.1811
>
> . tabodds vitb1p1 snp if case==1, or cornf
>
> --------------------------------------------------------------------------
> | odds
> Cornfield
> snp | cases controls ratio
> [95% Conf. Interval]
> ------------+-------------------------------------------------------------
> '.' found where integer expected
> r(7);
This also looks like a bug to me. I'll be looking into it and getting
it fixed. It will probably be in the next ado-file update.
--Jean Marie
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/