Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: increase digits after decimal point in p value


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: increase digits after decimal point in p value
Date   Tue, 12 Jul 2011 15:14:15 -0400

Elizabeth Allred <lizard@hsph.harvard.edu> :

sysuse auto, clear
ta rep78 for, exact
ret li



On Tue, Jul 12, 2011 at 3:08 PM, Elizabeth Allred
<lizard@hsph.harvard.edu> wrote:
> I need to see 5 digits after the decimal point for the Fisher's exact test in a tabulate request. It only shows digits.
>
> tab x y, exact
>
>                          y
>         x |         0          1 |     Total
> -----------+----------------------+----------
>         0 |       512        133 |       645
>         1 |       133         83 |       216
> -----------+----------------------+----------
>     Total |       645        216 |       861
>
>           Fisher's exact =                 0.000
>   1-sided Fisher's exact =                 0.000
>
> Tabulate is a "built-in" command so I can't go in and change the display format.
>
> How can I get what I need??

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index