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

RE: st: _tabi, exact_ gives obviously wrong P-value


From   "Steichen, Thomas J." <[email protected]>
To   <[email protected]>
Subject   RE: st: _tabi, exact_ gives obviously wrong P-value
Date   Wed, 22 Dec 2004 12:58:52 -0500

Marcello Pagano wrote:
 
> . tabi 27879 35177 29377 17201 \ 118 187 183 65, e chi2
> 
>            |                     col
>        row |         1          2          3          4 |     Total
> -----------+--------------------------------------------+----------
>          1 |    27,879     35,177     29,377     17,201 |   109,634
>          2 |       118        187        183         65 |       553
> -----------+--------------------------------------------+----------
>      Total |    27,997     35,364     29,560     17,266 |   110,187
> 
>           Pearson chi2(3) =  17.7073   Pr = 0.001
>            Fisher's exact =                 0.001
> 
> Hmmmm  It worked for me?

What version of tabi and Stata are you running, Marcello?

I get:

.. tabi 27879 35177 29377 17201 \ 118 187 183 65, e chi2

           |                     col
       row |         1          2          3          4 |     Total
-----------+--------------------------------------------+----------
         1 |    27,879     35,177     29,377     17,201 |   109,634 
         2 |       118        187        183         65 |       553 
-----------+--------------------------------------------+----------
     Total |    27,997     35,364     29,560     17,266 |   110,187 

          Pearson chi2(3) =  17.7073   Pr = 0.001
           Fisher's exact =                 1.000

.. which tabi
C:\Stata8\ado\updates\t\tabi.ado
*! version 2.0.5  13jul2004

Stata executable
    folder:               C:\Stata8\
    name of file:         wsestata.exe
    currently installed:  06 Oct 2004
Ado-file updates
    folder:               C:\Stata8\ado\updates\
    names of files:       (various)
    currently installed:  24 Nov 2004

Tom

-----------------------------------------
CONFIDENTIALITY NOTE:  This e-mail message, including any  attachment(s),
contains information that may be confidential,  protected by the attorney-
client or other legal privileges, and/or  proprietary non-public
information.  If you are not an intended  recipient of this message or an
authorized assistant to an intended  recipient, please notify the sender by
replying to this message and  then delete it from your system.  Use,
dissemination, distribution,  or reproduction of this message and/or any of
its attachments (if  any) by unintended recipients is not authorized and
may be unlawful.


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