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

Re: st: Taboods


From   rgutierrez@stata.com (Roberto G. Gutierrez, StataCorp.)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Taboods
Date   Mon, 17 Jun 2002 11:07:43 -0500

Jean Bouyer <Bouyer@vjf.inserm.fr> asks:

> Is there a (new?) problem with tabodds ?  It looks like the option base(#)
> selects the category of expvar with range # instead of the category with
> value #.

> Here is an example of what I obtain :

> . tabodds ct agec6,or base(2)

> ---------------------------------------------------------------------------
>         agec6 |  Odds Ratio       chi2       P>chi2     [95% Conf. Interval]
> -------------+-------------------------------------------------------------
>             0 |    1.469206       1.58       0.2082      0.804054   2.684604
>             1 |    1.000000          .           .              .          .
>             2 |    1.016810       0.02       0.8907      0.801593   1.289810

[etc.]

One possibility is that the "1" in the "agec6" is not the value of the -agec6-
variable, but a value label instead, and that the actual value of -agec6- is
2, but is labeled as a 1.

If, after checking for this, you are still exhibiting weird behavior let 
me know and I can take a closer look.

--Bobby
rgutierrez@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/



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