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

st: _tabi, exact_ gives obviously wrong P-value


From   Tom Trikalinos <[email protected]>
To   [email protected]
Subject   st: _tabi, exact_ gives obviously wrong P-value
Date   Wed, 22 Dec 2004 18:38:52 +0200

Dear all,
Perhaps I miss something, but

. tabi 27879 35177 29377 17201 \ 118 187 183 65, e chi2
yields Fisher's exact = 1.000
Pearson's Chi2(3) =17.7, Pr =0.001

StatXact calculates the P-value as 0.0005
The command seems to work properly for smaller numbers or different table geometries.


PS.
1. I have a fully updated Intercooled STATA 8.2 (ado & executable) running on a fully updated Mac (Panther)
2. There is no _tabi_ command in my personal directory overriding the updated _tabi_
. which tabi
/Applications/Stata/ado/updates/t/tabi.ado
*! version 2.0.5 13jul2004
3. the same table as 4x2 gives the same numbers
4. the command exits with _rc 0 --> hence all's OK, right?
5. Probably there's no excuse for Fisher's exact in this table, but let's not stay there

Tom Trikalinos, MD

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