Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Bug in tabodds, cornfield


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Bug in tabodds, cornfield
Date   Tue, 4 Oct 2005 14:55:13 +0100

You need to say more about the data. Otherwise 
"This seems to be a bug" means nothing except 
"These results surprise me". 

Nick 
[email protected] 

Ricardo Ovaldia
 
> I get an error when I request cornfield CI in
> -tabodds-. This seems to be a bug. Can anyone please
> verify. Thank you.
> 
> Ricardo.
>  
> . 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);

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index