Announcement

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

  • Applying a forma

    Dear all,

    Hope you are fine.
    I have an issue regarding applying an equation by stata
    Click image for larger version

Name:	image_2021-11-25_013907.png
Views:	1
Size:	12.3 KB
ID:	1637968


    I have all variables (A, eps1, eps2, and P0). I just don't know how to apply the squared root and square of A. I am afraid that I will mis-apply the equation.

    So, please help me. I need it most.

    thank you in advance

    Radwan

  • #2
    You can browse all the built-in functions and operators Stata offers by typing
    Code:
    help functions
    help operator
    There you will find square root as -sqrt()-, and expoentiation requires the caret/hat (^) operator.

    Code:
    mpeg = A + sqrt(A^2 + (eps2-eps1)/P0)

    Comment


    • #3
      Originally posted by Leonardo Guizzetti View Post
      You can browse all the built-in functions and operators Stata offers by typing
      Code:
      help functions
      help operator
      There you will find square root as -sqrt()-, and expoentiation requires the caret/hat (^) operator.

      Code:
      mpeg = A + sqrt(A^2 + (eps2-eps1)/P0)
      Leonardo Guizzetti Thank you so much it is done

      thank you so much

      Comment


      • #4
        Thanks for the thanks.

        Comment

        Working...
        X