Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to obtain ultra-precision in calculating p-values in Stata?

    Dear Statalisters,

    What would be your suggestion to compute p-values as low as 1e-25?

    For example:

    One-sided test

    gene double p = 1-normal(10.42045)

    All the best,

    Tiago




  • #2
    . display in smcl as text %10.0g normal(-10.42045)
    1.000e-25

    .


    I think that there's a FAQ on this somewhere, years ago from Bill Gould.

    Comment


    • #3
      Brilliant, Joseph! As always, thank you so much for your help and tips.
      All the best,
      Tiago

      Comment

      Working...
      X