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

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


From   "Bader, Giovanni" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   R: st: _tabi, exact_ gives obviously wrong P-value
Date   Thu, 23 Dec 2004 02:21:55 -0500

my results on Pentium 3 and Win2000 machine:

Stata executable
    folder:               C:\Stata8\
    name of file:         wsestata.exe
    currently installed:  17 Dec 2004

Ado-file updates
    folder:               C:\Stata8\ado\updates\
    names of files:       (various)
    currently installed:  20 Dec 2004


. 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



best

giovanni

Giovanni Bader MD, PhD
Outcome Research, Pfizer Italia Srl
mobile: +393357693404 


-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]]Per conto di Elizabeth
Allred
Inviato: mercoled� 22 dicembre 2004 20.00
A: [email protected]
Oggetto: RE: st: _tabi, exact_ gives obviously wrong P-value


More fuel for the fire... As you can see, I'm lazy. BUT, I have the
newer version of tabi (Marcello has the older one) but an older Stata
executable than Tom. My combination gives the right answer.

Liz

.  update

Stata executable
    folder:               C:\Stata8\
    name of file:         wsestata.exe
    currently installed:  23 Jul 2004

Ado-file updates
    folder:               C:\Stata8\ado\updates\
    names of files:       (various)
    currently installed:  20 Aug 2004

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

. 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



> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Marcello Pagano
> Sent: Wednesday, December 22, 2004 1:39 PM
> To: [email protected]
> Subject: Re: st: _tabi, exact_ gives obviously wrong P-value
> 
> 
> Another example of "old is good" -- I see more and more
> of these as I get older!!
> 
> The tabi I have on this machine:
> 
> . which tabi
> C:\Stata8\ado\base\t\tabi.ado
> *! version 2.0.4  26apr1999
> 
> m.p.
> 
> Steichen, Thomas J. wrote:
> 
> >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
> >  
> >
> *
> *   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/
> 


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.809 / Virus Database: 551 - Release Date: 09/12/2004
 

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