Announcement

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

  • Operator exp showing missing value

    Hi! I am currently learning how to use STATA for my quantitative methods class.

    There seems to be a problem with exponentiating through Stata on my end. I tried the following command below but it just results into a dot(.)

    di exp(740.8473)
    .



    What seems to be the problem?

  • #2
    That number is enormous.

    Stata will show you numbers up to a documented limit

    Code:
    . di c(maxdouble)
    8.99e+307
    where e+ indicates that a power of 10 follows (as you probably know, it is nothing to do with e = 2.71828...)

    The square root of the number you have is about

    Code:
    . di exp(370.4237)
    7.46e+160
    so the number you have is about 5 * 10^321 according to my mental arithmetic.

    exp() is a function, not an operator.
    Last edited by Nick Cox; 10 Aug 2023, 05:42.

    Comment

    Working...
    X