Announcement

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

  • Polynomial Formula

    Good morning.

    I would like to generate a new variable that computes the polynomial equation for the trendline in the picture. Looked up exp, but having trouble applying it to my formula.

    Thanks

    Click image for larger version

Name:	stata1.PNG
Views:	1
Size:	37.2 KB
ID:	1702679

  • #2
    Okay got it now...

    gen wanted11 = (3*10^-5 * var1^2) - (0.0058 * var1) +(0.0877)


    Comment


    • #3
      Stata supports input like

      Code:
      3e-5

      Comment

      Working...
      X