Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

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

From |
"Elizabeth Allred" <lizard@hsph.harvard.edu> |

To |
<statalist@hsphsun2.harvard.edu> |

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

Date |
Tue, 12 Jul 2011 15:37:58 -0400 |

Thanks Austin, For the table I showed, I get: scalars: r(N) = 861 r(r) = 2 r(c) = 2 r(p_exact) = 4.79750510923e-07 r(p1_exact) = 2.92991198169e-07 I'm interested in the two sided p so I did: ret li p_exact scalar r(p_exact) = 4.79750510923e-07 Unfortunately what I'm actually doing is around 3500 tables and I'd really like to scan the output and see: Fisher's exact = 0.00000 so I can quickly pick out tables with p < .00001. I really do want to change the display format! Liz On 7/12/2011 at 3:14 PM, in message <CAGkAVYKJM9AKAmObHFpa7Y1TajS+655otdAsUGhRvKSr6T3_+Q@mail.gmail.com>, Austin Nichols <austinnichols@gmail.com> wrote: > 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/ * * 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/

**Follow-Ups**:**Re: st: increase digits after decimal point in p value***From:*Austin Nichols <austinnichols@gmail.com>

**Re: st: increase digits after decimal point in p value***From:*Richard Goldstein <richgold@ix.netcom.com>

**References**:**st: increase digits after decimal point in p value***From:*"Elizabeth Allred" <lizard@hsph.harvard.edu>

**Re: st: increase digits after decimal point in p value***From:*Austin Nichols <austinnichols@gmail.com>

- Prev by Date:
**Re: st: increase digits after decimal point in p value** - Next by Date:
**Re: st: increase digits after decimal point in p value** - Previous by thread:
**Re: st: increase digits after decimal point in p value** - Next by thread:
**Re: st: increase digits after decimal point in p value** - Index(es):