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

st: Taboods


From   Jean Bouyer <Bouyer@vjf.inserm.fr>
To   statalist@hsphsun2.harvard.edu
Subject   st: Taboods
Date   Mon, 17 Jun 2002 09:28:42 +0100

Hi,

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
3 | 1.613362 15.26 0.0001 1.266239 2.055644
4 | 2.474453 40.25 0.0000 1.852346 3.305493
5 | 7.670803 66.73 0.0000 4.304008 13.671262
---------------------------------------------------------------------------
Test of homogeneity (equal odds): chi2(5) = 125.24
Pr>chi2 = 0.0000

Score test for trend of odds: chi2(1) = 92.99
Pr>chi2 = 0.0000


Thanks



---------------------------------------------------------------------- --------------
Jean BOUYER
INSERM U 569, HOPITAL DE BICETRE, 82 RUE DU GENERAL LECLERC
94276 LE KREMLIN-BICETRE CEDEX - FRANCE
---------------------------------------------------------------------- ---------------
*
* 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