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

Re: st: Bug in tabodds, cornfield


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Bug in tabodds, cornfield
Date   Thu, 6 Oct 2005 06:46:38 -0700 (PDT)

This bug has been fixed in the now available new
ado-file update.

Thank you Stata corp. for the quick fix.

Regards,
Ricardo.


> 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
> jlinhart@stata.com
> *
> *   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/
> 


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index