Announcement

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

  • How to output publishable p-value in graphs, esp. metan command, STATA 13.1

    Hi,

    I am currently using the metan command to present results of genetic associations studies. As it happens in this kind of analyses, I get a lot of very small p-values. Is there then any way to output 'publishable' p-values with STATA, e.g. 3.30 x 10-40 (with '-40' in superscript)? I assume this question is also valid for different graphs.

    Thanks very much for your answer
    Kind regards
    Julien

  • #2
    Is this a question about how to convert 3.3e-40 to 3.30 x 10-40 or a question about superscript in a graph? I can answer the latter.
    Code:
    sysuse auto
    scatter mpg weight, text(35 4000 "3.30 x 10{super}-40")

    Comment


    • #3
      Dear Friedrich,
      Thanks for your answer. Unfortunatly I'm seeking a way to answer your former question, i.e. how to convert 3.3e-40 to 3.30 x 10-40. I currently do everything 'manually' with macros but I was wondering if anyone has found a smarter and automatic way to perform this conversion.
      Best wishes
      Julien

      Comment

      Working...
      X